Home
WebRTC module

PeerSession::Config

Configuration for WebRTC peer session establishment.

Config

#include <icy/webrtc/peersession.h>
struct Config

Defined in src/webrtc/include/icy/webrtc/peersession.h:72

Configuration for WebRTC peer session establishment.

List of all members

NameKindOwner
rtcConfigvariableDeclared here
mediavariableDeclared here
enableDataChannelvariableDeclared here
dataChannelLabelvariableDeclared here

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

Defined in src/webrtc/include/icy/webrtc/peersession.h:74

libdatachannel connection options, ICE servers, and transport settings.


media

MediaConfig media

Defined in src/webrtc/include/icy/webrtc/peersession.h:75

Desired media codecs and directions for the session.


enableDataChannel

bool enableDataChannel = true

Defined in src/webrtc/include/icy/webrtc/peersession.h:76

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


dataChannelLabel

std::string dataChannelLabel = "data"

Defined in src/webrtc/include/icy/webrtc/peersession.h:77

Label to use for the application data channel.