RtmpStreamPublishReason
The reason for RTMP stream 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 and failed.
- RtmpStreamPublishReasonInternalServerError
- 4: Error occurred on the streaming server.
- RtmpStreamPublishReasonRtmpServerError
- 5: Error occurred on the CDN server.
- RtmpStreamPublishReasonTooOften
- 6: Stream publishing requests are too frequent.
- RtmpStreamPublishReasonReachLimit
- 7: The number of stream URLs for a single broadcaster has reached the limit of 10. Please delete some unused stream URLs before adding new ones.
- RtmpStreamPublishReasonNotAuthorized
- 8: The broadcaster is operating on a stream that does not belong to them. For example, updating another broadcaster's stream parameters or stopping another broadcaster'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 check whether the stream URL format is correct.
- RtmpStreamPublishReasonNotBroadcaster
- 11: The user is not a broadcaster and cannot use the stream publishing feature. Please check your app logic.
- RtmpStreamPublishReasonTranscodingNoMixStream
- 13: The updateRtmpTranscoding method was called to update transcoding properties without enabling transcoding. Please check your app logic.
- RtmpStreamPublishReasonNetDown
- 14: The broadcaster's network encountered an error.
- RtmpStreamPublishReasonInvalidPrivilege
- 16: Your project does not have permission to use the stream publishing service.
- RtmpStreamUnpublishErrorOk
- 100: Stream publishing ended normally. After you stop publishing, the SDK returns this value.