09-20-2011 06:29 AM
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
Thanks in advance
Krishnan.
09-20-2011 04:49 PM
Hi All,
Please tell me a solution for this.
The question is simple I am not able to stream RTSP link over 3g.
Is there anything that i can do for the above problem. This is urgent.
Please help me out guys.
Hope to hear from atleast a few of you
Thanks in Advance
Krishnan
09-22-2011 01:07 AM
Hi,
This about the same question that has been posted few days earlier.
I am connecting the rtsp link in my application by calling a mediaplayer.
the video is streamed properly only on WIFI network but not on any other network (eg:-3g, 2g, normal connection).
Error that is given Media Exception Tunnel failed.
Please suggest a solution.
Thanks & Regards
Murari Krishnan R.
05-25-2012 06:07 AM
Hi All,
Please tell me a solution for this. me also getting this same issue.
I am not able to stream RTSP link over 3g.
Is there anything that i can do for the above problem. This is urgent.
Please help me out guys.
Hope to hear from atleast a few of you
Thanks in Advance
Rajasekar
05-25-2012 06:15 AM
Hi Rajasekar,
I tried a lot but it dint work, but finally found a work around and settled with it.
I submited the rtsp link into a browser which starts a browser sesion and returns back into the application on completion of video.
Browser session doesnot have any problem whther the network is 3g or wifi.
Let me know if it was helpfull.
Regards,
Krishnan
05-28-2012 01:20 AM
05-28-2012 01:31 AM
Hi Rajasekar,
Sorry to tell this, i was not able to find any solution for that. did try it for some time but nothing really worked out.
But the issue is in the connection class where we specify the kind of network the data is transfered on. The connection class must be written for 3g also.
So it would be better if you could start another new thread where people might notice your problem and reply.
explain your problem properly, as i feel this thread was not replied properly only because i was not in a position to explain my probelm or be clear as to what i required.
Please do tag me also on the new thread if you post as i also would like to know the solution.
Thanks & Regards
Krishnan.
05-28-2012 02:26 AM