RTCPeerConnection fires "complete" but never "gathering" icegatheringstatechange on answerer side
Categories
(Core :: WebRTC, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: jib, Assigned: bwc)
Details
Attachments
(7 files, 1 obsolete file)
|
1.21 MB,
image/png
|
Details | |
|
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 |
STRs:
- Open https://jsfiddle.net/jib1/y6dxtks9/
- Check the top ☐ Camera
- Allow camera permission if necessary
Expected results:
.-iframe---
| ☑ Camera ☐ Noise ☑ Log [Restart]
| gathering
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| complete
| addIceCandidate: c724b6be
| addIceCandidate: c724b6be
| addIceCandidate: c724b6be
|
'---
☐ Camera ☐ Noise ☑ Log [Restart]
gathering
onicecandidate: c724b6be
onicecandidate: c724b6be
onicecandidate: c724b6be
complete
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
Actual results:
.-iframe---
| ☑ Camera ☐ Noise ☑ Log [Restart]
| gathering
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| onicecandidate: 268e41f8
| complete
| addIceCandidate: c724b6be
| addIceCandidate: c724b6be
| addIceCandidate: c724b6be
|
'---
☐ Camera ☐ Noise ☑ Log [Restart]
complete
onicecandidate: c724b6be
onicecandidate: c724b6be
onicecandidate: c724b6be
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
addIceCandidate: 268e41f8
| Reporter | ||
Updated•7 years ago
|
| Reporter | ||
Comment 1•7 years ago
|
||
FYI the order of events on the answerer side seem inconsistent. Sometimes I see this order:
addIceCandidate: 3e59ea5b
addIceCandidate: 3e59ea5b
addIceCandidate: 3e59ea5b
addIceCandidate: 3e59ea5b
addIceCandidate: 3e59ea5b
complete
onicecandidate: 8a229bd5
onicecandidate: 8a229bd5
onicecandidate: 8a229bd5
The "gathering" event is always missing however.
| Reporter | ||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 2•7 years ago
•
|
||
Looking into this.
| Assignee | ||
Comment 3•7 years ago
|
||
Ok, it just looks like we're skipping the transition to "gathering" sometimes.
| Assignee | ||
Comment 4•7 years ago
|
||
This seems to be due to the extra stack unwind we're doing here:
| Assignee | ||
Comment 5•7 years ago
|
||
Whew, there's a lot of cruft to clean up here.
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Comment 7•7 years ago
|
||
| Assignee | ||
Comment 8•7 years ago
|
||
Depends on D30990
| Assignee | ||
Comment 9•7 years ago
|
||
Depends on D30991
| Assignee | ||
Comment 10•7 years ago
|
||
Depends on D30992
| Assignee | ||
Comment 11•7 years ago
|
||
Depends on D30993
| Assignee | ||
Comment 12•7 years ago
|
||
Depends on D30994
| Assignee | ||
Comment 13•7 years ago
|
||
Updated•7 years ago
|
| Assignee | ||
Comment 14•7 years ago
|
||
Try looks good.
Comment 15•7 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:bwc, could you have a look please?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Comment 18•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1ff47be32265
https://hg.mozilla.org/mozilla-central/rev/22a2b3e65223
https://hg.mozilla.org/mozilla-central/rev/4ce46b3be46e
https://hg.mozilla.org/mozilla-central/rev/01c9aca20892
https://hg.mozilla.org/mozilla-central/rev/2653b8243f4f
https://hg.mozilla.org/mozilla-central/rev/8f9779bb2d41
Description
•