Wowza Community

RTSP/RTP improvements including video on demand support (patch15 or greater)

Yes, as long as the content of the file is any of these audio/video formats: H.264, AAC, MP3.

Charlie

There is no need to install that particular patch. It is best to install the most recent version (2.1.2). Then read these two tutorials:

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

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

Charlie

Try this:

String rangeStr = req.getHeader(“range”);

Charlie

Redownload patch7 and re-apply. I made a mistake in the fix. It is fixed now.

Charlie

the right method is to get the RTPContext from the vhost and call:

RTPContext.shutdownRTPSession(RTPSession rtpSession);

Charlie

I don’t know of any other way to do this. We don’t have as much control over RTSP/RTP as we do Flash. There is also is not very much consistency between the players. So all we can do is drop the connection.

Charlie

You can re-stream an rtsp stream:

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

Richard

But it’s probably not what you want. I think the best solution is just to move the file from the RTSP server to Wowza content folder

Richard

Try IRTSPActionNotify

Richard

You can use Java file.io API in a Wowza module to delete a file.

Richard

Yes, absolutely. That’s they way to do it. And HTTProvider and ServerListener.

Richard

Test with VLC first, see if that works.

Richard

Check /conf/server12/Application.xml /RTP /Authentication /PlayMethod

Change from “digest” to “none”

Richard

If you are not able to play the sample either, you might have a configuration problem. Make sure Application.xml /RTP /Authentication /PlayMethod is set to “none”

Richard

Did you use this version Extremists.m4v?:

http://www.wowza.com/downloads/content/Extremists.m4v

Richard

Try this:

public void onRTPSessionDestroy(RTPSession rtpSession) {
	rtpSession.getRTSPStream().getStream().getElapsedTime();
}

Richard

There is some RTP/RTSP info in this HTTProvider example:

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

Not exactly what you are looking for, but maybe it will help figure out how.

Richard

No, It doesn’t work with H.264/AAC content. It will work with vp6 or sorenson spark encoding in flv files.

Richard

In Flash, the playStart, playLen, and playReset correspond to Nestream.play command arguments:

netstream.play(streamName, start, length, reset)

netstream.play("example.flv",0,-1,true)

These parameters don’t exist in IRTSPActionNotify onPlay.

Yes, I think rtpSession.getServerIP() returning clientIP may be a bug.

Richard

Charlie sent this patch:

http://www.wowza.com/downloads/WowzaMediaServer-2-2-3/WowzaMediaServer2.2.3-patch7.zip

It should fix the rtpSession.getServerIp() bug.

Richard