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
Contributor
rajasekar
Posts: 47
Registered: ‎02-22-2010
My Device: 9800
My Carrier: Application Developer

RTSP Streaming Problem with 3G InternetConnection!

Hi  All,

  

  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()) ;

_player.realize();

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

if (_vc != null) {

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

_vc.setVisible(true);

 }

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

 

 

Please Replay this Post As soon as possible we are waiting for this ..

Thanks & Regards,
Rajasekar
Please use plain text.
Contributor
rajasekar
Posts: 47
Registered: ‎02-22-2010
My Device: 9800
My Carrier: Application Developer

Re: RTSP Streaming Problem with 3G InternetConnection!

Hi All,

 

  For this last 2 week am doing this process But Still i didnt get Answer for this. Blackberry Development is very Wrost  thing. this is Big headache for me. Please anyone from Blackberry Community help this.I thing other mobile technology not giving this type of problems.

Thanks & Regards,
Rajasekar
Please use plain text.