degradationPreference property

DegradationPreference? degradationPreference
final

Controls how the encoder trades off between resolution and framerate when bandwidth is constrained.

When null, the SDK picks a default based on the track's source, see getDefaultDegradationPreference. A preference is always applied to video senders, so leaving this null selects that default rather than deferring to WebRTC's own implicit choice.

Implementation

final DegradationPreference? degradationPreference;