Pay attention to ufrag when incorporating ICE candidates into SDP
Categories
(Core :: WebRTC: Signaling, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: bwc, Assigned: bwc)
References
Details
Attachments
(11 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
The ufrag needs to match, if the candidate has one.
Assignee | ||
Comment 2•6 years ago
|
||
Folded bug 1532822 into this one. This means this bug covers:
- Picking the right description (current or pending) to incorporate the candidate into
- Picking the right media-section to incorporate the candidate into
- "candidate" here includes a=end-of-candidates
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D24274
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D24275
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D24276
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D24277
Assignee | ||
Comment 9•6 years ago
|
||
Depends on D24278
Assignee | ||
Comment 10•6 years ago
|
||
Depends on D24279
Assignee | ||
Comment 11•6 years ago
|
||
Depends on D24280
Assignee | ||
Comment 12•6 years ago
|
||
Depends on D24281
Updated•6 years ago
|
Assignee | ||
Comment 13•6 years ago
|
||
Depends on D24282
Assignee | ||
Comment 14•6 years ago
|
||
Assignee | ||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Backed out 10 changesets (bug 1535442) for mochitest failure at dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver_inproc.htm
Backout: https://hg.mozilla.org/integration/autoland/rev/cebb5fa563f96382ce4036ddd0f53168d9211006
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=236234325&repo=autoland&lineNumber=3282
task 2019-03-26T22:46:21.768Z] 22:46:21 INFO - TEST-PASS | dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver_inproc.html | Receiver: navigator.presentation.defaultRequest should be null.
[task 2019-03-26T22:46:21.769Z] 22:46:21 INFO - Buffered messages finished
[task 2019-03-26T22:46:21.769Z] 22:46:21 INFO - TEST-UNEXPECTED-FAIL | dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver_inproc.html | Receiver: Error occurred when getting the connection: [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "<unknown>" data: no]
[task 2019-03-26T22:46:21.770Z] 22:46:21 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:275:18
[task 2019-03-26T22:46:21.770Z] 22:46:21 INFO - receiverListener@dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_receiver.js:59:9
[task 2019-03-26T22:46:21.771Z] 22:46:21 INFO - GECKO(1629) | JavaScript error: , line 0: uncaught exception: undefined
[task 2019-03-26T22:46:21.772Z] 22:46:21 INFO - GECKO(1629) | [Parent 1629: Main Thread]: E/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2718: GetStats: Found no pipelines matching selector.
[task 2019-03-26T22:46:22.339Z] 22:46:22 INFO - GECKO(1629) | --DOMWINDOW == 38 (0xdbbe2780) [pid = 1629] [serial = 15] [outer = (nil)] [url = moz-extension://b521006c-b65a-4149-be31-ff346c7e1401/_generated_background_page.html]
[task 2019-03-26T22:46:22.340Z] 22:46:22 INFO - GECKO(1629) | --DOCSHELL 0xda087800 == 13 [pid = 1629] [id = {e323300a-a2f1-41db-90fa-75515963a7c2}] [url = moz-extension://b521006c-b65a-4149-be31-ff346c7e1401/_generated_background_page.html]
[task 2019-03-26T22:46:22.691Z] 22:46:22 INFO - GECKO(1629) | [Parent 1629: Main Thread]: E/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2718: GetStats: Found no pipelines matching selector.
[task 2019-03-26T22:46:23.696Z] 22:46:23 INFO - GECKO(1629) | [Parent 1629: Main Thread]: E/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2718: GetStats: Found no pipelines matching selector.
[task 2019-03-26T22:46:24.689Z] 22:46:24 INFO - GECKO(1629) | [Parent 1629: Main Thread]: E/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2718: GetStats: Found no pipelines matching selector.
[task 2019-03-26T22:46:25.597Z] 22:46:25 INFO - GECKO(1629) | [Parent 1629, StreamTrans #5] WARNING: 'NS_FAILED(rv)', file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 371
[task 2019-03-26T22:46:25.599Z] 22:46:25 INFO - GECKO(1629) | [Parent 1629, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 994
[task 2019-03-26T22:46:25.696Z] 22:46:25 INFO - GECKO(1629) | [Parent 1629: Main Thread]: E/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2718: GetStats: Found no pipelines matching selector.
[task 2019-03-26T22:46:26.158Z] 22:46:26 INFO - GECKO(1629) | (ice/INFO) ICE(PC:1553640380685084 (id=44 url=http://mochi.test:8888/tests/dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_rece): peer (PC:1553640380685084 (id=44 url=http://mochi.test:8888/tests/dom/presentation/tests/mochitest/test_presentation_1ua_sender_and_rece:default) Trickle grace period is over; marking every component with only failed pairs as failed.
[task 2019-03-26T22:46:26.402Z] 22:46:26 INFO - GECKO(1629) | Timecard created 1553640380.983709
[task 2019-03-26T22:46:26.403Z] 22:46:26 INFO - GECKO(1629) | Timestamp | Delta | Event | File | Function
[task 2019-03-26T22:46:26.406Z] 22:46:26 INFO - GECKO(1629) | ======================================================================================================================
[task 2019-03-26T22:46:26.407Z] 22:46:26 INFO - GECKO(1629) | 0.000036 | 0.000036 | Constructor Completed | PeerConnectionImpl.cpp:338 | PeerConnectionImpl
[task 2019-03-26T22:46:26.408Z] 22:46:26 INFO - GECKO(1629) | 0.002294 | 0.002258 | Initializing PC Ctx | PeerConnectionImpl.cpp:465 | Initialize
[task 2019-03-26T22:46:26.408Z] 22:46:26 INFO - GECKO(1629) | 0.014631 | 0.012337 | Set Remote Description | PeerConnectionImpl.cpp:1445 | SetRemoteDescription
[task 2019-03-26T22:46:26.411Z] 22:46:26 INFO - GECKO(1629) | 0.084403 | 0.069772 | Create Answer | PeerConnectionImpl.cpp:1296 | CreateAnswer
[task 2019-03-26T22:46:26.412Z] 22:46:26 INFO - GECKO(1629) | 0.085511 | 0.001108 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.413Z] 22:46:26 INFO - GECKO(1629) | 0.088339 | 0.002828 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.414Z] 22:46:26 INFO - GECKO(1629) | 0.089655 | 0.001316 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.416Z] 22:46:26 INFO - GECKO(1629) | 0.090317 | 0.000662 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.417Z] 22:46:26 INFO - GECKO(1629) | 0.090951 | 0.000634 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.419Z] 22:46:26 INFO - GECKO(1629) | 0.091606 | 0.000655 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.419Z] 22:46:26 INFO - GECKO(1629) | 0.092291 | 0.000685 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.420Z] 22:46:26 INFO - GECKO(1629) | 0.093681 | 0.001390 | Set Local Description | PeerConnectionImpl.cpp:1342 | SetLocalDescription
[task 2019-03-26T22:46:26.420Z] 22:46:26 INFO - GECKO(1629) | 0.135821 | 0.042140 | Ice gathering state: gathering | PeerConnectionImpl.cpp:2671 | IceGatheringStateChange
[task 2019-03-26T22:46:26.420Z] 22:46:26 INFO - GECKO(1629) | 0.137960 | 0.002139 | Ice gathering state: complete | PeerConnectionImpl.cpp:2674 | IceGatheringStateChange
[task 2019-03-26T22:46:26.420Z] 22:46:26 INFO - GECKO(1629) | 0.147719 | 0.009759 | Ice state: checking | PeerConnectionImpl.cpp:2626 | IceConnectionStateChange
[task 2019-03-26T22:46:26.420Z] 22:46:26 INFO - GECKO(1629) | 0.263659 | 0.115940 | Add Ice Candidate | PeerConnectionImpl.cpp:1620 | AddIceCandidate
[task 2019-03-26T22:46:26.420Z] 22:46:26 INFO - GECKO(1629) | 5.415261 | 5.151602 | Destructor Invoked | PeerConnectionImpl.cpp:347 | ~PeerConnectionImpl
[task 2019-03-26T22:46:26.420Z] 22:46:26 INFO - GECKO(1629) | [Parent 1629: Main Thread]: I/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:372: ~PeerConnectionImpl: PeerConnectionImpl destructor invoked for 48d3ec072fa8607e
[task 2019-03-26T22:46:26.697Z] 22:46:26 INFO - GECKO(1629) | [Parent 1629: Main Thread]: E/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2718: GetStats: Found no pipelines matching selector.
[task 2019-03-26T22:46:27.687Z] 22:46:27 INFO - GECKO(1629) | [Parent 1629: Main Thread]: E/signaling [main|PeerConnectionImpl] PeerConnectionImpl.cpp:2718: GetStats: Found no pipelines matching selector.
Assignee | ||
Comment 18•6 years ago
|
||
That's a new one. Apparently there's a Presentation API that uses RTCPeerConnection?
Assignee | ||
Comment 19•6 years ago
|
||
And this Presentation API is calling addIceCandidate on the wrong PeerConnection. Lovely.
Assignee | ||
Comment 20•6 years ago
|
||
Depends on D24523
Updated•6 years ago
|
Assignee | ||
Comment 21•6 years ago
|
||
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f9b7a9f2a8d0
https://hg.mozilla.org/mozilla-central/rev/fe3d1118979c
https://hg.mozilla.org/mozilla-central/rev/2ac346fc1029
https://hg.mozilla.org/mozilla-central/rev/37a419113a39
https://hg.mozilla.org/mozilla-central/rev/3322742f14d5
https://hg.mozilla.org/mozilla-central/rev/dcba91554b51
https://hg.mozilla.org/mozilla-central/rev/8acda96bbd54
https://hg.mozilla.org/mozilla-central/rev/f005ceaf83bd
https://hg.mozilla.org/mozilla-central/rev/57e67666b450
https://hg.mozilla.org/mozilla-central/rev/1b43b2ac0ad0
https://hg.mozilla.org/mozilla-central/rev/4cfdc4abb3f0
Description
•