12-03-2012 11:56 AM
Hi there,
Can you please provide a small code snippet that shows how you are trying to play the audio? I also am not certain that m3u is a valid filetype for audio within WebWorks. But if you are able to provide a test sample then that would allow us to verify and provide some feedback.
12-04-2012 04:05 PM
Sure,
I sent my config.xml and my index.html and that´s all the app, I can´t make it work, maybe it´s a matter of codecs or that the simulator does not support audio tag?? Thanks in advance for your help!
Thanks, R.
12-04-2012 06:17 PM
Hi there,
Just to confirm, which SDK are you packaging with? And which simualtor model and OS version are you testing on?
I'm seeing a few conflicting issues in the code so far.
The usage of webworks-1.0.2.9.js indicates that you aren't packaging your application with the latest BlackBerry 10 WebWorks SDK (1.0.3.8). Also indicating you may not be using the latest BlackBerry 10 simulator (10.0.9.1101). Both of these would be recommended for testing purposes and can be downloaded here:
https://developer.blackberry.com/html5/download/
In addition, no webworks.js files should actually be packaged with your application. The 1.0.3.8 packager will inject the file for you. Instead of:
<script src="webworks-1.0.2.9.js"></script>
Developers should now be using (with 1.0.3.8):
<script src="local:///chrome/webworks.js"></script>
Finally, just to confirm the issue then, is it that the BlackBerry 10 Dev Alpha simulator is not successfully playing the following element (from index.html)?
<audio controls="controls"> <source src="http://audio-online.net:8015/live" > Your browser does not support the audio element. </audio>
12-04-2012 06:44 PM
12-04-2012 06:50 PM
12-04-2012 06:52 PM
12-04-2012 07:15 PM
Seems there is a known issue with Audio in the Dev Alpha simulator. At the root, this looks like a codec issue as some people have mentioned. You can find a little more information about this here:
https://www.blackberry.com/jira/browse/BBTEN-408
In short though, it appears that WAV is the go-to for Dev Alpha testing (or was in the previous release), I just ran a quick test with the WAV in the noted case but still didn't get sound. Seems like this may require intervention by the Simulator development teams.
12-04-2012 07:31 PM
12-04-2012 07:36 PM
12-05-2012 02:36 AM