firstRemoteAudioDecoded property Null safety

UidWithElapsedCallback? firstRemoteAudioDecoded
read / write

已解码远端音频首帧回调。

Deprecated

该回调已废弃,请改用 remoteAudioStateChanged 中的 VideoRemoteState.Decoding

SDK 完成远端音频首帧解码,并发送给音频模块用以播放时,会触发此回调。有两种情况:

  • 远端用户首次上线后发送音频。
  • 远端用户音频离线再上线发送音频。音频离线指本地在 15 秒内没有收到音频包,可能有如下原因:

UidWithElapsedCallback 包含如下参数:

Implementation

@deprecated
UidWithElapsedCallback? firstRemoteAudioDecoded;