onWTNFirstRemoteAudioFrame method

FutureOr<void> onWTNFirstRemoteAudioFrame(
  1. NSString streamId
)

@detail callback @valid since 3.60. Since version 3.60, this callback replaces rtcEngine:onFirstPublicStreamAudioFrame:. If you have upgraded to version 3.60 or later and are still using this method, please migrate to this callback. @author hanchenchen @brief Callback of successfully decoding of the first audio frame of the WTN stream
Refer to subscribeWTNAudioStream:subscribe:{@link #ByteRTCWTNStream#subscribeWTNAudioStream:subscribe} for details about subscribing to a WTN audio stream. @param streamId ID of the WTN stream @order 3

Implementation

FutureOr<void> onWTNFirstRemoteAudioFrame(NSString streamId) async {}