3: Timeout for the RTMP or RTMPS streaming.
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.
1: Invalid argument used. Check the parameter setting.
16: Your project does not have permission to use streaming services. Refer to Media Push to enable the Media Push permission.
14: Errors occurred in the host's network.
8: The host manipulates other hosts' URLs. For example, the host updates or stops other hosts' streams. 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 has not started or has ended.
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 method is called to update the transcoding configuration in a scenario where there is streaming without transcoding. Check your application code logic.
100: The streaming has been stopped normally. After you stop the Media Push, the SDK returns this value.
Generated using TypeDoc
Error codes of the RTMP or RTMPS streaming.