onFirstRemoteAudioFrame property

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

Occurs when the SDK receives the first audio frame from a specific remote user.

Deprecated: Use onRemoteAudioStateChanged instead.

  • connection The connection information. See RtcConnection.
  • userId The user ID of the remote user.
  • elapsed The time elapsed (ms) from the local user calling joinChannel until the SDK triggers this callback.

Implementation

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