MeetingLocalVideoFrameEvent receives explicitly subscribed local video frames and is registered through MeetingEngine.localVideoFrameEvent. You can extend MeetingLocalVideoFrameSimpleEvent and override only what you need.
Usage notes
- This event follows the Engine’s local camera capture pipeline and doesn’t require having entered a meeting; assigning
nullstops forwarding frames to your app. - Callbacks stay on the SRTC video capture thread; don’t perform disk, network, or other time-consuming operations.
yuvis data copied for the external caller, so you can keep it as long as you keep memory usage under control.
Methods
onLocalVideoFrame(yuv, width, height, stamp, format, facing)
Returns: None (
Unit).
onLocalVideoFrameSizeChanged(width, height, facing)
Returns: None (
Unit).