rtc_video_source

🚀

SDK Beta

This interface is a part of the Beta program.

Module: Media Injector API

The adapter which is used for providing video frames into WebRTC. This interface is a video sink from the perspective of the Injector. It is a video source from the perspective of WebRTC Video Tracks, thus it provides this connection in establishing the video injection pipeline.

This interface is NOT implemented by the injector, it is used to be the injector to provide video frames.

#include <media_engine.h>

Public Functions

Name
virtual voidhandle_frame(std::unique_ptr< video_frame > frame) =0
The callback that is invoked when a video frame is decoded and ready to be passed to WebRTC.
class dolbyio::comms::rtc_video_source;

Public Functions Documentation

function handle_frame

virtual void handle_frame(
    std::unique_ptr< video_frame > frame
) =0

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

Parameters:

  • frame The pointer to the video frame.


Did this page help you?