Closed Bug 1210701 Opened 9 years ago Closed 9 years ago

html5 game audio doesn't work properly from version 40

Categories

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

41 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox43 --- fixed

People

(Reporter: info, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240

Steps to reproduce:

Install an older version and than is the problem solved. tested on other browser and they do not have this problem (mac and windows 10). 


Actual results:

Normaly the html5 game loads an container of sounds and while playing this game you hear the sound by the right handle you do. From version 40 the sounds doesn;t work propely anymore. Sometimes you hear a sound and then you hear sounds that a wrong. But most of the time there is nothing. 


Expected results:

The game should work like in older Firefox version or like het works great in chrome. What did Firefox do in the new version with the sound engine of html5?
Hi Utile,

Can you please tell me what was the game website on which you experienced this issue ? Even multiple game sites if possible. I will try to reproduce it on my end if you can provide this information.

Also, are you still able to reproduce this issue on the latest Firefox release (42.0) ? Some things may have improved from 40.0. Maybe test with a new profile and disabled addons for better results. The issue may be related to custom settings or any plugins that use the sound driver. 

Thanks,
Paul.
Flags: needinfo?(info)
Since the reporter did not responded until now by providing more informations we will consider this issue as RESOLVED-WORKSFORME. If anyone can still reproduce it feel free to reopen the issue and provide the steps to reproduce.

Thanks,
Paul.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Sent: Wednesday, November 18, 2015 8:06 AM
To: xxxx
Subject: Re: needinfo requested: [Bug 1210701] html5 game audio doesn't work properly from version 40

Hi Paul Oiegas,

 

We are developing a html5 casino game for our client.  It worked great with Mozilla before updating to version 40. The audio of the game works good in browsers like safari, chrome now, but not in mozilla from version 40.

 

We still in development because we are now developing a robot for testing the game. If you wish we can give you access for a few days to our online test-server.

If you send me your ip I add this to our server to get access with your ip-adress.


Met vriendelijke groet,
Best regards,

Pascal
Flags: needinfo?(info)
Hi Pascal,

Sure, we can do that to find out if this reproduces on my environment. Here are my external IP addresses:
- 62.231.92.162
- 95.77.97.91
Please add them both if you can and provide the url and any other informations needed to access the game. 

Also I did a bit of digging related to changes that entered in Firefox 40.0 and found out that there were some on html5 side for audio "Implemented AudioBufferSourceNode.detune to modulate playback rate in cents, a logarithmic unit of measure used for musical intervals".
You can see more details here https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune .
Maybe this change affected your game in some way and you need to adapt to it on your end for better audio experience. Please let me know if this helps you in some way.

Best regards,
Paul.
Status: RESOLVED → UNCONFIRMED
Flags: needinfo?(info)
Resolution: WORKSFORME → ---
Hi Paul

I've add your ip-adresses.

The game is build in html5 with pixi.js and jquery. The sound worked perfect in mozilla till there was an update (to 39 or 40 i think). In the browser google chrome and safari (in el captain) it all works great.

This url will lead you to the game http://0900-000.nl/testing/


Best regards,

Pascal
Flags: needinfo?(info)
Hi Pascal,

I still don't have access to the link you provided so I cannot test on my end. Are you sure that my IP addresses were added ? 

Also, you didn't mentioned about the link I gave you about changes on the html5 side that were made in Firefox 40.0. Can you or someone from the development team of your game please look into this link ? 
https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode/detune 

Maybe this is the reason why you have problems with audio and the only way to fix it is to adapt the code on your side. 


Thanks,
Paul.
Flags: needinfo?(info)
Hi Paul,

We forgot to add your ip to another part of the server. Can you see the game now at : http://0900-000.nl/testing/

We gonna take a look about the changes. But i think that it's a strange idea that it will work in all the other browsers except Mozilla. We've actually never seen mozilla so very different from the usual in all these years

Best regards,

Pascal
Flags: needinfo?(info)
Hi Pascal,

I'm sorry but the link you provided is still forbidden for me so I cannot help you with any testing at this point. 
After your team will look over the changes from the provided link, please let me know if the information helps you guys in some way or you still have problems.


Thanks,
Paul.
Flags: needinfo?(info)
Hi Paul,

I've checked again and I see that there was a mistake with adding the ip-addresses. 
These ip-addresses have access now :

62.231.92.162
95.77.97.91

Hope you can give it again a try to check this : http://0900-000.nl/testing/

Best regards,

Pascal
Flags: needinfo?(info)
Hi Pascal

Yes I have access now to your test server and I managed to reproduce your issue on the latest Firefox release 42.0. However, after some diggings I found out an issue related to yours that was previously reported and it's already fixed. The good news is that the fix will enter in the next Firefox release (43.0).

To be sure of this, can you please download the latest beta release and check if this still reproduces on your environment ? Here is the download link for the latest Firefox beta 43.0b8 (https://download.mozilla.org/?product=firefox-beta-latest&os=win&lang=en-US).
Please report back the results. If this is no longer reproducible on latest beta, we will consider this issue as fixed.


Thanks,
Paul.
Flags: needinfo?(info)
Hi Paul,

I've test version 43.0b8 and all the sound problems are solved.

Thanks for your time.

Best regards,

Pascal
Flags: needinfo?(info)
Considering the answer provided by reporter we will mark this as Resolved - Fixed by bug 1201393 .
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago9 years ago
Component: Untriaged → Audio/Video: MediaStreamGraph
Depends on: 1201393
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.