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

Represents a WebRTC peer connection configuration. More...

#include <WebrtcConfiguration.h>

Public Member Functions

 WebrtcConfiguration (const WebrtcConfiguration &other)=default
 
 WebrtcConfiguration (WebrtcConfiguration &&other)=default
 
const std::vector< IceServer > & iceServers () const
 
 operator webrtc::PeerConnectionInterface::RTCConfiguration () const
 
WebrtcConfigurationoperator= (const WebrtcConfiguration &other)=default
 
WebrtcConfigurationoperator= (WebrtcConfiguration &&other)=default
 

Static Public Member Functions

static WebrtcConfiguration create ()
 Creates a WebRTC peer connection configuration with default values. More...
 
static WebrtcConfiguration create (std::vector< IceServer > iceServers)
 Creates a WebRTC peer connection configuration with the specified value. More...
 

Detailed Description

Represents a WebRTC peer connection configuration.

Member Function Documentation

◆ create() [1/2]

WebrtcConfiguration opentera::WebrtcConfiguration::create ( )
inlinestatic

Creates a WebRTC peer connection configuration with default values.

Returns
A WebRTC peer connection configuration with default values

◆ create() [2/2]

WebrtcConfiguration opentera::WebrtcConfiguration::create ( std::vector< IceServer iceServers)
inlinestatic

Creates a WebRTC peer connection configuration with the specified value.

Parameters
iceServersThe ice servers
Returns
A WebRTC peer connection configuration with the specified value

◆ iceServers()

const std::vector< IceServer > & opentera::WebrtcConfiguration::iceServers ( ) const
inline

Returns the ice servers.

Returns
The ice servers

◆ operator webrtc::PeerConnectionInterface::RTCConfiguration()

WebrtcConfiguration::operator webrtc::PeerConnectionInterface::RTCConfiguration ( ) const
explicit

Converts a AudioSourceConfiguration to a webrtc::PeerConnectionInterface::RTCConfiguration.

Returns
The converted webrtc::PeerConnectionInterface::RTCConfiguration

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