WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 279193
279202
getParameters() scaleResolutionDownBy values default to 1,1,1 in simulcast; should be 4,2,1
https://bugs.webkit.org/show_bug.cgi?id=279202
Summary
getParameters() scaleResolutionDownBy values default to 1,1,1 in simulcast; s...
jib
Reported
2024-09-05 09:58:28 PDT
From
https://github.com/w3c/webrtc-extensions/pull/221#pullrequestreview-2283199325
STR: Paste this into web console: new RTCPeerConnection().addTransceiver("video", {sendEncodings: [{rid: "a"}, {rid: "b"}, {rid: "c"}]}).sender.getParameters().encodings.map(e => e.scaleResolutionDownBy) Expected result (per spec, works in Firefox): - [ 4, 2, 1 ] Actual result: - [ 1, 1, 1 ] The spec
https://w3c.github.io/webrtc-pc/#dfn-addtransceiver-sendencodings-validation-steps
) says: "If kind is "video" and none of the encodings contain a scaleResolutionDownBy member, then for each encoding, add a scaleResolutionDownBy member with the value 2^(length of sendEncodings - encoding index - 1)" See also
https://issues.chromium.org/issues/344943229
Attachments
Add attachment
proposed patch, testcase, etc.
youenn fablet
Comment 1
2024-09-06 01:17:21 PDT
*** This bug has been marked as a duplicate of
bug 279193
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug