firstRemoteAudioDecoded property

  1. @Deprecated('Please use remoteAudioStateChanged instead.')
UidWithElapsedCallback? firstRemoteAudioDecoded
getter/setter pair

Occurs when the SDK decodes the first remote audio frame for playback. Deprecated: Please use remoteAudioStateChanged instead. The SDK triggers this callback under one of the following circumstances: The remote user joins the channel and sends the audio stream for the first time. The remote user's audio is offline and then goes online to re-send audio. It means the local user cannot receive audio in 15 seconds. Reasons for such an interruption include: The remote user leaves channel. The remote user drops offline. The remote user calls muteLocalAudioStream to stop sending the audio stream. The remote user calls disableAudio to disable audio.

Param uid The ID of the remote user.

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

Implementation

@Deprecated('Please use remoteAudioStateChanged instead.')
UidWithElapsedCallback? firstRemoteAudioDecoded;