WebRTC module

PeerSession::Config

[Configuration]({#ref classicy_1_1Configuration #}) for WebRTC peer session establishment.

Config

#include <icy/webrtc/peersession.h>

Configuration for WebRTC peer session establishment.

Public Attributes

ReturnNameDescription
rtc::ConfigurationrtcConfiglibdatachannel connection options, ICE servers, and transport settings.
MediaConfigmediaDesired media codecs and directions for the session.
boolenableDataChannelTrue to create a data channel on outgoing calls and accept one on incoming calls.
std::stringdataChannelLabelLabel to use for the application data channel.

rtcConfig

rtc::Configuration rtcConfig

libdatachannel connection options, ICE servers, and transport settings.


media

MediaConfig media

Desired media codecs and directions for the session.


enableDataChannel

bool enableDataChannel = true

True to create a data channel on outgoing calls and accept one on incoming calls.


dataChannelLabel

std::string dataChannelLabel = "data"

Label to use for the application data channel.