video_sink_yuv

Module: Media Recorder API

The interface for receiving the raw video frames.

#include <media_engine.h>

Public Functions

Name
virtual voidhandle_frame(const std::string & stream_id, const std::string & track_id, std::unique_ptr< video_frame > frame) =0
The callback that is invoked when a video frame is decoded and ready to be processed.
class dolbyio::comms::video_sink_yuv;

Public Functions Documentation

function handle_frame

virtual void handle_frame(
    const std::string & stream_id,
    const std::string & track_id,
    std::unique_ptr< video_frame > frame
) =0

The callback that is invoked when a video frame is decoded and ready to be processed.

Parameters:

  • stream_id The ID of the media stream to which the video track belongs.
  • track_id The ID of the video track to which the frame belongs.
  • frame The pointer to the video frame.


Did this page help you?