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
nullstops 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)
Returns: None (
Unit).