#include <icy/webrtc/peersession.h>Configuration for WebRTC peer session establishment.
| Return | Name | Description |
|---|---|---|
rtc::Configuration | rtcConfig | libdatachannel connection options, ICE servers, and transport settings. |
MediaConfig | media | Desired media codecs and directions for the session. |
bool | enableDataChannel | True to create a data channel on outgoing calls and accept one on incoming calls. |
std::string | dataChannelLabel | Label to use for the application data channel. |
rtc::Configuration rtcConfiglibdatachannel connection options, ICE servers, and transport settings.
MediaConfig mediaDesired media codecs and directions for the session.
bool enableDataChannel = trueTrue to create a data channel on outgoing calls and accept one on incoming calls.
std::string dataChannelLabel = "data"Label to use for the application data channel.