Why are there no recorded files in the cloud storage?
If you cannot find any recorded files in the cloud storage after a cloud recording session, check if any of the following situations occurred:
- No user is sending a stream in the channel, and the recording times out.
- The token has expired, or token authentication has failed.
- When calling the
acquiremethod to get the recording resource, you set theuidparameter that matches the ID of a user already in the channel. For example, suppose there are three users in the channel with user IDs123,234, and345. If you setuidto123when calling theacquiremethod, the recording fails. - The
transcodingConfigsettings in thestartmethod do not follow the recommended settings, which causes the recording to fail. See Media streaming output modes and Set the video profile before settingtranscodingConfig. - Your cloud storage settings are incorrect. Check the following:
bucket: The name of your cloud storage bucket, which was created in your cloud storage account.accessKey: The access key of your cloud storage account.secretKey: The secret key of your cloud storage account.
If you enable the Agora Message Notification Service, you receive the cloud_recording_error callback when the service detects that your cloud storage settings are incorrect.