Wowza Community

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

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

There is not a way to send a message the client in RTSP streaming.

I think rtpSession.shutdown is the right option.

seek bar still moving a particular player is a player issue.

Richard

If for RTSP streaming, yes it is applicable for audio.

Richard

I saw the mobile streaming example from the link below posted above:

Direct RTSP/RTP URL (QuickTime player or VLC):

rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov

Does Wowza also support RTSP streaming of .3gp and .3g2 H.264 files for mobile devices?

Thanks,

Derrick

OK Thanks Charlie!

Also, for this example below…

Direct RTSP/RTP URL (QuickTime player or VLC):

rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov

Is there any other special configuration that needs to take place other than intalling the Wowza Media Server 2 patch15 to get the mobile streaming example working? Is port 1935 or port 80 being used?

Thanks,

Derrick

Great Charlie. Thanks

Derrick

Tested this out this afternoon - happily playing OD rtsp content on a variety of mobile devices, very nice work guys!!!

Will of course let you know of any issues we run in to!

Well, first of all thanks for implementing vod support!

I tested it today and it works quite well so far.

I had only some troubles with the request URIs.

If I use

server:1935/vod/mp4:path/file.mp4

as in your examples the error log complains about

INFO server comment - Error creating object name javax.management.MalformedObjectNameException: Invalid character ':' in value part of property

and the path is shortened to the first “/”

If I use

server:1935/vod/_definst_/mp4:path/file.mp4

everything works fine.

Am I doing something wrong?

Regards, MASHtm

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

seems to not work on my G1 (rooted, latest CyanoGen mod 5.07, Firmware version 2.1-update1, kernel version 2.6.33.3, build number EPE54B).

it just gives “Sorry, this video cannot be played.” message :frowning:

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

seems to not work on my G1 (rooted, latest CyanoGen mod 5.07, Firmware version 2.1-update1, kernel version 2.6.33.3, build number EPE54B).

it just gives “Sorry, this video cannot be played.” message :frowning:

Hm, I’ve just tested with local Wowza and it seems to work fine :slight_smile:

What API can be used to monitor stream pause/resume/seek ?

Hi! Two questions:

  1. IMediaStreamActionNotify2 has the following method

public void onPlay(IMediaStream s, String streamName, double playStart, double playLen, int playReset)

… and what is convenient is that it has playStart

… and onSeek has location, like other methods

but when using IRTSPActionNotify I do not understand how to get needed info from (for example)

public void onPlay(RTPSession rtspSession, RTSPRequestMessage req, RTSPResponseMessages resp)

please suggest how to do it…

  1. Is there a bug with RTPSession class?

I call session.getServerIp(), however I get ip of my android device, but not ip of my Wowza server.

Thank you!

Thank you, Richard!

However, as you know, RTSP allows seeking (as RTMP), so definitely there should be some way to guess to what point of video the player has seeked in IRTSPActionNotify (probably on in onPlay, bun in some other method).

When player does seek, Wowza in some way gets the new play position from player request, so technically there is nothing hard to give that position to code that uses Wowza API.

Please advice…