onFirstRemoteAudioFrame property

void Function(RtcConnection connection, int uid, int elapsed)? onFirstRemoteAudioFrame
final

Callback when the first remote audio frame is received.

Deprecated Deprecated: Please use onRemoteAudioStateChanged instead.

  • connection Connection information. See RtcConnection.
  • userId User ID of the remote user sending the audio frame.
  • elapsed The delay (in milliseconds) from the local user calling joinChannel to the triggering of this callback.

Implementation

final void Function(RtcConnection connection, int userId, int elapsed)?
    onFirstRemoteAudioFrame;