onFirstLocalAudioFrame method
@detail callback @author zhangyuanyuan.0101 @brief Receive the callback when publishing local audio stream. @param audioSource Reserved parameter
Implementation
FutureOr<void> onFirstLocalAudioFrame(dynamic audioSource) async {
if ($instance == null || $instance is! IRTCEngineEventHandler) {
return;
}
return ($instance as IRTCEngineEventHandler)
.onFirstLocalAudioFrame
?.call(audioSource);
}