autoSubscribeAudio property

  1. @JsonKey(includeIfNull: false)
bool? autoSubscribeAudio
getter/setter pair

Determines whether to subscribe to audio streams when the user joins the channel.

  • true: (Default) Subscribe.
  • false: Do not subscribe.

This member serves a similar function to the RtcEngine.muteAllRemoteAudioStreams method. After joining the channel, you can call muteAllRemoteAudioStreams to set whether to subscribe to audio streams in the channel.

Implementation

@JsonKey(includeIfNull: false)
 bool? autoSubscribeAudio;