OpenTera WebRTC API (C++) 1.2.5
Public Member Functions | Static Public Member Functions | List of all members
opentera::VideoSourceConfiguration Class Reference

Represents a configuration of a video source that can be added to a WebRTC call. More...

#include <VideoSourceConfiguration.h>

Public Member Functions

 VideoSourceConfiguration (const VideoSourceConfiguration &other)=default
 
 VideoSourceConfiguration (VideoSourceConfiguration &&other)=default
 
bool needsDenoising () const
 Indicates if this source needs denoising. More...
 
bool isScreencast () const
 Indicates if this source is screencast. More...
 
VideoSourceConfigurationoperator= (const VideoSourceConfiguration &other)=default
 
VideoSourceConfigurationoperator= (VideoSourceConfiguration &&other)=default
 

Static Public Member Functions

static VideoSourceConfiguration create (bool needsDenoising, bool isScreencast)
 Creates a video source configuration with the specified values. More...
 

Detailed Description

Represents a configuration of a video source that can be added to a WebRTC call.

Member Function Documentation

◆ create()

VideoSourceConfiguration opentera::VideoSourceConfiguration::create ( bool  needsDenoising,
bool  isScreencast 
)
inlinestatic

Creates a video source configuration with the specified values.

Parameters
needsDenoisingIndicates if this source needs denoising
isScreencastIndicates if this source is screencast
Returns
A video source configuration with the specified values

◆ isScreencast()

bool opentera::VideoSourceConfiguration::isScreencast ( ) const
inline

Indicates if this source is screencast.

Returns
true if this source is a screencast

◆ needsDenoising()

bool opentera::VideoSourceConfiguration::needsDenoising ( ) const
inline

Indicates if this source needs denoising.

Returns
true if this source needs denoising

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