Closed
Bug 1481152
Opened 6 years ago
Closed 6 years ago
Restrict number of concurrent uses of an audio input device in a child process
Categories
(Core :: WebRTC: Audio/Video, enhancement, P2)
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: pehrsons, Assigned: padenot)
References
Details
Attachments
(1 file, 1 obsolete file)
Bug 1404977 made it possible to access an audio input device more than once per child process. This has revealed issues (bug 1480348) with pulseaudio or our cubeb backend for pulseaudio or the combination thereof. Try with [1]. The more open audio streams one has, the longer the next one takes to resolve, eventually busting pulseaudio. For now we can try to relieve this issue by putting an artificial limit close to the old technical limit of 1 concurrent uses. Note that it's always been possible to achieve the same symptoms by opening streams in different child processes. However with the possibility for an application to trigger this with windows and/or iframes the trigger surface has greatly increased. [1] https://codepen.io/SingingTree/pen/BxWePB
Comment 1•6 years ago
|
||
If you are going to add a restriction here, you should add it just to Linux. This creates an inconsistency in how various versions of Fx behave, but that's less important than having an inconsistency with the spec.
Updated•6 years ago
|
Rank: 15
Priority: -- → P2
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → padenot
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Comment on attachment 9008080 [details] Bug 1481152 - Restrict to a single input stream per process on Linux, when using PulseAudio and audio remoting is enabled. r?pehrsons Andreas Pehrson [:pehrsons] has approved the revision.
Attachment #9008080 -
Flags: review+
Updated•6 years ago
|
Attachment #9008080 -
Attachment description: Bug 1481152 - Allow up to two audio input stream per process on Linux, when using PulseAudio. r?pehrsons → Bug 1481152 - Restrict to a single input stream per process on Linux, when using PulseAudio and audio remoting is enabled. r?pehrsons
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ae4bb7377de2 Restrict to a single input stream per process on Linux, when using PulseAudio and audio remoting is enabled. r=pehrsons
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ae4bb7377de2
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
Attachment #9005135 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•