video_source
SDK Beta
This interface is a part of the Beta program.
Module: Media Injector API
The interface for providing video frames.
This interface must be implemented by the injector, it shall serve as the source of video frames passed to the rtc_video_source.
#include <media_engine.h>
Inherited by dolbyio::comms::plugin::injector
Public Functions
Name | |
---|---|
virtual void | register_video_frame_rtc_source(rtc_video_source * source) =0 Connects the rtc_video_source to the video source, in essence creating the video injection pipeline. This method will be called by the media_engine when a Video Track is attached to the active Peer Connection. |
virtual void | deregister_video_frame_rtc_source() =0 Disconnects the RTC Video Source from the Video Source, in essence destructing the video pipeline. This method is called by the media_engine whenever a Video Track is to be detached from the active Peer Connection. |
class dolbyio::comms::video_source;
Public Functions Documentation
function register_video_frame_rtc_source
virtual void register_video_frame_rtc_source(
rtc_video_source * source
) =0
Connects the rtc_video_source to the video source, in essence creating the video injection pipeline. This method will be called by the media_engine when a Video Track is attached to the active Peer Connection.
Parameters:
- source The RTC Video Source which will receive the injected video frames.
function deregister_video_frame_rtc_source
virtual void deregister_video_frame_rtc_source() =0
Disconnects the RTC Video Source from the Video Source, in essence destructing the video pipeline. This method is called by the media_engine whenever a Video Track is to be detached from the active Peer Connection.
Updated 3 months ago