MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
millicast::VideoRenderer Class Referenceabstract

The VideoRenderer class Inherits this class to receive video frames and render them in your application. More...

#include <renderer.h>

Inheritance diagram for millicast::VideoRenderer:
Inheritance graph
[legend]
Collaboration diagram for millicast::VideoRenderer:
Collaboration graph
[legend]

Public Member Functions

 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 VideoRenderer class Inherits this class to receive video frames and render them in your application.

Constructor & Destructor Documentation

◆ VideoRenderer()

millicast::VideoRenderer::VideoRenderer ( )
default

◆ ~VideoRenderer()

millicast::VideoRenderer::~VideoRenderer ( )
overridedefault

Member Function Documentation

◆ on_frame()

virtual void millicast::VideoRenderer::on_frame ( const VideoFrame frame)
pure virtual

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

Parameters
frameThe video frame

Implemented in PrivateVideoRenderer.


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