whereby.com and appr.tc broken, no audio/video, and browser responsiveness extremely poor
Categories
(Core :: WebRTC: Audio/Video, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox72 | --- | unaffected |
firefox73 | + | verified |
firefox74 | + | verified |
People
(Reporter: bwc, Assigned: padenot)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
1.01 MB,
text/html
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-release+
|
Details | Review |
I have only tested this on OS X, but it may be a problem on other platforms.
STR: Open two tabs to whereby.com (same room). Observe that neither end receives audio or video. Also observe that browser janks really badly (multi-second).
Edit STR: Seems to happen with any whereby call, whether tab-to-tab or with another browser.
Output from mozregression:
8:18.16 INFO: No more inbound revisions, bisection finished.
8:18.16 INFO: Last good revision: 6ad8baec4ca949e4ede0e79a0a2219cdc10f8bfd
8:18.16 INFO: First bad revision: cb00f09b36fc8ded65b2bf0ca1a86a669f8f0a4a
8:18.16 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6ad8baec4ca949e4ede0e79a0a2219cdc10f8bfd&tochange=cb00f09b36fc8ded65b2bf0ca1a86a669f8f0a4a
Looks like a regression from bug 1586370, or perhaps bug 1542321.
Bug 1607914 is likely a dupe.
Needinfoing padenot, since pehrsons is out.
Reporter | ||
Comment 1•6 years ago
|
||
Here's a gecko profile: https://perfht.ml/2R5uz88
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
appr.tc seems to be similarly broken. Here's a profile for that: https://perfht.ml/30a4lpd
Comment 3•6 years ago
|
||
This seems severe enough to be a P1, which needs an owner. Paul, once you've had a chance to investigate, please feel free to reset the priority if things aren't as bad as they look.
Reporter | ||
Comment 4•6 years ago
•
|
||
Profile of a whereby call with Chrome (not tab-to-tab, so a real world use-case): https://perfht.ml/2QGtG6Z
Same symptoms.
Comment 5•6 years ago
|
||
[Tracking Requested - why for this release]: Appears to be a significant performance regression affecting multiple sites.
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
•
|
||
I can't repro on OSX and Linux, this is as smooth as ever. Byron, do you have anything specific in you audio setup that would cause this?
Reporter | ||
Comment 7•6 years ago
|
||
This testing was carried out with the mic/speakers that are integrated into the laptop. Also happens with a pristine profile, otherwise mozregression would not have found the problem.
I did install Krisp a while back to see if it helped with audio call noise, but I've had it disabled for a while now. Maybe it is getting in the way somehow? Let me try uninstalling that.
Reporter | ||
Comment 8•6 years ago
|
||
I can no longer reproduce. I've also restarted my laptop since the last time I tried to test this, so maybe that's what made the difference, and Krisp was a red herring. Let me try reinstalling it and see.
Reporter | ||
Comment 9•6 years ago
|
||
Reinstalling Krisp didn't reintroduce the problem. Maybe my laptop had gotten itself into a weird state.
Reporter | ||
Comment 10•6 years ago
|
||
De-prioritizing, but leaving open since it may highlight some flaw.
Reporter | ||
Comment 11•6 years ago
|
||
So I tried reproducing bug 1607914 (connecting to a whereby room that Safari is already connected to) just now, and saw the problem again. This is how I first noticed this problem.
Padenot, can you try loading a whereby room in Safari, and then loading that room in Firefox?
Comment 12•6 years ago
|
||
Changing the priority to p1 as the bug is tracked by a release manager for the current beta.
See What Do You Triage for more information
Assignee | ||
Comment 13•6 years ago
|
||
(In reply to Byron Campen [:bwc] from comment #11)
So I tried reproducing bug 1607914 (connecting to a whereby room that Safari is already connected to) just now, and saw the problem again. This is how I first noticed this problem.
Padenot, can you try loading a whereby room in Safari, and then loading that room in Firefox?
This works well, I'm using today's Firefox Nightly and Safari Version 13.0.4 (15608.4.9.1.3), current one for macOS 10.15 Mojave.
Joining the room first on Safari, waiting a few seconds, then joining the same room in Firefox Nightly.
Assignee | ||
Comment 14•6 years ago
|
||
Wait a second I think I reproduced but I don't know how.
I think saw this issue in a meeting today. The symptoms where that I saw most other people in the room's video stuttering on and off. I'm provding my about:webrtc in case it would be helpful for debugging.
Edit: was connecting from Windows with most recent nightly.
Assignee | ||
Comment 16•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Backed out changeset 96f574da3bbb (bug 1608505) for build bustage at build/src/dom/media/MediaTrackGraph.cpp
Backout: https://hg.mozilla.org/integration/autoland/rev/78229efdaad37dbdf101fd435ade9b908df53ba2
Failure push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=96f574da3bbbaa7c7d5f5000f1f99fd3efb11967
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=286177356&repo=autoland&lineNumber=30262
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
bugherder |
Assignee | ||
Updated•6 years ago
|
Comment 22•6 years ago
|
||
Should this have gotten an approval request for 73? We're in RC week at this point, so please nominate for release approval if the answer is yes.
Comment 23•6 years ago
|
||
Comment on attachment 9122116 [details]
Bug 1608505 - Cap the audio output channel count to something the device can handle. r?achronop
Beta/Release Uplift Approval Request
- User impact if declined: Unable to do webrtc calls tab-to-tab or with another browser. Neither end receives audio or video
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Open two tabs to whereby.com (same room). Observe that neither end receives audio or video.
The same happens with any whereby call between firefox and another browser. - List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): I has been verified in Nightly
- String changes made/needed:
Updated•6 years ago
|
Comment 24•6 years ago
|
||
Comment on attachment 9122116 [details]
Bug 1608505 - Cap the audio output channel count to something the device can handle. r?achronop
Fixes a pretty bad WebRTC regression for some users. Approved for 73.0RC1.
Comment 25•6 years ago
|
||
uplift |
Updated•6 years ago
|
Comment 26•6 years ago
|
||
I am not sure if I managed to reproduce the issue completely, but the only way I managed to reproduce it is by using a Nightly from 2020-01-10 and did the steps from comment 0 and using bluetooth headphones.
The difference was that because the two tabs were not getting any video or sound, the bluetooth was disconnected and then the video and sound worked perfectly (even without refreshing the page). It's an intermittent issue, but as far as I can tell is not reproducing on latest Nightly 74.0a1 or Firefox 73.0.
On the other hand, the video lags a few good seconds if you do the steps from comment 0 and at the same time you open the safe room in a Safari browser. This one reproduces even on latest Nightly 74.0a1 and 73.0.
Reporter | ||
Comment 27•6 years ago
|
||
(In reply to Oana Botisan, Desktop Release QA from comment #26)
I am not sure if I managed to reproduce the issue completely, but the only way I managed to reproduce it is by using a Nightly from 2020-01-10 and did the steps from comment 0 and using bluetooth headphones.
The difference was that because the two tabs were not getting any video or sound, the bluetooth was disconnected and then the video and sound worked perfectly (even without refreshing the page). It's an intermittent issue, but as far as I can tell is not reproducing on latest Nightly 74.0a1 or Firefox 73.0.
Yeah, this one was tricky to repro.
On the other hand, the video lags a few good seconds if you do the steps from comment 0 and at the same time you open the safe room in a Safari browser. This one reproduces even on latest Nightly 74.0a1 and 73.0.
Sounds like a separate issue. Could you file a bug so we can track it?
Comment 28•6 years ago
|
||
(In reply to Byron Campen [:bwc] (PTO until Feb 5) from comment #27)
(In reply to Oana Botisan, Desktop Release QA from comment #26)
I am not sure if I managed to reproduce the issue completely, but the only way I managed to reproduce it is by using a Nightly from 2020-01-10 and did the steps from comment 0 and using bluetooth headphones.
The difference was that because the two tabs were not getting any video or sound, the bluetooth was disconnected and then the video and sound worked perfectly (even without refreshing the page). It's an intermittent issue, but as far as I can tell is not reproducing on latest Nightly 74.0a1 or Firefox 73.0.Yeah, this one was tricky to repro.
Did I manage to reproduce the issue by using those steps? Or do I need to investigate further? And if I do, can you please leave me some additional info that might help me reproduce the bug.
Otherwise I'd say that this issue is fixed, because as I said before, I can't seem to reproduce it on latest Nightly.
Assignee | ||
Comment 29•6 years ago
|
||
I'm pretty confident my patch fixed this, thanks for trying hard Oana. The video lag you observed is known, we're tracking/fixing this separately. Thanks!
Comment 30•6 years ago
|
||
Byron,
Can you please verify if this issue is fixed? Because I am not sure 100% if I managed to reproduce/verify it.
Thank you.
Comment 32•6 years ago
|
||
Thank you, Byron!
According to comment 31, I will mark this bug accordingly.
Comment 33•6 years ago
|
||
Byron, can you please verified the fix on firefox 73.0, too?
Thank you.
Reporter | ||
Comment 34•6 years ago
|
||
I can't repro on 73.0, although I don't have a release binary to compare to because 72 was unaffected.
Reporter | ||
Updated•6 years ago
|
Updated•5 years ago
|
Description
•