Wowza Community

How to best setup an application for RTSP/RTP streaming

https://www.wowza.com/docs/how-to-set-up-an-application-for-rtsp-rtp-streaming

I have not seen this mentioned before bumping into it today on the forum…what are the implications if the settings are left at default?

Does this only affect RTP via UDP and not iRTP?

Richard

We’re currently restreaming an icecast stream through wowza to mobile devices.

I’d like to know how to change the stream name display from “WowzaMediaServer” to our own station name instead?

The defaults are OK in many cases. It really has to do with how the player send data back to the Wowza.

Charlie

First, be sure you are running 2.1.1. If not install the most recent patch from here:

http://www.wowza.com/devbuild.html

Then install this patch:

WowzaMediaServer2.1.1-patch1.zip

It should fix the problem with MPEG2-TS out when streaming video on demand content.

Charlie

Wowza support vod rtsp, but not .ts files

Richard

Take a look at these two guides:

Video on demand

(All you really need to change to get in the default Application.xml for rtsp video on deamn is /RTP /Authentication /PlayMethod from “digest” to “none”)

RTSP/RTP improvements including video on demand support

Richard

It should be:

rtsp://[wowza-ip-address]:1935/vod/[stream-name]

Where [stream-name] is an .mp4 or .m4v or other supported container with h.264 contents. Wowza doesn’t support .ts files.

You can do live mpeg-ts using .stream files:

https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-mpeg-ts-based-encoder

Richard

It’s configured right, except that you should take out the packetizers in LiveStreamPacketizers, though they are not affecting this use case. Change to:

<LiveStreamPacketizers></LiveStreamPacketizers>

This video plays okay in Flash from your server. In VLC I get audio only. You might want to simplify the encoding. Make it Baseline 3.

Notice that the Extremists.m4v plays fine in VLC:

rtsp://92.x.x.x:1935/vodas/mp4:Extremists.m4v

btw, your full IP is shown in the Application.xml, which is how I tested

Richard

right, you don’t need forceMPEGTSOut property for vod either. I doubt it had any effect though.

Edit: " forceMPEGTSOut" does work for vod.

Richard

I tested it with VLC with rtsp vod from your server, so it is working. But not all players and devices are going to work. If it works in VLC but not in another player, then you might be able to get it working by simplifying the encoding, or it might be a connectivity problem with the device.

Richard

I’m not sure about your stb. I’m confused by the mpeg-ts references, seems irrelevant.

Again, Wowza supports rtsp vod with .mp4, m4v, etc. But Wowza does not support .ts files for vod rtsp.

But the video nba.mp4 is not a .ts file, and it could work. But in my test with VLC I found that only audio worked and video did not work for that file. So I suggested that if you simplify the encoding, video might work, as does the Extremists.m4v video.

I can’t help with the stb. Otherwise you are doing it right.

Richard

That diagram shows Live Streaming: “Live H.264 HE/AAC”

Richard

Also, try putting back the forcempegtsout flag.

<Property>
<Name>forceMPEGTSOut</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>

Richard

It can work with rtsp and vod content with the right format and container.

Richard

Make sure it is well formed. There was an extra Property tag at bottom.

<Property>
<Name>forceMPEGTSOut</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>

Richard

Looks right. I think this Property is required also:

<Property>
<Name>rtpWrapMPEGTS</Name>
<Value>true</Value>
<Type>Boolean</Type>
</Property>

Richard

Okay. Sorry it’s not working. It’s difficult to trouble-shoot from here without the box. Let us know how it goes.

Richard

mpeg-ts is supported by Wowza. But I do not know how to trouble-shoot the problem you are having with this STB. I will forward this posting to support. It might be a few days to get a response, I can’t say for sure how long or if a solution will result that way either.

Richard

The idea is to use vod rtsp url with the .mp4 file with the forceMPEGTSOut and rtpWrapMPEGTS properties.

It is possible that the STB expects a .ts file. If so, it is possible that you could use StreamNameAlias package to make this work. But I am not at all sure, and at a disadvantage without the STB to test with myself.

Here is the StreamNamAlias package:

http://www.wowza.com/community/t/-/47

Richard