CodecCapability constructor

CodecCapability(
  1. String kind,
  2. List<String> payloads,
  3. List codecs,
  4. List fmtp,
  5. List rtcpFb,
)

Implementation

CodecCapability(
  this.kind,
  this.payloads,
  this.codecs,
  this.fmtp,
  this.rtcpFb,
) {
  for (final element in codecs) {
    element['orign_payload'] = element['payload'];
  }
}