Skip to content
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

Add [[Mid]] internal slot & separate JSEP state #2505

Merged
merged 4 commits into from
Apr 16, 2020
Merged

Conversation

jan-ivar
Copy link
Member

@jan-ivar jan-ivar commented Mar 31, 2020

Fixes #2476.


Preview | Diff

@jan-ivar jan-ivar requested a review from henbos March 31, 2020 20:20
@jan-ivar jan-ivar self-assigned this Mar 31, 2020
Copy link
Contributor

@henbos henbos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my concern, @jan-ivar

webrtc.html Outdated Show resolved Hide resolved
webrtc.html Outdated Show resolved Hide resolved
webrtc.html Outdated Show resolved Hide resolved
webrtc.html Show resolved Hide resolved
@jan-ivar
Copy link
Member Author

jan-ivar commented Apr 3, 2020

This should read better. @henbos note I kept a [[JsepMidProperty]] internal slot, because it got too unwieldy to use a temporary here, since it's per transceiver. Also ,since webrtc-pc never modifies it, we never need to copy it.

Copy link
Contributor

@alvestrand alvestrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is OK, modulo the nit about the name.

webrtc.html Outdated Show resolved Hide resolved
@jan-ivar jan-ivar merged commit cf5f2e1 into w3c:master Apr 16, 2020
@jan-ivar jan-ivar deleted the midslot branch April 16, 2020 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JSEP reads & modifies transceivers in parallel, causing racy behavior.
3 participants