PeerConnectOption constructor
PeerConnectOption({})
Implementation
PeerConnectOption(
{this.label,
this.metadata,
this.serialization,
this.reliable,
this.connectionId,
this.payload,
this.sdpTransform,
Map<String, String>? sdp,
Map<String, dynamic>? constraints,
this.type,
this.msg,
this.candidate})
: sdp = sdp ?? {},
constraints = constraints ??
{
"mandatory": {"OfferToReceiveAudio": true, "OfferToReceiveVideo": true},
"optional": [
{"DtlsSrtpKeyAgreement": true},
{"googImprovedWifiBwe": true}
]
};