CodecChangeInfo class
Payload for the Events.codecChanged event.
Emitted when the local webcam codec is automatically switched (e.g., a fallback to VP8 because a remote participant could not decode the codec we were producing).
Constructors
- CodecChangeInfo({required VideoCodec unsupportedRemoteCodec, required VideoCodec currentCodec, required VideoCodec previousCodec, required String kind, required Participant? causedBy})
-
Reports the codec the engine switched to, and why.
const
Properties
- causedBy → Participant?
-
The participant that triggered the switch, if known.
final
- currentCodec → VideoCodec
-
The codec we are now producing.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
The media kind. Currently always
'video'.final - previousCodec → VideoCodec
-
The codec we were producing before the switch.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unsupportedRemoteCodec → VideoCodec
-
The codec a remote participant could not decode.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited