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 is an audience member.
- 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.