RTCRtpCodecCapability.fromMap constructor

RTCRtpCodecCapability.fromMap(
  1. Map map
)

Implementation

factory RTCRtpCodecCapability.fromMap(Map<dynamic, dynamic> map) {
  return RTCRtpCodecCapability(
    channels: map['channels'],
    clockRate: map['clockRate'],
    mimeType: map['mimeType'],
    sdpFmtpLine: map['sdpFmtpLine'],
  );
}