Closed Bug 1304345 Opened 8 years ago Closed 8 years ago

Use device switching API in audiounit backend

Categories

(Core :: Audio/Video: cubeb, defect, P2)

All
macOS
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox52 --- wontfix

People

(Reporter: padenot, Unassigned)

Details

This seems necessary since the system behaviour is bizarre.
In particular, it seems that switching between analog headphones and speakers works, but connecting to a bluetooth headset does not. Don't quote me on that, that's just what I gathered reading bugs, and I can't test right now. In addition, Web Audio API and WebRTC don't seem to work as well, possibly because of bug 1278612. I think we need to implement recreating streams using the device notification API like we do in the WASAPI backend.
Rank: 25
Priority: -- → P2
Testing this now, on 50.0a2 (OsX) and can not reproduce the bug any more.
Mass wontfix for bugs affecting firefox 52.
We've since then fixed that properly, but I can't link to a specific bug because it took quite a few iterations to get it right. https://github.com/kinetiknz/cubeb/commits/master/src/cubeb_audiounit.cpp is probably the best resources that track this works.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
I am using FF 53.0.3 on macOS 10.12.4. Since few previous versions the playback (audio+video) completely stops while changing the output device. I also have Bongiovi DPS installed which is used as an audio booster. I need to restart FF then only any video or media is able to play. Other browsers are able to playback media properly.
Thanks for the report. Alex, do you have cycles to try this Bongiovi thing? It's might be buggy. If it is (and the issue is not in our code), we need to understand why it works in other browsers.
Flags: needinfo?(achronop)
(In reply to Paul Adenot (:padenot) from comment #6) > Thanks for the report. > > Alex, do you have cycles to try this Bongiovi thing? It's might be buggy. If > it is (and the issue is not in our code), we need to understand why it works > in other browsers. I have also tried it when Bongiovi (https://bongioviacoustics.com/dps/) was turned off. It sometimes also stops playback when video is abruptly paused/stopped. A portion of video buffers but doesn't play, if I click on the buffered portions only the still image is displayed on the player. IIRC, it started shortly after when there was some adobe flash player related issue to update. Not sure what can be the issue and if it just me or the bug is reproducible.
I can have a look. Can you please open a new bug about it. Can you also include a link with instruction how to install and configure Bongiovi in order to work with firefox?
Flags: needinfo?(achronop) → needinfo?(padenot)
Hi, I found a very similar bug as mine: https://bugzilla.mozilla.org/show_bug.cgi?id=1335512.
clearing NI
Flags: needinfo?(padenot)
You need to log in before you can comment on or make changes to this bug.