copy static method

Implementation

static CodecParameters copy(CodecParameters old) {
  return CodecParameters(
    spropStereo: old.spropStereo,
    useinbandfec: old.useinbandfec,
    usedtx: old.usedtx,
    maxplaybackrate: old.maxplaybackrate,
    maxaveragebitrate: old.maxaveragebitrate,
    ptime: old.ptime,
    xGoogleStartBitrate: old.xGoogleStartBitrate,
    xGoogleMaxBitrate: old.xGoogleMaxBitrate,
    xGoogleMinBitrate: old.xGoogleMinBitrate,
  );
}