Open Bug 1545847 Opened 6 years ago Updated 2 years ago

crackling sound output with chrome user agent

Categories

(Core :: Audio/Video, defect, P5)

defect

Tracking

()

People

(Reporter: sefeng, Unassigned)

Details

This website (http://www.twoeggz.com/movie/5852987.html) works fine in default Firefox user agent, but the audio output becomes crackling if I switch to chrome user agent.

My guess is the website delivers some chrome specific code?

Feel free to close the bug if it's not worth to take a look.

Sean,

I don't understand what you're switching to make this happen. Can you provide steps to reproduce?

Flags: needinfo?(sefeng)

mjf: I used this addon https://addons.mozilla.org/en-CA/firefox/addon/user-agent-switcher-revived/?src=search, to switch the user agent to Chrome, and then refreshed the page, and then when I started to the play video, the audio was crackling.

Flags: needinfo?(sefeng)

I can reproduce but I have no idea why it is different. It makes sense that some chrome specific code can create this. :jya, are we interested in finding the details here?

Flags: needinfo?(jyavenard)

(In reply to Sean Feng [:sefeng] from comment #2)

mjf: I used this addon https://addons.mozilla.org/en-CA/firefox/addon/user-agent-switcher-revived/?src=search, to switch the user agent to Chrome, and then refreshed the page, and then when I started to the play video, the audio was crackling.]

Can you give precisely which user-agent this simulates? And which OS are you actually using?

I've used "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36" and it sounds find to me. This was tested on mac and Windows 10, can't reproduce.

Can you try with Firefox Nightly?

there's been changed in the audio decoder that could have made a difference here.

Thank you

Flags: needinfo?(jyavenard) → needinfo?(sefeng)

I've also experienced this issue with Dailymotion and Twitter.

Using a Chrome or Edge user agent causes this issue and I haven't been able to figure out why. I've tested with FF66, FF 67 Dev and FF 68 Nightly on Linux with these user agents, "Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36" and "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/605.1.15 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/605.1 Edge/19.17763".

Once in a blue moon the audio plays fine, but after refreshing the page it's distorted.

So I am using Linux and Running Firefox Nightly 20190505213908.

I tried these two user agents
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.27 Safari/537.36

Both of them reproduced the issue for me.

Flags: needinfo?(sefeng)

The priority flag is not set for this bug.
:drno, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(drno)

(In reply to Release mgmt bot [:sylvestre / :calixte] from comment #7)

The priority flag is not set for this bug.
:drno, could you have a look please?

For more information, please visit auto_nag documentation.

The issue only occurs if the user change the user agent, after that it's likely site dependent with custom code for Chrome.

Flags: needinfo?(drno)
Priority: -- → P5

I experience this issue using chameleon addon, which spoofs UA. Audio is severely distorted unless you disable UA spoofing (or you set the UA to FF.

I did some tests:

Chrome 71 (Win 7) DISTORTED AUDIO
Chrome 71 (Win 8) DISTORTED AUDIO
Chrome 71 (Win 8.1) DISTORTED AUDIO
Chrome 71 (Win 10) DISTORTED AUDIO
Edge 19 (Win 10) DISTORTED AUDIO
Firefox 64 (Win 7) AUDIO OK
Firefox 64 (Win 8) AUDIO OK
Firefox 64 (Win 8.1 AUDIO OK
Firefox 64 (Win 10) AUDIO OK
Firefox 60 ESR (Win 7) AUDIO OK
Firefox 60 ESR (Win 8.1) AUDIO OK
Firefox 60 ESR (Win 10) AUDIO OK

Some notes hopefully useful:

  • Several websites using html5 to reproduce audio/video are affected, dailymotion being one of them
  • YouTube in my experience is never affected
  • Websites using flash seems not to be affected
  • Twitter videos embedded in twits (I am assuming they are hosted on twitter) are affected too.
  • Vimeo.com and Facebook videos are not affected

Using chameleon (https://addons.mozilla.org/en-US/firefox/addon/chameleon-ext/)on from FF 64 to 66 (no idea about newer versions) on Linux the issue is always reproducible (on the sites affected) so this is likely a conflict between HTML5 video/audio and FireFox.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.