Results 1 to 5 of 5

Thread: Unable to get IP cam stream to play back in flash

  1. #1
    Join Date
    Jun 2009
    Posts
    9

    Default Unable to get IP cam stream to play back in flash

    I'm streaming from an IP camera and trying to get the rtplive application working. I've gone through the tutorial 5 times and still not playback. The access log looks like it's doing publishing, etc, but no play back in the flash playback widget. Below is some info from my setup. Any help is would be much appreciated.

    Here is my access log.
    Code:
    2010-05-29	01:43:50	CDT	create	stream	INFO	200	-	-	_defaultVHost_	rtplive	_definst_	0.001	-	80	null	127.0.0.1	rtsp	-	known	1152539497	0	0	26	0	0	0	camera.stream	-	-	-	-	-	null	null	-	null	-
    2010-05-29	01:43:50	CDT	publish	stream	INFO	200	camera.stream	-	_defaultVHost_	rtplive	_definst_	0.001	-	80	null	127.0.0.1	rtsp	known	1152539497	0	0	26	0	0	0	camera.stream	-	-	-	-	-	null	null	-	null	-
    2010-05-29	01:43:50	CDT	comment	server	INFO	200	-	RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:7020	-	-	-	421.93	-	-	-
    2010-05-29	01:43:50	CDT	comment	server	INFO	200	-	RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:7021	-	-	-	421.931	-	-	-
    2010-05-29	01:43:50	CDT	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://70.90.77.113:53321/axis-media/media.amp	-	-	-	421.931	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2010-05-29	01:43:50	CDT	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[17645325:rtplive/_definst_:camera.stream]: done: 26	-	-	-	421.93-
    2010-05-29	01:43:56	CDT	comment	server	INFO	200	-	RTCPHandler.sendFirstRTCPRR[883929383,7021,/70.90.77.113:50445]	-	-	-	427.298	-	-	-
    2010-05-29	01:43:56	CDT	comment	server	INFO	200	-	UDPTransport.firstPacket: 0.0.0.0/0.0.0.0:7021	-	-	-	427.299	-	-	-	-	-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPMediaCaster.shutdown[17645325:rtplive/_definst_:camera.stream]: camera.stream	-	-	-	429.653	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPMediaCaster.disconnect[17645325:rtplive/_definst_:camera.stream]	-	-	-	429.654	-	-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPMediaCaster.closeRTPSession[17645325:rtplive/_definst_:camera.stream]	-	-	-	429.65-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession	-	-	-	429.655	-	-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose	-	-	-	429.656	-	-	-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPSessionTracker.remove[rtsp://70.90.77.113:53321/axis-media/media.amp]: 0:true	-	-	-	429.656	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:7020	-	-	-	429.657	-	-	-
    2010-05-29	01:43:58	CDT	comment	server	INFO	200	-	RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:7021	-	-	-	429.657	-	-	-
    2010-05-29	01:43:58	CDT	unpublish	stream	INFO	200	camera.stream	-	_defaultVHost_	rtplive	_definst_	7.73	-	80	null	127.0.0.1	rtsp	-	known	1152539497	68	0	26	0	68	0	camera.stream	-	-	-	-	-	null	null	-	null	-
    2010-05-29	01:43:58	CDT	destroy	stream	INFO	200	camera.stream	-	_defaultVHost_	rtplive	_definst_	7.731	-	80	null	127.0.0.1	rtsp	known	1152539497	68	0	26	0	68	0	camera.stream	-	-	-	-	-	null	null	-	null	-
    More of the log from the my OS X install of Wowza
    Code:
    INFO application app-start _definst_ rtplive/_definst_
    INFO session connect-pending 0:0:0:0:0:0:0:1%0 -
    INFO session connect 0:0:0:0:0:0:0:1%0 -
    INFO stream create - -
    INFO server comment - MediaStreamMediaCasterPlay: startPlay
    INFO server comment - RTPMediaCaster.create[2016197766]
    INFO server comment - RTPMediaCaster.init[2016197766]
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: start: 1
    INFO server comment - RTPSessionTracker.add[rtsp://70.90.77.113:53321/axis-media/media.amp]: 1
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:C67CB0F5 sessionTimeout:60000
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    INFO stream create - -
    INFO stream publish camera.stream -
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6970
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6971
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://70.90.77.113:53321/axis-media/media.amp
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: done: 1
    INFO server comment - RTPMediaCaster.resetConnection[2016197766:rtplive/_definst_:camera.stream]: 
    INFO server comment - RTPMediaCaster.closeRTPSession[2016197766:rtplive/_definst_:camera.stream]
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    INFO server comment - RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6970
    INFO server comment - RTPSessionTracker.remove[rtsp://70.90.77.113:53321/axis-media/media.amp]: 0:true
    INFO server comment - RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6971
    INFO stream unpublish camera.stream -
    INFO stream destroy camera.stream -
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: start: 2
    INFO server comment - RTPSessionTracker.add[rtsp://70.90.77.113:53321/axis-media/media.amp]: 1
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:3103658E sessionTimeout:60000
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    INFO stream create - -
    INFO stream publish camera.stream -
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6972
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6973
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://70.90.77.113:53321/axis-media/media.amp
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: done: 2
    INFO server comment - RTPMediaCaster.resetConnection[2016197766:rtplive/_definst_:camera.stream]: 
    INFO server comment - RTPMediaCaster.closeRTPSession[2016197766:rtplive/_definst_:camera.stream]
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    INFO server comment - RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6972
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    INFO server comment - RTPSessionTracker.remove[rtsp://70.90.77.113:53321/axis-media/media.amp]: 0:true
    INFO server comment - RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6973
    INFO stream unpublish camera.stream -
    INFO stream destroy camera.stream -
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: start: 3
    INFO server comment - RTPSessionTracker.add[rtsp://70.90.77.113:53321/axis-media/media.amp]: 1
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:A7BB0913 sessionTimeout:60000
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    INFO stream create - -
    INFO stream publish camera.stream -
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6974
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6975
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://70.90.77.113:53321/axis-media/media.amp
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: done: 3
    INFO server comment - RTPMediaCaster.resetConnection[2016197766:rtplive/_definst_:camera.stream]: 
    INFO server comment - RTPMediaCaster.closeRTPSession[2016197766:rtplive/_definst_:camera.stream]
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession
    INFO server comment - RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6974
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose
    INFO server comment - RTPUDPTransport.unbind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6975
    INFO server comment - RTPSessionTracker.remove[rtsp://70.90.77.113:53321/axis-media/media.amp]: 0:true
    INFO stream unpublish camera.stream -
    INFO stream destroy camera.stream -
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: start: 4
    INFO server comment - RTPSessionTracker.add[rtsp://70.90.77.113:53321/axis-media/media.amp]: 1
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:7B10CE89 sessionTimeout:60000
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[rtplive/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    INFO stream create - -
    INFO stream publish camera.stream -
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6976
    INFO server comment - RTPUDPTransport.bind[rtplive/_definst_]: 0.0.0.0/0.0.0.0:6977
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.sessionStart: PLAY: rtsp://70.90.77.113:53321/axis-media/media.amp
    INFO server comment - RTPMediaCaster.Reconnector[2016197766:rtplive/_definst_:camera.stream]: done: 4
    and here is my Applications.xml

    Code:
    <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>rtp-live</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>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>digest</PublishMethod>
    				<PlayMethod>digest</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 -->
    <Property>
        <Name>forceInterleaved</Name>
        <Value>true</Value>
        <Type>Boolean</Type>
    </Property>
    		
    			<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>
    			</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>
    Last edited by wheniwork; 05-29-2010 at 12:11 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    You need to place any Property inside the appropriate Properties list. This is mangled, you added the Property above the Properties container:

    Code:
    <MediaCaster>
    			<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    <Property>
        <Name>forceInterleaved</Name>
        <Value>true</Value>
        <Type>Boolean</Type>
    </Property>
    		
    			<Properties>
    			</Properties>
    Change it to this:

    Code:
    <MediaCaster>
    			<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    		
    			<Properties>
    
    <Property>
        <Name>forceInterleaved</Name>
        <Value>true</Value>
        <Type>Boolean</Type>
    </Property>
    
    			</Properties>
    Also, you should add the /Stream /Properties from step 3d in this guide:
    http://www.wowzamedia.com/forums/showthread.php?t=4403

    Make sure you add them inside in the Streams Properties container

    Richard

  3. #3
    Join Date
    Jun 2009
    Posts
    9

    Default

    Wow! I'm a DOPE! Thank you so much for seeing my problem. It was late last night and I kept staring and staring and didn't see the problem. It's working now like a champ!

  4. #4
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    Great! glad it's working, thanks for the update.

    Richard

  5. #5
    Join Date
    Jun 2009
    Posts
    9

    Default

    Hey Richard, Thanks again. You wouldn't have any insight to this other problem I'm having... would you?

    http://www.wowzamedia.com/forums/showthread.php?t=9020

    Thanks, Chad

Posting Permissions

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