onUserEnableLocalVideo property
Occurs when a specific remote user enables/disables the local video capturing function.
Deprecated: This callback is deprecated, use the following enumerations in the onRemoteVideoStateChanged callback: remoteVideoStateStopped (0) and remoteVideoStateReasonRemoteMuted (5). remoteVideoStateDecoding (2) and remoteVideoStateReasonRemoteUnmuted (6). The SDK triggers this callback when the remote user resumes or stops capturing the video stream by calling the enableLocalVideo method.
connection
The connection information. See RtcConnection.remoteUid
The user ID of the remote user.enabled
Whether the specified remote user enables/disables local video capturing: true : The video module is enabled. Other users in the channel can see the video of this remote user. false : The video module is disabled. Other users in the channel can no longer receive the video stream from this remote user, while this remote user can still receive the video streams from other users.
Implementation
final void Function(RtcConnection connection, int remoteUid, bool enabled)?
onUserEnableLocalVideo;