Enumeration StreamSubscribeState

The subscribing state.

Enumeration Members

SubStateIdle: 0

0: The initial publishing state after joining the channel.

SubStateNoSubscribed: 1

1: Fails to subscribe to the remote stream. Possible reasons: The remote user: Calls muteLocalAudioStream (true) or muteLocalVideoStream (true) to stop sending local media stream. Calls disableAudio or disableVideo to disable the local audio or video module. Calls enableLocalAudio (false) or enableLocalVideo (false) to disable local audio or video capture. The role of the remote user is audience. The local user calls the following methods to stop receiving remote streams: Call muteRemoteAudioStream (true) or muteAllRemoteAudioStreams (true) to stop receiving the remote audio stream. Call muteRemoteVideoStream (true) or muteAllRemoteVideoStreams (true) to stop receiving the remote video stream.

SubStateSubscribed: 3

3: The remote stream is received, and the subscription is successful.

SubStateSubscribing: 2

2: Subscribing.

Generated using TypeDoc