give names to AudioOutputStreams of pulseaudio
Categories
(Core :: Audio/Video: cubeb, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: trea, Assigned: mymindstorm)
References
(Regression)
Details
(Whiteboard: tpi:+)
Attachments
(5 files, 5 obsolete files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.2.0 Build ID: 20141102014832 Steps to reproduce: Visited Playback Tab of pavucontrol on linux running firefox with more then one page acceccing audio outputing features. Actual results: I found out that there are more then one stream used by firefox. but they have all the same name. It is possible to adjuce the playback volume for each but it would be easier if ther wouldnt be named all the same. Expected results: insted of Audiostream there should be written the name of the site/domain/script or the name of the tab which is playing audio
Updated•9 years ago
|
Updated•8 years ago
|
Hello, I want to vote for this feature, I'm using a mixer which allows me to drag apps to different outputs, and when Firefox has more than one tab using audio it becomes a trial and error game.
I think the tab title, can be a good candidate for the name.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Removing priority for re-triage within the cubeb component, which is where we integrate with pulseaudio.
Assignee | ||
Comment 4•4 years ago
|
||
I have a WIP patch for fixing this with HTMLMediaElement, Web Audio is going to be in a separate patch. It gets the title of the tab and sets the stream name, but it falls behind sometimes (e.g. when switching YouTube videos). This is my first time working with C++, so I'm a bit stumped on how to make this work. If anyone could offer guidance on how to fix this, that would be greatly appreciated.
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Thanks for the patch, a good start indeed!
What's probably missing is to update all this when the page title changes while it's playing a stream. It's well possible that YouTube keeps the same HTMLMediaElement
for playing different video, it's a single page app these days.
We don't have an API to update the title when a stream is running, which is something we'd have to add, but it's doesn't look to hard to add something to cubeb for this.
Assignee | ||
Comment 6•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D93458
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D93459
Assignee | ||
Comment 9•4 years ago
|
||
Depends on D93460
Assignee | ||
Comment 10•4 years ago
|
||
Depends on D93461
Comment 11•4 years ago
|
||
This is happening in bug 1670917, that is updating all cubeb components (including importing the new OSS backend, that isn't done here). I'll review the gecko patch only https://phabricator.services.mozilla.com/D93462.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 12•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 13•3 years ago
|
||
Depends on D93462
Comment 14•3 years ago
|
||
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cd7cfba5859e Set AudioSink name to title of MediaElement's parent r=padenot https://hg.mozilla.org/integration/autoland/rev/344c53013a7b Part 2 - Add tests r=padenot
Comment 15•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cd7cfba5859e
https://hg.mozilla.org/mozilla-central/rev/344c53013a7b
Description
•