3: Timeout for the RTMP or RTMPS streaming. Call the addPublishStreamUrl
method to publish the streaming again.
2: The RTMP or RTMPS streaming is encrypted and cannot be published.
10: The format of the RTMP or RTMPS streaming URL is not supported. Check whether the URL format is correct.
4: An error occurs in Agora’s streaming server. Call the addPublishStreamUrl
method to publish the streaming again.
15: Your App ID does not have permission to use the CDN live streaming function. Refer to Prerequisites in Media Push to enable the CDN live streaming permission.
1: Invalid argument used. If, for example, you do not call the setLiveTranscoding
method to configure
the LiveTranscoding
parameters before calling the addPublishStreamUrl
method, the SDK returns this error.
Check whether you set the parameters in the setLiveTranscoding
method properly.
14: Errors occurred in the host's network.
8: The host manipulates other hosts' URLs. Check your app logic.
11: The user role is not host, so the user cannot use the CDN live streaming function. Check your application code logic.
0: The RTMP or RTMPS streaming publishes successfully.
7: The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones.
5: An error occurs in the CDN server.
9: Agora’s server fails to find the RTMP or RTMPS streaming.
6: The RTMP or RTMPS streaming publishes too frequently.
13: The updateRtmpTranscoding
or setLiveTranscoding
method is called to update the transcoding
configuration in a scenario where there is streaming without transcoding.
Check your application code logic.
The streaming has been stopped normally. After you call removePublishStreamUrl
to stop streaming, the SDK returns this value.
Generated using TypeDoc
The detailed error information for streaming.