Results 1 to 8 of 8

Thread: Problems with SDP

  1. #1
    Join Date
    Apr 2013
    Posts
    4

    Default Problems with SDP

    gentlemen,

    I have a streamer (rtsp://192.168.0.100:554/live1.sdp) in VLC can view but can not in WMS.
    The content of tptvm.sdp is as follows.
    rtsp://192.168.0.100:554/live1.sdp
    I used the example "FlashRTMPPlayer"
    Server: rtmp://192.168.2.10/live
    Stream: tptvm.sdp
    I'm using version 3.5.2.
    The following log:
    INFO application app-start _definst_ live/_definst_
    INFO server comment - RTPMediaCaster.create[25824113]
    INFO server comment - RTPMediaCaster.init[25824113]
    INFO server comment - RTPMediaCaster.Reconnector[25824113:live/_definst_:tptvm.sdp]: start: 1
    INFO server comment - VHost.startStartupStreams: Stream successfully started [live/_definst_]: flv:tptvm.sdp
    INFO server comment - Server.startShutdownHook: Start server shutdown hook
    INFO server comment - Wowza Media Server is started!
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: /usr/local/WowzaMediaServer/content/tptvm.sdp
    INFO stream create - -
    INFO stream publish tptvm.sdp -
    INFO server comment - RTPMediaCaster.Reconnector[25824113:live/_definst_:tptvm.sdp]: done: 1
    INFO server comment - RTPMediaCaster.streamTimeout[25824113:live/_definst_:tptvm.sdp]: timeout:12000 diff:12007 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[25824113:live/_definst_:tptvm.sdp]: 
    INFO server comment - RTPMediaCaster.closeRTPSession[25824113:live/_definst_:tptvm.sdp]
    INFO stream unpublish tptvm.sdp -
    INFO stream destroy tptvm.sdp -

    Thanks for everyone's help.
    Last edited by igortec; 04-22-2013 at 02:54 PM.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Change the filename tptvm.sdp to tptvm.stream then try starting tptvm.stream in StreamManager with MediaCaster type "rtp"

    Refer to this guide for more details and trouble-shooting:
    http://www.wowza.com/forums/content....-re-streaming)

    Richard

  3. #3
    Join Date
    Apr 2013
    Posts
    4

    Default

    Richard,

    I changed the file name (tptvm.stream) and appeared the log below:
    INFO server comment - RTPMediaCaster.Reconnector[33123067:live/_definst_:tptvm.stream]: start: 5
    INFO server comment - RTPSessionTracker.add[rtsp://192.168.0.100:554/live1.sdp]: 1
    INFO server comment - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:115 sessionTimeout:0
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: RTSP/RTP re-streaming. Success, received SDP data.
    INFO stream create - -
    WARN server comment - Failed to find an appropriate depacketizer for this track (vnd.onvif.metadata)
    WARN server comment - Failed to find an appropriate depacketizer for this track (H264)
    WARN server comment - Failed to find an appropriate depacketizer for this track (PCMU)
    INFO stream publish tptvm.stream -
    Thanks for everyone's help.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Try adding this property to the Application.xml /MediaCaster Properties container:

    <Property>
        <Name>rtspFilterUnknownTracks</Name>
        <Value>true</Value>
        <Type>Boolean</Type>
    </Property>
    Richard

  5. #5
    Join Date
    Apr 2013
    Posts
    4

    Default

    rrlanham,


    My file "conf / live / Application.xml" is this way.

    <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>live</StreamType>
    			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</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, -->
    			<!-- either define the general Application/Repeater/OriginURL below to point back to the origin -->
    			<!-- or define this one (which affects only DVR origin-edge).  e.g. http://localhost/dvrorigin -->
    			<Repeater>
    				<ChunkOriginURL></ChunkOriginURL>
    			</Repeater>
    
    			<!-- Properties for DVR -->
    			<Properties>
    			</Properties>
    		</DVR>
    
    		<TimedText>
    			<!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionprovidersrt, vodcaptionproviderscc -->
    			<VODTimedTextProviders>vodcaptionprovidermp4_3gpp</VODTimedTextProviders>
    			
    			<!-- Properties for TimedText -->
    			<Properties>
    			</Properties>		
    		</TimedText>
    		
    		<!-- 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>
    				<Name>rtspValidationFrequency</Name>
        				<Value>0</Value>
        				<Type>Integer</Type>
    			</Properties>
    
    			<Property>
        				<Name>rtpDePacketizerWrapper</Name>
    				<Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperReChunkMPEGTS</Value>
    			</Property>
    
    		</RTP>
    		<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>
    				<Name>rtspFilterUnknownTracks</Name>
    	    			<Value>true</Value>
        				<Type>Boolean</Type>
    			</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>

    Thanks for everyone's help.

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You need the Property tags in the Properties container, like this:

    <Properties>
    	<Property>
    		<Name>rtspFilterUnknownTracks</Name>
    	    	<Value>true</Value>
        		<Type>Boolean</Type>
    	</Property>
    </Properties>
    Richard

  7. #7
    Join Date
    Apr 2013
    Posts
    4

    Default

    Richard,

    Thank you very much !!

  8. #8
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You're welcome!

    R

Posting Permissions

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