#include <icy/webrtc/mediabridge.h>Configuration options for the WebRTC media bridge.
| Return | Name | Description |
|---|---|---|
av::VideoCodec | videoCodec | Video codec for the send track. Leave both name and encoder empty to skip creating a video track. |
av::AudioCodec | audioCodec | Audio codec for the send track. Leave both name and encoder empty to skip creating an audio track. |
uint32_t | videoSsrc | 0 = auto-generate |
uint32_t | audioSsrc | 0 = auto-generate |
int | videoPayloadType | Reuse negotiated offer payload type when answering, -1 = default. |
int | audioPayloadType | Reuse negotiated offer payload type when answering, -1 = default. |
std::string | cname | CNAME for RTCP (auto if empty) |
std::string | videoMid | Explicit MID for the negotiated video m-line when answering an offer. |
std::string | audioMid | Explicit MID for the negotiated audio m-line when answering an offer. |
rtc::Description::Direction | videoDirection | |
rtc::Description::Direction | audioDirection | |
unsigned | nackBufferSize | Max RTP packets retained for video NACK retransmission. |
av::VideoCodec videoCodecVideo codec for the send track. Leave both name and encoder empty to skip creating a video track.
av::AudioCodec audioCodecAudio codec for the send track. Leave both name and encoder empty to skip creating an audio track.
uint32_t videoSsrc = 00 = auto-generate
uint32_t audioSsrc = 00 = auto-generate
int videoPayloadType = -1Reuse negotiated offer payload type when answering, -1 = default.
int audioPayloadType = -1Reuse negotiated offer payload type when answering, -1 = default.
std::string cnameCNAME for RTCP (auto if empty)
std::string videoMidExplicit MID for the negotiated video m-line when answering an offer.
std::string audioMidExplicit MID for the negotiated audio m-line when answering an offer.
rtc::Description::Direction videoDirection = rtc::Description::Direction::SendRecvrtc::Description::Direction audioDirection = rtc::Description::Direction::SendRecvunsigned nackBufferSize = 512Max RTP packets retained for video NACK retransmission.