remoteVideoStateChanged property

RemoteVideoStateCallback? remoteVideoStateChanged
getter/setter pair

Occurs when the remote video state changes. This callback does not work properly when the number of users (in the voice/video call channel) or hosts (in the live streaming channel) in the channel exceeds 17.

Param uid The ID of the remote user whose video state changes.

Param state The state of the remote video, see VideoRemoteState .

Param reason The reason for the remote video state change, see VideoRemoteStateReason .

Param elapsed Time elapsed (ms) from the local user calling the joinChannel method until the SDK triggers this callback.

Implementation

RemoteVideoStateCallback? remoteVideoStateChanged;