02-29-2012 09:10 PM
I have a web app that streams audio.
When I start it and select a stream, that stream plays as expected.
When I attempt to switch from that stream to another url, the program gets to the point where the new url is bufferred, but nothing plays. I don't hear anything. Any idea what may be going on here?
Solved! Go to Solution.
03-01-2012 12:20 AM
Also seeing this problem on OS7 device, but with slightly different befhavior.
On the OS7 Torch, my tester is saying that the whole app crashes when she tries to switch to a different stream.
On the OS6 devices it doesn't crash but sits there and says that it is buffering data but no audio comes out.
Again, none of this behavior appears on the Ripple Emulator or in Chrome.
03-01-2012 08:56 AM - edited 03-01-2012 08:56 AM
Here's my code:
//global audio variable here
var audio = new Audio;
//Then within an function in the same jscipt file, I set the url. It's
//when this runs a second time with a different url that it stalls.
Can anybody help? I can't really go forward unless I can get past this problem.
03-05-2012 05:02 PM
I've been researching this issue for several days and tried numerous approaches to get this to work.
Nothing seems to work. I am pretty sure at this point that the code I have SHOULD work and that there is a bug in the Blackberry browser. I am now trying to set an audio element up in an external webpage and then reference that audio element in an iframe that's insertiged in my main page. I don't like going this route because with additional complexity there's more that can go wrong.
RIM, can you give any direction here? Urgently trying to get this project completed but I can't release a program that I knnow people are going to have to repeatedly restart.
03-09-2012 06:12 PM
I'll take a look at it. What devices and OS's have you tried? Can you provide the full OS versions?
Have you tried creating a new Audio element, instead of changing the source?
03-09-2012 07:00 PM
THANK YOU THANK YOU THANK YOU!
I have tried creating an element, yes, but had the same result.
My test device is a Curve 9330 running v18.104.22.1684.
I also tested on an OS7 device but don't have the precise version.
If I can get this working, my app, which i've been working on for about five months, is good to go. Please tell me if you're able to find a solution or if you aren't. I'd appreciate that.
03-12-2012 02:38 PM
I've been able to make this work very well on PlayBook, but found a test site that suggests BlackBerry 6 doesn't support it (though BlackBerry 7 is supposed to). Have you tried reinitializing the audio object on 6.0? I'm still investigating but wanted to give you a quick update.
03-13-2012 06:11 AM