Add support for RTCPeerConnectionState in RTCPeerConnection
Categories
(Core :: WebRTC, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: rajmohanbanavi, Assigned: bwc)
References
(Blocks 3 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files, 1 obsolete file)
Reporter | ||
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Comment 2•9 years ago
|
||
Updated•8 years ago
|
Comment 5•8 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Updated•7 years ago
|
Comment 9•7 years ago
|
||
Assignee | ||
Comment 10•7 years ago
|
||
This is already causing timeouts in at least some web-platform-tests from upstream.
Updated•6 years ago
|
Comment 11•4 years ago
|
||
Hello!
Coming back to this in 2021, I wonder if there is a particular reason why this API is sitting at P2 (for years!) and not getting implemented?
Related:
- WebRTC 1.0 is moved from Candidate Recommentation to Recommentation
- Standard
RTCPeerConnection
Interface Definition from the W3C Draft
I was also iterating through some links over MDN docs & GitHub side, someone suggested using RTCPeerConnection.iceConnectionState
as a workaround but according to the standard (and also MDN covers this very well), that wouldn't cover the exact same connection state information & behavior.
So, I wanted to bump this thread up to get more information.
Hopefully, this ticket would be triaged to higher priority so that an implementation might get into the next FF release cycle :)
Comment 12•4 years ago
|
||
Subscribes to dtls changes and aggragates them together with the iceConnectionState.
The aggregates state is exposed as RTCPeerConnection.connectionState.
The respective events are dispatched for connectionstatechange
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 13•3 years ago
|
||
Sorry for taking so long with this. Will try to get to review tomorrow.
Comment 14•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last months and this bug has priority 'P2'.
:mjf, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 15•3 years ago
|
||
(In reply to Jan-Ivar Bruaroey [:jib] (needinfo? me) from comment #13)
Sorry for taking so long with this. Will try to get to review tomorrow.
:jib - have you had a chance to look at the patch?
Comment 16•3 years ago
|
||
Byron reviewed this on March 30th and unfortunately we haven't heard back from the contributor. Unfortunately, a lot of refactoring has happened in the code this patch touches since it was written. I'm thankful for the contributor providing this patch, and it's on us that we didn't review it in time.
At this point our best path forward may be for someone to commandeer the revision (keeping original attribution) and salvage necessary parts to where they need to go in the new structure. Byron would probably be able to do this quickest, since he did the refactor, with me coming in second.
Byron, does that sound right?
Assignee | ||
Comment 17•3 years ago
|
||
I think that's the best way forward at this point.
Updated•3 years ago
|
Comment 18•3 years ago
|
||
Any chances to see this land in a release?
Some apps would like to support Firefox for WebRTC
Assignee | ||
Comment 19•3 years ago
|
||
Ok, I think we ought to be able to just implement this in terms of RTCDtlsTransport.state, which we already have implemented. I think this ought to be relatively easy.
Updated•3 years ago
|
Assignee | ||
Comment 20•3 years ago
|
||
Also, update meta files for tests that still fail for another reason.
Assignee | ||
Comment 21•3 years ago
|
||
Depends on D168142
Assignee | ||
Comment 22•3 years ago
|
||
Assignee | ||
Comment 23•3 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1643050#c2 indicates that split.https.html might work once this is implemented, but I have not noticed that. Just adding a note here.
Assignee | ||
Comment 24•3 years ago
|
||
Looks like split.https.html works with this change now.
https://treeherder.mozilla.org/jobs?repo=try&revision=51ff7f521dde5e8f560bcfc6271ad7f1887204a5
Comment 26•3 years ago
|
||
The severity field for this bug is set to S3
. However, the following bug duplicate has higher severity:
- Bug 1635922: S2
:bwc, could you consider increasing the severity of this bug to S2
?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 27•3 years ago
|
||
Comment 28•2 years ago
|
||
Comment 29•2 years ago
|
||
Backed out for causing build bustages on PeerConnectionImpl.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/dom/media/webrtc/jsapi/PeerConnectionImpl.cpp:2024:38: error: unused variable 'id' [-Werror=unused-variable]
mochitest log: https://treeherder.mozilla.org/logviewer?job_id=405685822&repo=autoland
Comment 30•2 years ago
|
||
Comment 31•2 years ago
|
||
Backed out for causing wpt failures in
Backout link: https://hg.mozilla.org/integration/autoland/rev/19e0bc283894a3bf801c7edb6c73879c3aeec836
Comment 32•2 years ago
|
||
Comment 33•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3d9a0fe10930
https://hg.mozilla.org/mozilla-central/rev/b145b1e8ced6
Updated•2 years ago
|
Comment 34•2 years ago
|
||
Is this something we should call out in the Fx113 relnotes? Please nominate if so.
Assignee | ||
Updated•2 years ago
|
Comment 35•2 years ago
|
||
FYI MDN docs for this, including the MDN release note can be tracked in https://github.com/mdn/content/issues/26146. Note this is still waiting on browser compatibility data to be reviewed.
Description
•