MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PrivateVideoRenderer Class Reference

The PrivateVideoRenderer class is responsible for handling and rendering video data in a private manner. More...

#include <Private+Renderer.h>

Inheritance diagram for PrivateVideoRenderer:
Inheritance graph
[legend]
Collaboration diagram for PrivateVideoRenderer:
Collaboration graph
[legend]

Public Member Functions

 PrivateVideoRenderer (id< MCVideoRenderer > callback)
 
void init () override
 init the renderer
 
void on_frame (const millicast::VideoFrame &video_frame) override
 on_frame is called when a new video frame is available ( either captured or received from a peer )
 
 ~PrivateVideoRenderer () override=default
 
- Public Member Functions inherited from millicast::VideoRenderer
 VideoRenderer ()=default
 
 ~VideoRenderer () override=default
 
virtual void on_frame (const VideoFrame &frame)=0
 on_frame is called when a new video frame is available ( either captured or received from a peer )
 
- Public Member Functions inherited from millicast::Renderer
 Renderer ()=default
 
virtual ~Renderer ()=default
 
virtual void init ()=0
 init the renderer
 

Detailed Description

The PrivateVideoRenderer class is responsible for handling and rendering video data in a private manner.

Constructor & Destructor Documentation

◆ PrivateVideoRenderer()

PrivateVideoRenderer::PrivateVideoRenderer ( id< MCVideoRenderer callback)
explicit

◆ ~PrivateVideoRenderer()

PrivateVideoRenderer::~PrivateVideoRenderer ( )
overridedefault

Member Function Documentation

◆ init()

void PrivateVideoRenderer::init ( )
overridevirtual

init the renderer

Implements millicast::Renderer.

◆ on_frame()

void PrivateVideoRenderer::on_frame ( const millicast::VideoFrame frame)
overridevirtual

on_frame is called when a new video frame is available ( either captured or received from a peer )

Parameters
frameThe video frame

Implements millicast::VideoRenderer.


The documentation for this class was generated from the following file: