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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums on April 1st. BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com


Reply
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

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