-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An incoming offer can generate simulcast #13902
An incoming offer can generate simulcast #13902
Conversation
Actually JSEP says:
The SDP in the test would be reasonable if it was supposed to work, but apparently it's not supposed to. |
There are no reviewers for this pull request besides its author. Please reach out on W3C's irc server (irc.w3.org, port 6665) on channel #testing (web client) to get help with this. Thank you! |
In Firefox this should work, but you need to set the Encodings before setting the Offer. |
You might want to call getUserMedia, otherwise the m-line will be inactive... http://jsfiddle.net/xcmq4vbn/1/ works in Firefox and has less boilerplate than the Firefox test. Calling setParameters works after setting the offer. |
const answer = await pc.createAnswer(); | ||
const rid_lines = answer.sdp.split('\r\n') | ||
.filter(line => line.match('^a=rid')); | ||
assert_equals(rid_lines.length, 2, 'Answer shold have 2 RIDs'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/shold/should/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we expecting the max-fr attributes to translate into maxFramerate values within the encoding parameters?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they have any effect at all, that's the effect that they should have.
<title>Negotiate Simulcast</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="../RTCPeerConnection-helper.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet.
'use strict'; | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two unneeded empty lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Firefox this should work, but you need to set the Encodings before setting the Offer.
In such a case, do you need to have simulcast enabled in the offer?
This test needs discussion - my reading of draft-ietf-mmusic-simulcast is that an incoming offer with two RIDs should cause a transceiver to be created with two encodings avaialble, and an answer with two rid lines with send direction, indicating that the answerer is capable of sending 2 layers of simulcast.
This currently fails on both Chrome and Firefox.