RtpCodecCapability.fromMap constructor
RtpCodecCapability.fromMap(
- Map<String, dynamic> data
)
Implementation
RtpCodecCapability.fromMap(Map<String, dynamic> data)
: kind = RTCRtpMediaTypeExtension.fromString(data['kind']),
mimeType = data['mimeType'],
preferredPayloadType = data['preferredPayloadType'],
clockRate = data['clockRate'],
channels = data['channels'],
parameters = data['parameters'],
rtcpFeedback = data['rtcpFeedback']
.map<RtcpFeedback>((rtcpFb) => RtcpFeedback.fromMap(rtcpFb))
.toList();