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

New Contributor
Posts: 9
Registered: ‎01-02-2010
My Device: Bold 9930
My Carrier: Verizon

Re: RTSP Streaming Support

[ Edited ]

Yes, I can confirm, RTSP streaming does NOT work on my 9930.


On verizon, latest carrier official OS.

BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: RTSP Streaming Support

Can you provide a sample link that is not working?  Are you able to view videos on YouTube (which uses RTSP)?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 44
Registered: ‎08-28-2009
My Device: Not Specified

Re: RTSP Streaming Support

Generally if a URL plays through the Media Player app it does not always mean it will play fine on the Media Player through the API.

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

Re: RTSP Streaming Support

Actually, the Media Player application uses the same JSR-135 API's that you are using for RTSP streaming, there is nothing extra the app has access to that the API doesn't expose to you as well.


Do you have any example links that are not working?  If so we can see what the problem is exactly...

Posts: 1
Registered: ‎02-22-2012
My Device: Torch 9810
My Carrier: ATT

Re: RTSP Streaming Support

Sorry to bring up an old post. But does anyone have a solution to the RTSP streaming issues on the newer phones?

My Torch 9810 with version will not run any RTSP streams. Comes up with "An error has occured attempting to play media"

Verified that the stream works on my old Bold phone. I am specifically trying to stream IP security camera videos.
Posts: 47
Registered: ‎02-22-2010
My Device: 9800
My Carrier: Application Developer

Re: RTSP Streaming Support

HI Mr.Mark Sohm,

I have a RTSP link which i am trying to play within my application.

When i have connected with Wifi it works fine, But when connected with 3G there is no action or it just gives a blank screen. On runing with debug mode i found out it is throwing a Media exception as TUNNEL FAILED. Here is my code:-

public videoview()


_player = Manager.createPlayer(url+getConnectionString()) ;


 _vc = (VideoControl) _player.getControl("VideoControl");

if (_vc != null) {

_videoField = (Field) _vc.initDisplayMode (VideoControl.USE_GUI_PRIMITIVE, "net.rim.device.api.ui.Field");



if (_vc != null)

{ _vc.setDisplaySize(width, height);


 } URL is a RTSP link. Please let me know at the earliest. I think the getconnection string doesnot detect the 3g network so it is unable to play the video. If any one has a connectionstring with 3g connections available please let me know how to proceed

Thanks & Regards,
Posts: 17
Registered: ‎05-31-2013
My Device: Torch 9800
My Carrier: vodafone

Re: RTSP Streaming Support

RTSP support video running smoothly on all BB device with correct connection suffix, but its not running on BIS/ BES support device. please let me know if anyone knows about this ?

Posts: 17
Registered: ‎05-31-2013
My Device: Torch 9800
My Carrier: vodafone

Re: RTSP Streaming Support

which connection suffix  using for the 3G network, I mean its showing WAP2 suffix or TCP suufix.

If, its showing TCP network then you have tp pass the correct apn with username and password.



Naveen Kumar



Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: RTSP Streaming Support