onPublisherCapturedAudioFirstFrame property

(void Function()?) onPublisherCapturedAudioFirstFrame
read / write

The callback triggered when the first audio frame is captured.

Available since: 1.1.0 Description: This callback will be received when the SDK starts the microphone to capture the first frame of audio data. If this callback is not received, the audio capture device is occupied or abnormal. Trigger: When the engine of the audio/video module inside the SDK starts, the SDK will go and collect the audio data from the local device and will receive the callback at that time. Related callbacks: Determine if the SDK actually collected video data by the callback function onPublisherCapturedVideoFirstFrame, determine if the SDK has rendered the first frame of video data collected by calling back onPublisherRenderVideoFirstFrame.

Implementation

static void Function()? onPublisherCapturedAudioFirstFrame;