Skip to main content
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 null stops forwarding frames to your app.
  • Callbacks stay on the SRTC video capture thread; don’t perform disk, network, or other time-consuming operations. yuv is 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)

Description: Delivers one frame of local YUV video data. Parameters: Returns: None (Unit).

onLocalVideoFrameSizeChanged(width, height, facing)

Description: The local video capture size or camera facing changed. Parameters: Returns: None (Unit).