Enumeration RtmpStreamPublishErrorType

Error codes of the RTMP or RTMPS streaming.

Enumeration Members

RtmpStreamPublishErrorConnectionTimeout: 3

3: Timeout for the RTMP or RTMPS streaming.

RtmpStreamPublishErrorEncryptedStreamNotAllowed: 2

2: The RTMP or RTMPS streaming is encrypted and cannot be published.

RtmpStreamPublishErrorFormatNotSupported: 10

10: The format of the RTMP or RTMPS streaming URL is not supported. Check whether the URL format is correct.

RtmpStreamPublishErrorInternalServerError: 4

4: An error occurs in Agora's streaming server.

RtmpStreamPublishErrorInvalidArgument: 1

1: Invalid argument used. Check the parameter setting.

RtmpStreamPublishErrorInvalidPrivilege: 16

16: Your project does not have permission to use streaming services. Refer to Media Push to enable the Media Push permission.

RtmpStreamPublishErrorNetDown: 14

14: Errors occurred in the host's network.

RtmpStreamPublishErrorNotAuthorized: 8

8: The host manipulates other hosts' URLs. For example, the host updates or stops other hosts' streams. Check your app logic.

RtmpStreamPublishErrorNotBroadcaster: 11

11: The user role is not host, so the user cannot use the CDN live streaming function. Check your application code logic.

RtmpStreamPublishErrorOk: 0

0: The RTMP or RTMPS streaming has not started or has ended.

RtmpStreamPublishErrorReachLimit: 7

7: The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones.

RtmpStreamPublishErrorRtmpServerError: 5

5: An error occurs in the CDN server.

RtmpStreamPublishErrorStreamNotFound: 9

9: Agora's server fails to find the RTMP or RTMPS streaming.

RtmpStreamPublishErrorTooOften: 6

6: The RTMP or RTMPS streaming publishes too frequently.

RtmpStreamPublishErrorTranscodingNoMixStream: 13

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.

RtmpStreamUnpublishErrorOk: 100

100: The streaming has been stopped normally. After you stop the Media Push, the SDK returns this value.

Generated using TypeDoc