RtpCodecParameters.fromMap constructor
RtpCodecParameters.fromMap(
- Map data
Implementation
RtpCodecParameters.fromMap(Map data)
: mimeType = data['mimeType'],
payloadType = data['payloadType'],
clockRate = data['clockRate'],
channels = data['channels'],
parameters = Map<dynamic, dynamic>.from(data['parameters']),
rtcpFeedback = data['rtcpFeedback'] != null
? data['rtcpFeedback']
.map<RtcpFeedback>((e) => RtcpFeedback.fromMap(e))
.toList()
: [];