Bluetooth audio video latency on Android worse than Chrome browsers
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: bugzilla, Assigned: padenot)
Details
Attachments
(1 file)
|
9.98 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Android 12; Mobile; rv:108.0) Gecko/108.0 Firefox/108.0
Firefox for Android
Steps to reproduce:
Watch a video in Firefox for Android using Bluetooth earbuds, eg, on BBC News or YouTube. Note that this doesn't seem to be YouTube specific.
Actual results:
Noticeable audio lag on Firefox that is not present in chrome browsers or the YouTube app.
Expected results:
Video and audio are synced.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Assignee | ||
Comment 3•3 years ago
|
||
Jamie, would you mind giving us the kind of Android device you're using? Are you effectively using Android 12 as noted in your message? I'm not seeing this locally on my devices.
| Reporter | ||
Comment 4•3 years ago
|
||
My device is an up to date Microsoft Surface Duo with Android 12L. I've recorded a demo here: https://www.youtube.com/watch?v=sw9GpYwhSkM
I'm happy to provide the original if it would help. On the other hand I'm happy for you to close this bug if you think it's something specific with my setup or just not an issue. Thanks.
| Assignee | ||
Comment 5•3 years ago
|
||
Yeah, it's indeed not synced properly on this device. I'll look into it, thanks for filing!
| Assignee | ||
Comment 6•3 years ago
|
||
Jamie, can I ask you one more thing, would you mind installing Firefox for Android Nightly, that installs fine alongside a regular Firefox, and create a pref called media.cubeb.backend, that you set to the string aaudio, restart Firefox and try again with a bluetooth device?
Attached is a screencast that shows the whole process.
| Assignee | ||
Comment 7•3 years ago
|
||
| Reporter | ||
Comment 8•3 years ago
|
||
Nightly with that setting appears to still show the lag.
| Assignee | ||
Comment 9•3 years ago
|
||
Interesting, it's better for me on a Sony Xperia 5 II + airpods, I'll continue digging.
| Assignee | ||
Comment 10•3 years ago
|
||
Not that it was terribly bad before, but it's perceptually worse on videos specially made for A/V sync check.
Comment 11•3 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 12•3 years ago
|
||
I've got us a fix in https://github.com/mozilla/cubeb/pull/735, I'll import it soon in Firefox.
With this, A/V sync is perfect in Firefox regardless of the audio output device I'm using (wired/speaker/bluetooth).
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 13•3 years ago
|
||
Fixed by enabling the fixed AAudio backend, in bug 1809185. Reporter, can you please test with an up-to-date Firefox Nightly, available in the Play Store? This version is going to be released as stable on the 14th of February.
| Reporter | ||
Comment 14•3 years ago
|
||
Yes it appears fixed in Nightly. Thanks!
Description
•