RtmpStreamPublishReason

Reason for 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: Stream publishing timed out.
RtmpStreamPublishReasonInternalServerError
4: An error occurred on the streaming server.
RtmpStreamPublishReasonRtmpServerError
5: An error occurred on the CDN server.
RtmpStreamPublishReasonTooOften
6: Stream publishing requests are too frequent.
RtmpStreamPublishReasonReachLimit
7: The number of stream URLs for a single host has reached the limit of 10. Please delete some unused stream URLs before adding new ones.
RtmpStreamPublishReasonNotAuthorized
8: The host is operating on a stream that does not belong to them, such as updating or stopping another host's stream. Please check your app logic.
RtmpStreamPublishReasonStreamNotFound
9: The server did not find the stream.
RtmpStreamPublishReasonFormatNotSupported
10: The stream URL format is incorrect. Please verify the format of the stream URL.
RtmpStreamPublishReasonNotBroadcaster
11: The user is not a broadcaster and cannot use the streaming feature. Please check your application logic.
RtmpStreamPublishReasonTranscodingNoMixStream
13: Called updateRtmpTranscoding to update transcoding properties without enabling transcoding. Please check your application logic.
RtmpStreamPublishReasonNetDown
14: The host's network encountered an error.
RtmpStreamPublishReasonInvalidPrivilege
16: Your project does not have permission to use the streaming service.
RtmpStreamUnpublishErrorOk
100: The stream has ended normally. After you stop the stream, the SDK returns this value.