Closed
Bug 1297083
Opened 8 years ago
Closed 8 years ago
Distorted/slowed-down audio with getUserMedia simultaneously in two tabs
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P1)
Tracking
()
VERIFIED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox48 | --- | unaffected |
firefox49 | + | verified |
firefox50 | --- | verified |
firefox51 | --- | verified |
People
(Reporter: pehrsons, Assigned: jesup)
References
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
patch
|
pehrsons
:
review+
gchang
:
approval-mozilla-aurora+
gchang
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Works as expected in 48 but results in the below in 49 onwards.
Steps to reproduce:
3. Open https://mozilla.github.io/webrtc-landing/gum_test.html, click "Audio"
2. Notice that you hear yourself when you speak.
3. Repeat step 1.
4. Speak.
Expected:
Still hearing yourself clear and crisp and with a short delay
Actual:
Audio is playing out slower than usual and distorted
Reporter | ||
Comment 1•8 years ago
|
||
There was an error in the step numbering, I don't have the copy/paste-fu necessary it seems. Here corrected:
Steps to reproduce:
1. Open https://mozilla.github.io/webrtc-landing/gum_test.html, click "Audio"
2. Notice that you hear yourself when you speak.
3. Repeat step 1.
4. Speak.
Reporter | ||
Comment 2•8 years ago
|
||
[Tracking Requested - why for this release]:
Capturing your microphone in two tabs simultaneously is broken.
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8783566 -
Flags: review?(pehrson)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → rjesup
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•8 years ago
|
||
Comment on attachment 8783566 [details] [diff] [review]
Don't insert audio for GetUserMedia N times if opened N times
Review of attachment 8783566 [details] [diff] [review]:
-----------------------------------------------------------------
Confirmed working for me.
Attachment #8783566 -
Flags: review?(pehrson) → review+
Reporter | ||
Updated•8 years ago
|
OS: Mac OS X → All
Hardware: Unspecified → All
Pushed by rjesup@wgate.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d0d255721431
Don't insert audio for GetUserMedia N times if opened N times r=pehrsons
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8783566 [details] [diff] [review]
Don't insert audio for GetUserMedia N times if opened N times
Approval Request Comment
[Feature/regressing bug #]: bug 1271585
[User impact if declined]: Capturing audio in two tabs will make it unusable
[Describe test coverage new/current, TreeHerder]: We don't test this case. A test could be written (doesn't have to use two tabs). Testing for this problem might be tough and timing-dependent, and thus problematic in automation. (Audio gets stretched and distorted, but there's no frequency change you can key off). If we can get audio quality tests comparing inputs and outputs that would do it (but again be timing/perf-sensitive).
[Risks and why]: No risk. Removes extraneous loop over sources when inserting.
[String/UUID change made/needed]: none
Attachment #8783566 -
Flags: approval-mozilla-beta?
Attachment #8783566 -
Flags: approval-mozilla-aurora?
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Comment 8•8 years ago
|
||
Comment on attachment 8783566 [details] [diff] [review]
Don't insert audio for GetUserMedia N times if opened N times
Review of attachment 8783566 [details] [diff] [review]:
-----------------------------------------------------------------
This patch fixes a capturing microphone regression. Take it in 50 aurora and 49 beta. Should be in 49 beta 7.
Attachment #8783566 -
Flags: approval-mozilla-beta?
Attachment #8783566 -
Flags: approval-mozilla-beta+
Attachment #8783566 -
Flags: approval-mozilla-aurora?
Attachment #8783566 -
Flags: approval-mozilla-aurora+
Updated•8 years ago
|
Flags: qe-verify+
Assignee | ||
Comment 9•8 years ago
|
||
Comment 11•8 years ago
|
||
Track 49+ as this is a regression for capturing microphone in multiple tabs.
Comment 12•8 years ago
|
||
Confirming that the issue no longer reproduces on Mac OS X 10.9.5, Ubuntu 12.04 x86 and Windows 10 x64 using:
*latest 51.0a1 Nightly, build ID 20160831030224
*latest 50.0a2 Aurora, build ID 20160901004001
*Fx 49.0b8, build ID 20160829102229
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•