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
acquire
method to get the recording resource, you set theuid
parameter that matches that of a user ID already in the channel. For example, suppose three users are in the channel with user IDs as123
,234
, and345
. If you setuid
as123
when calling theacquire
method, the recording fails. -
The settings of
transcodingConfig
in thestart
method do not follow the recommended settings, which causes the recording to fail. See How do I set the video profile of the recorded video? 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 have enabled Agora Message Notification Service, you will receive the
cloud_recording_error
callback when the service detects that your cloud storage settings are incorrect.