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.
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.
8: The host manipulates other hosts' URLs. Check your app 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.
The detailed error information for streaming.