CodecChangeInfo constructor

const CodecChangeInfo({
  1. required VideoCodec unsupportedRemoteCodec,
  2. required VideoCodec currentCodec,
  3. required VideoCodec previousCodec,
  4. required String kind,
  5. required Participant? causedBy,
})

Reports the codec the engine switched to, and why.

Implementation

const CodecChangeInfo({
  required this.unsupportedRemoteCodec,
  required this.currentCodec,
  required this.previousCodec,
  required this.kind,
  required this.causedBy,
});