publishLocalAudio property Null safety

bool? publishLocalAudio
@JsonKey(includeIfNull: false), read / write

Determines whether to publish the local audio stream when the user joins a channel

  • true: (Default) Publish.
  • false: Do not publish.

This member serves a similar function to the RtcEngine.muteLocalAudioStream method. After the user joins the channel, you can call the RtcEngine.muteLocalAudioStream method to set whether to publish the local audio stream in the channel.

Implementation

@JsonKey(includeIfNull: false)
bool? publishLocalAudio;