05-19-2010 09:05 PM
No, RTSP streaming is not supported from within a widget.
The reason why is because the underlying BrowserField2 object used by the Widget framework does not have a request handler assigned to the RTSP protocol (it does for other protocols, like http, https, local, file, etc).
I'd recommend instead invoking the native BlackBerry Media application, passing it the URL of the audio stream.
05-20-2010 08:05 AM
In API widget documentation I don't see how to invoke the native middle application:
I used this but does not work:
var args = new blackberry.invoke.JavaArguments('net_rim_bb_medial
ibraryplayer'); blackberry.invoke.invoke(blackberry.invoke.APP_JAV A, args); // Java
What is the module to pass it as parameter to JavarArguments?