remoteAudioStateChanged property
Occurs when the remote audio state changes.
This callback indicates the state change of the remote audio stream.
This callback does not work properly when the number of users (in the Communication
profile) or hosts (in the LiveBroadcasting
profile) in the channel exceeds 17.
The RemoteAudioStateCallback
typedef includes the following parameters:
- int
uid
: ID of the user whose audio state changes. - AudioRemoteState
state
: State of the remote audio. - AudioRemoteStateReason
reason
: The reason of the remote audio state change. - int
elapsed
: Time elapsed (ms) from the local user calling RtcEngine.joinChannel until the SDK triggers this callback.
Implementation
RemoteAudioStateCallback? remoteAudioStateChanged;