publishLocalVideo property Null safety

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

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

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

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

Implementation

@JsonKey(includeIfNull: false)
bool? publishLocalVideo;