StreamSubscribeState
Subscribe state.
Enumerations
- SubStateIdle
- 0: Initial subscribe state after joining the channel.
- SubStateNoSubscribed
- 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 local audio or video modules.
- 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:
- SubStateSubscribing
- 2: Subscribing.
- SubStateSubscribed
- 3: Remote stream received, subscription successful.