copy static method

RtcpParameters copy(
  1. RtcpParameters old, {
  2. bool? mux,
  3. String? cname,
  4. bool? reducedSize,
})

Implementation

static RtcpParameters copy(
  RtcpParameters old, {
  bool? mux,
  String? cname,
  bool? reducedSize,
}) {
  return RtcpParameters(
    mux: mux != null ? mux : old.mux,
    cname: cname != null ? cname : old.cname,
    reducedSize: reducedSize != null ? reducedSize : old.reducedSize,
  );
}