Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 326
Registered: ‎02-02-2009
My Device: Not Specified

Protocol not found: net.rim.device.cldc.io.rtsp.Protocol

When I tried to open rtsp url using the following code


Invocation invocation = new Invocation("rtsp://");
                    Registry _registry=Registry.getRegistry(Application.getApplication().getClass().getName());

 getting exception java.io.IOException: Protocol not found: net.rim.device.cldc.io.rtsp.Protocol

how resolve this , if cant open media player like this with rtsp url please suggest me another method,

I want to open media player without calling BrowserSession

Posts: 150
Registered: ‎10-19-2010
My Device: Not Specified
My Carrier: Rogers

Re: Protocol not found: net.rim.device.cldc.io.rtsp.Protocol



The ability to open the media player with RTSP urls was only added in BlackBerry OS 6.0 and higher.  The only way to do it in previous BlackBerry OS versions is to use the browser (which you don't want to do), or create a javax.microedition.media.Player object and implement your own UI and controls for it (which is a lot more work but is still an option).