-
Notifications
You must be signed in to change notification settings - Fork 115
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
Calling SRD twice isn't web compatible #2512
Comments
Last I heard of a real-world use case for offer trumping was the "pushy SFU" use case. |
It was mentioned to me that a simple workaround for the pushy SFU case is as described in that slide: queue requests, basically visit |
yeah, i've typically done a "if there is a cycle pending, put the operation into a queue, take stuff from the queue on next signalingstatechange to stable".
|
I think the remaining question then is whether Chrome's behavior is worth specifying. Or simpler:
|
Chrome's behavior is probably "Run the check for subsequent offers, and if those checks pass, accept it". That might be relatively easy to specify. |
Calling SRD twice (ditto SLD) may be well-defined in webrtc-pc, but it's not in JSEP.
Firefox does something akin to a silent mini-rollback in-between, whereas Chrome does not, instead failing all offers different¹ from the first:
In Firefox these succeed² instead. But its aggressive mini-rollbacks produce different transceiver objects even with identical offers, which doesn't seem great either.
Who's right? Who won? You decide!
1) Turns out Chrome allows m-lines to grow, but not shrink. Also media kinds cannot change.
2) We're fixing some disappearing transceivers in Firefox atm, but that shouldn't distract from the different interpretations.
The text was updated successfully, but these errors were encountered: