Hello All, I am writing an application to show live streaming of an IPCamera. Please note am not using any of the external servers. It is all handled by my client. The client is sending me an rtsp URL which keeps changing.It looks like rtsp://122.166.229.151:1950/1347984ae50a09. This is not a constant url. It keeps varying. I am having difficulty to show this url content in my phone. I can successfully play rtsp links ending with an extension (/3gp,sdp,mp3). But I am not able to play this URL. I even streamed wowza mobile test url of bigbunny.mov successfully. Following is my code.Please guide me why I cant stream live rtsp video without extension.
VideoView videoView = (VideoView) findViewById(R.id.tvvideoView);
MediaController mediaController = new MediaController(this);
mediaController.setAnchorView(videoView);
Uri video = Uri.parse(" rtsp://122.166.229.151:1950/1347984ae50a09");
System.out.println("RTSP response value in videoplay after URI = "+rtspresponse);
videoView.setMediaController(mediaController);
videoView.setVideoURI(video);
videoView.start();
I am not able to stream rtsp URLs of this kind