Closed Bug 1683541 Opened 4 years ago Closed 4 years ago

`degradationPreference` option is not supported as a direct dictionary value

Categories

(Core :: WebRTC: Signaling, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1401592

People

(Reporter: saschanaz, Unassigned)

Details

Per the spec it should be supported as:

setParameters({ ...options,  degradationPreference: "balanced" });

But per the current IDL it's instead:

setParameters({ encodings: [{ degradationPreference: "balanced" }] });

It should go to RTCRtpSendParameters instead of RTCRtpEncodingParameters.

I think this is part of (or depends on) Bug 1401592. Byron, does that make sense?

Flags: needinfo?(docfaraday)

Yeah, this is part of that bug.

Flags: needinfo?(docfaraday)

Thanks!

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.