Skip to main content
MeetingLocalAudioFrameEvent receives explicitly subscribed local PCM frames and is registered through MeetingEngine.localAudioFrameEvent. You can extend MeetingLocalAudioFrameSimpleEvent and override only what you need.

Usage notes

  • This event follows the Engine’s local mic capture pipeline and doesn’t require having entered a meeting; assigning null stops forwarding frames to your app.
  • Callbacks stay on the SRTC audio capture thread; don’t perform time-consuming operations. Callbacks keep coming only while the ADM is recording.

Methods

onLocalAudioFrame(pcm, sampleRate, channelCount, audioFormat)

Description: Delivers one frame of local PCM audio data and its sampling parameters. Parameters: Returns: None (Unit).