Results 1 to 3 of 3

Thread: Wowza Axis re-streaming problems ( RTPMediaCaster.Reconnector )

  1. #1
    Join Date
    Jul 2012
    Posts
    9

    Default Wowza Axis re-streaming problems ( RTPMediaCaster.Reconnector )

    Hi,

    I'm trying to re-stream an RTSP stream from my Axis IP-camera.

    I've tested the stream, with VLC and pasted following URL: rtsp://10.1.102.231/axis-media/media.amp
    Everything works fine.

    I've tried to do the same thing through wowza, with the following guide:
    http://www.wowza.com/forums/content....e-streaming%29

    /usr/local/WowzaMediaServer# cat conf/demo_live1/Application.xml

    <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> -->
    			<StreamType>live</StreamType>
    			<StorageDir>/tmp</StorageDir>
    			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater, dvrstreamingpacketizer, dvrstreamingrepeater -->
    			<LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
    			<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    			<Properties>
    			</Properties>
    		</Streams>
    		<Transcoder>
    			<!-- To turn on transcoder set to: transcoder -->
    			<LiveStreamTranscoder></LiveStreamTranscoder>
    			<!-- [templatename].xml or ${SourceStreamName}.xml -->
    			<Templates>${SourceStreamName}.xml,transrate.xml</Templates>
    			<ProfileDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles</ProfileDir>
    			<TemplateDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/templates</TemplateDir>
    			<Properties>
    			</Properties>
    		</Transcoder>
    
    		<DVR>
    			<!-- As a single server or as an origin, use dvrstreamingpacketizer in LiveStreamPacketizers above -->
    			<!-- Or, in an origin-edge configuration, edges use dvrstreamingrepeater in LiveStreamPacketizers above -->
    			<!-- As an origin, also add dvrchunkstreaming to HTTPStreamers below -->
    
    			<!-- To turn on DVR recording set Recorders to dvrrecorder.  This works with dvrstreamingpacketizer  -->
    			<Recorders></Recorders>
    
    			<!-- As a single server or as an origin, set the Store to dvrfilestorage-->
    			<!-- edges should have this empty --> -->
    			<Store></Store>
    
    			<!--  Window Duration is length of live DVR window in seconds.  0 means the window is never trimmed. -->
    			<WindowDuration>0</WindowDuration>
    
    			<!-- Storage Directory is top level location where dvr is stored.  e.g. c:/temp/dvr -->
    			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/dvr</StorageDir>
    
    			<!-- valid ArchiveStrategy values are append, version, delete -->
    			<ArchiveStrategy>append</ArchiveStrategy>
    
    			<!-- If this is a dvrstreamingrepeater, define ChunkOriginURL to point back to origin -->
    			<!-- And define Application/Repeater/OriginURL to point back to the origin -->
    			<Repeater>
    				<ChunkOriginURL></ChunkOriginURL>
    			</Repeater>
    
    			<!-- Properties for DVR -->
    			<Properties>
    			</Properties>
    		</DVR>
    
    		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming -->
    		<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</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>digest</PublishMethod>
    				<PlayMethod>none</PlayMethod>
    			</Authentication>
    			<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
    			<AVSyncMethod>senderreport</AVSyncMethod>
    			<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
    			<IdleFrequency>75</IdleFrequency>
    			<RTSPSessionTimeout>90000</RTSPSessionTimeout>
    			<RTSPMaximumPendingWriteBytes>0</RTSPMaximumPendingWriteBytes>
    			<RTSPBindIpAddress></RTSPBindIpAddress>
    			<RTSPConnectionIpAddress>0.0.0.0</RTSPConnectionIpAddress>
    			<RTSPOriginIpAddress>127.0.0.1</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>
    		<MediaWriter>
    			<!-- Properties defined here will override any properties defined in conf/MediaWriter.xml for any MediaWriter loaded by this applications -->
    			<Properties>
    			</Properties>
    		</MediaWriter>
    		<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>
    				<Property>
    					<Name>smoothStreamingUseSMILBitrates</Name>
    					<Value>true</Value>
    					<Type>Boolean</Type>
    				</Property>
    					
    			</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>
    cat /tmp/camera.stream
    rtsp://10.1.102.231/axis-media/media.amp
    Starting stream in Stream Manager:


    ping 10.1.102.231
    PING 10.1.102.231 (10.1.102.231) 56(84) bytes of data.
    64 bytes from 10.1.102.231: icmp_req=1 ttl=62 time=2.62 ms
    64 bytes from 10.1.102.231: icmp_req=2 ttl=62 time=2.29 ms
    64 bytes from 10.1.102.231: icmp_req=3 ttl=62 time=2.30 ms


    tail -f logs/wowzamediaserver_access.log
    	application	app-start	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.452	-	-	-	-	-	200	demo_live1/_definst_
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.458	-	-	-	-	-	200	RTPMediaCaster.create[1906395790]
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.459	-	-	-	-	-	200	RTPMediaCaster.init[1906395790]
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.463	-	-	-	-	-	200	RTPMediaCaster.Reconnector[1906395790:demo_live1/_definst_:camera.stream]: start: 1
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.481	-	-	-	-	-	200	HTTPStreamManager.onHTTPRequest: Publish stream successfully started [demo_live1/_definst_]: flv:camera.stream
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.591	-	-	-	-	-	200	RTPSessionTracker.add[rtsp://10.1.102.231:554/axis-media/media.amp]: 1
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.615	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.1.102.231:554/axis-media/media.amp/trackID=1
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.803	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:47FA046A sessionTimeout:60000
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.837	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasic.getStreamInfo[demo_live1/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    demo_live1	stream	create	2012-07-04	13:07:23	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.009	0	-	known	-	571330287	200	-
    demo_live1	server	comment	2012-07-04	13:07:23	CEST	127.0.0.1	0	0	-	-	-	-	7396.895	-	-	known	-	571330287	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6970
    demo_live1	server	comment	2012-07-04	13:07:23	CEST	127.0.0.1	0	0	-	-	-	-	7396.897	-	-	known	-	571330287	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6971
    demo_live1	stream	publish	2012-07-04	13:07:23	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.05	0	-	known	-	571330287	200	-
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.913	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.913	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp/
    -	server	comment	2012-07-04	13:07:23	CEST	-	-	-	-	-	-	-	7396.914	-	-	-	-	-	200	RTPMediaCaster.Reconnector[1906395790:demo_live1/_definst_:camera.stream]: done: 1
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.183	-	-	-	-	-	200	RTPMediaCaster.streamTimeout[1906395790:demo_live1/_definst_:camera.stream]: timeout:12000 diff:12006 reason:101
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.183	-	-	-	-	-	200	RTPMediaCaster.resetConnection[1906395790:demo_live1/_definst_:camera.stream]: 
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.184	-	-	-	-	-	200	RTPMediaCaster.closeRTPSession[1906395790:demo_live1/_definst_:camera.stream]
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.186	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.188	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.189	-	-	-	-	-	200	RTPUDPTransport.unbind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6970 sent:0 recv:0
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.193	-	-	-	-	-	200	RTPSessionTracker.remove[rtsp://10.1.102.231:554/axis-media/media.amp]: 0:true
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.195	-	-	-	-	-	200	RTPUDPTransport.unbind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6971 sent:0 recv:0
    demo_live1	stream	unpublish	2012-07-04	13:07:36	CEST	127.0.0.1	0	0	camera.stream	0	-	-	12.35	0	-	known	-	571330287	200	-
    demo_live1	stream	destroy	2012-07-04	13:07:36	CEST	127.0.0.1	0	0	camera.stream	0	-	-	12.352	0	-	known	-	571330287	200	-
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.201	-	-	-	-	-	200	RTPMediaCaster.Reconnector[1906395790:demo_live1/_definst_:camera.stream]: start: 2
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.312	-	-	-	-	-	200	RTPSessionTracker.add[rtsp://10.1.102.231:554/axis-media/media.amp]: 1
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.342	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.1.102.231:554/axis-media/media.amp/trackID=1
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.539	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:4EB9DDEF sessionTimeout:60000
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.559	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasic.getStreamInfo[demo_live1/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    demo_live1	stream	create	2012-07-04	13:07:36	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.001	0	-	known	-	41861565	200	-
    demo_live1	server	comment	2012-07-04	13:07:36	CEST	127.0.0.1	0	0	-	-	-	-	7409.563	-	-	known	-	41861565	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6972
    demo_live1	server	comment	2012-07-04	13:07:36	CEST	127.0.0.1	0	0	-	-	-	-	7409.564	-	-	known	-	41861565	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6973
    demo_live1	stream	publish	2012-07-04	13:07:36	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.005	0	-	known	-	41861565	200	-
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.565	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.566	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp/
    -	server	comment	2012-07-04	13:07:36	CEST	-	-	-	-	-	-	-	7409.567	-	-	-	-	-	200	RTPMediaCaster.Reconnector[1906395790:demo_live1/_definst_:camera.stream]: done: 2
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.706	-	-	-	-	-	200	RTPMediaCaster.streamTimeout[1906395790:demo_live1/_definst_:camera.stream]: timeout:12000 diff:12005 reason:101
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.706	-	-	-	-	-	200	RTPMediaCaster.resetConnection[1906395790:demo_live1/_definst_:camera.stream]: 
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.707	-	-	-	-	-	200	RTPMediaCaster.closeRTPSession[1906395790:demo_live1/_definst_:camera.stream]
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.707	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.709	-	-	-	-	-	200	RTPUDPTransport.unbind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6972 sent:0 recv:0
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.71	-	-	-	-	-	200	RTPUDPTransport.unbind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6973 sent:0 recv:0
    demo_live1	stream	unpublish	2012-07-04	13:07:48	CEST	127.0.0.1	0	0	camera.stream	0	-	-	12.151	0	-	known	-	41861565	200	-
    demo_live1	stream	destroy	2012-07-04	13:07:48	CEST	127.0.0.1	0	0	camera.stream	0	-	-	12.152	0	-	known	-	41861565	200	-
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.712	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.712	-	-	-	-	-	200	RTPMediaCaster.Reconnector[1906395790:demo_live1/_definst_:camera.stream]: start: 3
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.713	-	-	-	-	-	200	RTPSessionTracker.remove[rtsp://10.1.102.231:554/axis-media/media.amp]: 0:true
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.833	-	-	-	-	-	200	RTPSessionTracker.add[rtsp://10.1.102.231:554/axis-media/media.amp]: 1
    -	server	comment	2012-07-04	13:07:48	CEST	-	-	-	-	-	-	-	7421.871	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.1.102.231:554/axis-media/media.amp/trackID=1
    -	server	comment	2012-07-04	13:07:49	CEST	-	-	-	-	-	-	-	7422.044	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:1A4807E9 sessionTimeout:60000
    -	server	comment	2012-07-04	13:07:49	CEST	-	-	-	-	-	-	-	7422.082	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasic.getStreamInfo[demo_live1/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    demo_live1	stream	create	2012-07-04	13:07:49	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.001	0	-	known	-	2072832738	200	-
    demo_live1	server	comment	2012-07-04	13:07:49	CEST	127.0.0.1	0	0	-	-	-	-	7422.086	-	-	known	-	2072832738	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6974
    demo_live1	server	comment	2012-07-04	13:07:49	CEST	127.0.0.1	0	0	-	-	-	-	7422.088	-	-	known	-	2072832738	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6975
    demo_live1	stream	publish	2012-07-04	13:07:49	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.005	0	-	known	-	2072832738	200	-
    -	server	comment	2012-07-04	13:07:49	CEST	-	-	-	-	-	-	-	7422.089	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp
    -	server	comment	2012-07-04	13:07:49	CEST	-	-	-	-	-	-	-	7422.089	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp/
    -	server	comment	2012-07-04	13:07:49	CEST	-	-	-	-	-	-	-	7422.09	-	-	-	-	-	200	RTPMediaCaster.Reconnector[1906395790:demo_live1/_definst_:camera.stream]: done: 3
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.217	-	-	-	-	-	200	RTPMediaCaster.streamTimeout[1906395790:demo_live1/_definst_:camera.stream]: timeout:12000 diff:12005 reason:101
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.217	-	-	-	-	-	200	RTPMediaCaster.resetConnection[1906395790:demo_live1/_definst_:camera.stream]: 
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.218	-	-	-	-	-	200	RTPMediaCaster.closeRTPSession[1906395790:demo_live1/_definst_:camera.stream]
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.218	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.219	-	-	-	-	-	200	RTPUDPTransport.unbind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6974 sent:0 recv:0
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.219	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.22	-	-	-	-	-	200	RTPSessionTracker.remove[rtsp://10.1.102.231:554/axis-media/media.amp]: 0:true
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.22	-	-	-	-	-	200	RTPUDPTransport.unbind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6975 sent:0 recv:0
    demo_live1	stream	unpublish	2012-07-04	13:08:01	CEST	127.0.0.1	0	0	camera.stream	0	-	-	12.139	0	-	known	-	2072832738	200	-
    demo_live1	stream	destroy	2012-07-04	13:08:01	CEST	127.0.0.1	0	0	camera.stream	0	-	-	12.139	0	-	known	-	2072832738	200	-
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.223	-	-	-	-	-	200	RTPMediaCaster.Reconnector[1906395790:demo_live1/_definst_:camera.stream]: start: 4
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.348	-	-	-	-	-	200	RTPSessionTracker.add[rtsp://10.1.102.231:554/axis-media/media.amp]: 1
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.385	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: SETUP: rtsp://10.1.102.231:554/axis-media/media.amp/trackID=1
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.551	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:3E938E34 sessionTimeout:60000
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.597	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasic.getStreamInfo[demo_live1/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    demo_live1	stream	create	2012-07-04	13:08:01	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.001	0	-	known	-	557746711	200	-
    demo_live1	server	comment	2012-07-04	13:08:01	CEST	127.0.0.1	0	0	-	-	-	-	7434.601	-	-	known	-	557746711	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6976
    demo_live1	server	comment	2012-07-04	13:08:01	CEST	127.0.0.1	0	0	-	-	-	-	7434.602	-	-	known	-	557746711	200	RTPUDPTransport.bind[demo_live1/_definst_]: 0.0.0.0/0.0.0.0:6977
    demo_live1	stream	publish	2012-07-04	13:08:01	CEST	127.0.0.1	0	0	camera.stream	0	-	-	0.005	0	-	known	-	557746711	200	-
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.604	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.604	-	-	-	-	-	200	RTPSessionDescriptionDataProviderBasicRTSPWorker.processResponse: PLAY: rtsp://10.1.102.231:554/axis-media/media.amp/
    -	server	comment	2012-07-04	13:08:01	CEST	-	-	-	-	-	-	-	7434.605	-	-	-	-	-	200	RTPMediaCaster.Reconn
    As you see, it keeps on retconnecting, and I can not connect to rtmp://[wowza-address]:1935/demo_live1/_definst_/camera.stream
    If i try to call the manifest file with http://&#91;wowza-address]:1935/demo_liv...tream/Manifest
    The page is blank and the log says:
    -	server	comment	2012-07-04	13:30:18	CEST	-	-	-	-	-	-	-	1375.411	-	--	-	-	200	HTTPStreamerAdapterSmoothStreamer.onManifest: LiveStreamPacketizer not found [demo_live1/camera.stream_rtp/Manifest]: smoothstreamingpacketizer
    Hope to get some feedback, so i can start using my wowza cluster for rtsp re-streaming

  2. #2
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    Looking through the Application.xml and the tutorial I have noticed that you are missing this <property> :

    <MediaCaster>
         <RTP>
              <RTSP>
                   <!-- udp, interleave -->
         		<RTPTransportMode>interleave</RTPTransportMode>
              </RTSP>
         </RTP>
         <!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
         <Properties>
         </Properties>
    </MediaCaster>
    Although it says :
    "Starting with version 3.0.4, the forceInterleaved property is no longer needed in MediaCaster/Properties as the built-in default configuration comes with the settings below. This will work for most cameras."

    It also says :
    "Note: If your camera does not support RTSP/RTP interleaved (RTP over TCP), then you will need to change the RTPTransportMode value from interleave to udp."

    So change the RTP Transport Mode to udp Like this :
    <RTPTransportMode>udp</RTPTransportMode>
    Let us know how you get on and it this resolves this issue

    Jason

  3. #3
    Join Date
    Jul 2012
    Posts
    9

    Default

    Hi Jason,

    I added:

    <RTP>
    <RTSP>
    <!-- udp, interleave -->
    <RTPTransportMode>interleave</RTPTransportMode>
    </RTSP>
    </RTP>


    and then restarded the stream, and it worked!
    Thank you so much.

    I've just tested it with an orgin / egde wowza setup, and it worked as well - im happy! Thank you again!

Similar Threads

  1. Streaming problems with AXIS M3204 IP camera
    By nirbhay in forum Live Streaming and Encoder Discussion
    Replies: 7
    Last Post: 11-20-2014, 02:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •