0: The initial publishing state after joining the channel.
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.
3: The remote stream is received, and the subscription is successful.
2: Subscribing.
Generated using TypeDoc
The subscribing state.