Welcome!

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

Reply
Highlighted
Developer
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://174.129.102.104/vod/mp4:nike.mp4");
                    Registry _registry=Registry.getRegistry(Application.getApplication().getClass().getName());
                    _registry.invoke(invocation);

 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

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

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

Hi!

 

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).