remoteAudioStateChanged property
RemoteAudioStateCallback?
remoteAudioStateChanged
getter/setter pair
Occurs when the remote audio state changes.
This callback indicates the state change of the remote audio stream.
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;