Enumeration RtmpStreamPublishReason

Reasons for changes in the status of RTMP or RTMPS streaming.

Enumeration Members

RtmpStreamPublishReasonConnectionTimeout: 3

3: Timeout for the RTMP or RTMPS streaming.

RtmpStreamPublishReasonEncryptedStreamNotAllowed: 2

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

RtmpStreamPublishReasonFormatNotSupported: 10

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

RtmpStreamPublishReasonInternalServerError: 4

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

RtmpStreamPublishReasonInvalidArgument: 1

1: Invalid argument used. Check the parameter setting.

RtmpStreamPublishReasonInvalidPrivilege: 16

16: Your project does not have permission to use streaming services.

RtmpStreamPublishReasonNetDown: 14

14: Errors occurred in the host's network.

RtmpStreamPublishReasonNotAuthorized: 8

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

RtmpStreamPublishReasonNotBroadcaster: 11

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

RtmpStreamPublishReasonOk: 0

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

RtmpStreamPublishReasonReachLimit: 7

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

RtmpStreamPublishReasonRtmpServerError: 5

5: An error occurs in the CDN server.

RtmpStreamPublishReasonStreamNotFound: 9

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

RtmpStreamPublishReasonTooOften: 6

6: The RTMP or RTMPS streaming publishes too frequently.

RtmpStreamPublishReasonTranscodingNoMixStream: 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.

Generated using TypeDoc