RtmpStreamPublishReason

The reason for RTMP stream publishing state change.

Enumerations

rtmpStreamPublishReasonOk
0: Stream published successfully.
rtmpStreamPublishReasonInvalidArgument
1: Invalid parameter. Please check whether the input parameters are correct.
rtmpStreamPublishReasonEncryptedStreamNotAllowed
2: The stream is encrypted and cannot be published.
rtmpStreamPublishReasonConnectionTimeout
3: Publishing timed out and failed.
rtmpStreamPublishReasonInternalServerError
4: An error occurred on the streaming server.
rtmpStreamPublishReasonRtmpServerError
5: An error occurred on the CDN server.
rtmpStreamPublishReasonTooOften
6: Streaming requests are too frequent.
rtmpStreamPublishReasonReachLimit
7: The number of streaming URLs for a single broadcaster has reached the limit of 10. Please remove some unused URLs before adding new ones.
rtmpStreamPublishReasonNotAuthorized
8: The broadcaster is operating on a stream that does not belong to them. For example, updating or stopping another broadcaster's stream. Please check your app logic.
rtmpStreamPublishReasonStreamNotFound
9: The server could not find the stream.
rtmpStreamPublishReasonFormatNotSupported
10: The streaming URL format is incorrect. Please check whether the format is valid.
rtmpStreamPublishReasonNotBroadcaster
11: The user role is not broadcaster, and the user cannot use the streaming feature. Please check your application logic.
rtmpStreamPublishReasonTranscodingNoMixStream
13: The updateRtmpTranscoding method was called to update transcoding properties when not using transcoding streaming. Please check your application logic.
rtmpStreamPublishReasonNetDown
14: The broadcaster's network encountered an error.
rtmpStreamPublishReasonInvalidPrivilege
16: Your project does not have permission to use the streaming service.
rtmpStreamUnpublishReasonOk
100: Streaming has ended normally. After you stop streaming, the SDK returns this value.