Wowza Community

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

I guess there is a chance that these phones do not support MP3 over RTSP/RTP. Are you able to play our test RTSP/RTP stream on either of these phones:

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

Charlie

Also, what is the video and audio codec being used? We currently only support h.264 and AAC.

Charlie

Also, see this post. It describes how to turn off QuickTime Windows acceleration which is most likley the reason the video is not displayed:

http://www.wowza.com/forums/showthread.php?t=7870

Charlie

I guess those devices are not compatible with Wowza.

Charlie

I don’t know. The http://www.wowza.com/mobile.html setup is pretty optimal. At this time we don’t have the resources to investigate individual handsets.

Charlie

You need to be sure UDP ports are wide open on your firewall and router.

Be sure you are running the most recent version of Wowza:

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

Also, follow the instructions here:

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

The application.xml on on server is:

<Root>
	<Application>
		<!-- Uncomment to set application level timeout values
		<ApplicationTimeout>60000</ApplicationTimeout>
		<PingTimeout>12000</PingTimeout>
		<ValidationFrequency>8000</ValidationFrequency>
		<MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
		<MaximumSetBufferTime>60000</MaximumSetBufferTime>
		<MaximumStorageDirDepth>25</MaximumStorageDirDepth>
		-->
		<Connections>
			<AutoAccept>true</AutoAccept>
			<AllowDomains></AllowDomains>
		</Connections>
		<!--
			StorageDir path variables
			
			${com.wowza.wms.AppHome} - Application home directory
			${com.wowza.wms.ConfigHome} - Configuration home directory
			${com.wowza.wms.context.VHost} - Virtual host name
			${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
			${com.wowza.wms.context.Application} - Application name
			${com.wowza.wms.context.ApplicationInstance} - Application instance name
			
		-->
		<Streams>
			<StreamType>default</StreamType>
			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater -->
			<LiveStreamPacketizers></LiveStreamPacketizers>			
			<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
			<Properties>
			</Properties>
		</Streams>
		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming -->
		<HTTPStreamers>sanjosestreaming,cupertinostreaming,smoothstreaming</HTTPStreamers>			
		<SharedObjects>
			<StorageDir></StorageDir>
		</SharedObjects>
		<Client>
			<IdleFrequency>-1</IdleFrequency>
			<Access>
				<StreamReadAccess>*</StreamReadAccess>
				<StreamWriteAccess>*</StreamWriteAccess>
				<StreamAudioSampleAccess></StreamAudioSampleAccess>
				<StreamVideoSampleAccess></StreamVideoSampleAccess>
				<SharedObjectReadAccess>*</SharedObjectReadAccess>
				<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
			</Access>
		</Client>
		<RTP>
			<!-- RTP/Authentication/[type]Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
			<Authentication>
				<PublishMethod>none</PublishMethod>
				<PlayMethod>none</PlayMethod>
			</Authentication>
			<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
			<AVSyncMethod>senderreport</AVSyncMethod>
			<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
			<RTSPSessionTimeout>90000</RTSPSessionTimeout>
			<RTSPMaximumPendingWriteBytes>0</RTSPMaximumPendingWriteBytes>
			<RTSPBindIpAddress>10.249.35.81</RTSPBindIpAddress>
			<RTSPConnectionIpAddress>174.129.153.104</RTSPConnectionIpAddress>
			<RTSPOriginIpAddress>174.129.153.104</RTSPOriginIpAddress>
			<IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
			<!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
			<Properties>
			</Properties>
		</RTP>
		<MediaCaster>
			<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
			<Properties>
			</Properties>
		</MediaCaster>
		<MediaReader>
			<!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
			<Properties>
			</Properties>
		</MediaReader>
		<LiveStreamPacketizer>
			<!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
			<Properties>
			</Properties>
		</LiveStreamPacketizer>
		<HTTPStreamer>
			<!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
			<Properties>
			</Properties>
		</HTTPStreamer>
		<Repeater>
			<OriginURL></OriginURL>
			<QueryString><![CDATA[]]></QueryString>
		</Repeater> 
		<Modules>
			<Module>
				<Name>base</Name>
				<Description>Base</Description>
				<Class>com.wowza.wms.module.ModuleCore</Class>
			</Module>
			<Module>
				<Name>properties</Name>
				<Description>Properties</Description>
				<Class>com.wowza.wms.module.ModuleProperties</Class>
			</Module>
			<Module>
				<Name>logging</Name>
				<Description>Client Logging</Description>
				<Class>com.wowza.wms.module.ModuleClientLogging</Class>
			</Module>
			<Module>
				<Name>flvplayback</Name>
				<Description>FLVPlayback</Description>
				<Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
			</Module> 
		</Modules>
		<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
		<Properties>
		</Properties>
	</Application>
</Root>

Chalrie

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