Wowza Community

unable to stream rtsp live stream url without extension

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

Can you explain where Wowza fits into this? Is that the IP of your Wowza server? If so, you need to specify an application name.

See the RTSP tutorial: https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtsp-rtp-based-encoder