11-25-2011 03:42 AM
I have developed my first app on WebWorks (straming audio), everything works great on Ripple but once I pack & sign the app for deploitment, the device doesnt run it when I installed using the browser.
I have already check the <access uri="*" />, sign the app for secure api (im using audio.player) and I dont know what else to check to be able to make my app works as spected.
Any advice it will be appreciate it.
Solved! Go to Solution.
11-25-2011 09:18 AM
Can you please post up your OS version and device that you are deploying to (i.e. Torch 9800 v184.108.40.206) and also how you are streaming your audio.. i.e. via the <audio> tags.
There is varying support for streaming Audio depending on the BlackBerry OS version that is running and the codec that is being used.
11-25-2011 10:54 AM
6.0 paquete 2391 (v220.127.116.114, , plataforma 18.104.22.168)
In this url is the complete code that Im using so far.
<p align="center" id="audiofile">
var playerInstance = null;
playerInstance = new blackberry.audio.Player("http://stream01.streaming.com.mx:8000/;stream/1");
11-25-2011 11:06 AM
Ah.. The AudioPlayer class is intended to fill the void on BB5 where html5 <audio> was not supported and does not support streaming. I would suggest that you try the <html5> audio tags on BB6.
The AudioPlayer class is layered on top of html5 audio in the Ripple emulator so that we can emulate this API.
11-25-2011 02:16 PM
As suggested it, I used the AUDIO tag from HTML5
Eliminate the audioplayer.js and the app works as expected, thanks.