Rtsp Playback

Hi,

Am using wowza version 3.6.2.

I have set my ‘live’ application where i could stream using rtmp and also view via rtmp.

But now i want to stream using rtmp and view via rtsp as well as rtmp. Where do i need to enable rtsp setting in my Appplication.xml?

I followed this tutorial https://www.wowza.com/docs/how-to-playback-on-rtsp-rtp-players , but it doesn’t work for me.

I tried to play the default mp4 file([install-dir]/content/sample.mp4) in wowza as, rtsp://localhost:1935/vod/mp4:sample.mp4 .It doesn’t work out.

There is no error in log file too.

Please help me where am wrong ?

Thanks,

Sharmi.

to watch a vod (the sample) you should use : rtsp://localhost:1935/vod/sample.mp4

i assume you are running it on your windows server and want to watch it locallly.

if you run it on one of your clients use this in vlc: rtsp://server-ip-address:1935/vod/sample.mp4

it works with the basic/or default vod application.xml

Thank you !

It worked for me :slight_smile:

Since i used the perfix mp4 , it doesn’t work it seems.

But now its not playing for the flv files. Showing the error msg as ‘Cannot play the video’.

I have a sample.flv file in the same path of the sample.mp4 and gave the rtsp url as,

rtsp://server-ip-address:1935/vod/sample.flv

Am I wrong giving the url?

Yes, am using strobe media playback to play the flv file.

But in android phones without using flash i want to play the recorded(flv) files. Is that possible?

Only using rtsp we can play the video files in android phone without the support of flash. So i need the same for the flv files too.

Is there any other way to play the flv files in android phones without the support of flash?

But now android doesn’t support flash right? So there is no way to play the flv files in android phone?

Because in the production server of wowza all the vod files are in flv format and most of the customers need to play the video in android phone. Is the only solution is to use the mp4 files alone?

Thank you! I will go with the mp4 files.

The mp4 prefix works on livestreams. if you put mp4:stream to your broadcasting url you tell wowza to record or play it as an mp4 stream. if you record it it will save as an mp4 and not as an flv.

glad it worked for you.

how do you ‘call’ the flv stream? you should be able to use it lets say jwplayer. flash is not on rtsp but on rtmp.

can you try to use a webplayer (jwplayer, flowplayer or something else) to get the stream for you?

rtmp://server-ip-address:1935/vod/sample.flv

when you are considering to live or live-record mp4 files you will also be able to use them in both settings. rtsp and rtmp to your webplayer.

so make sure what kind of setup you want to achieve.

you want to be able to play flash on devices without flash? thats not gonna work.

why don’t you switch to the mp4?

i hope someone else can you help you out on this. but as far as i know, none flash devices cant play flash. same with ipad/iphone,etc which doesnt support flash.