STREAM_SUBSCRIBE_STATE
Subscribe state.
Enumerations
- SUB_STATE_IDLE
- 0: Initial subscribe state after joining the channel.
- SUB_STATE_NO_SUBSCRIBED
- 1: Subscription failed. Possible reasons:
- Remote user:
- Called MuteLocalAudioStream(true) or MuteLocalVideoStream(true) to stop sending local media streams.
- Called DisableAudio or DisableVideo to disable the local audio or video module.
- Called EnableLocalAudio(false) or EnableLocalVideo(false) to disable local audio or video capture.
- User role is audience.
- Local user called the following methods to stop receiving remote media streams:
- Called MuteRemoteAudioStream(true), MuteAllRemoteAudioStreams(true) to stop receiving remote audio streams.
- Called MuteRemoteVideoStream(true), MuteAllRemoteVideoStreams(true) to stop receiving remote video streams.
- Remote user:
- SUB_STATE_SUBSCRIBING
- 2: Subscribing.
- SUB_STATE_SUBSCRIBED
- 3: Remote stream received, subscription succeeded.