onFirstRemoteAudioFrame property

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

Occurs when the first audio frame sent by a specified remote user is received. Deprecated:Use onRemoteAudioStateChanged instead.

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

Implementation

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