Results 1 to 2 of 2

Thread: Multicast Encoder - Wowza 3 - problem -

  1. #1

    Default Multicast Encoder - Wowza 3 - problem -

    Hi,



    Hi,

    I have one problem with Encoder MPEG-TS in multicast with Wowza 3. We have test lab where is Encoder sending MPEG-TS in multicast by fiber to Cisco 6500 and also where is connected Wowza 3 with two NIC eth0 and eth1. Eth0 is on public IP and Eth1 is in multicast vlan. I have been config Wowza 3 by this URL http://www.wowza.com/forums/content....based-encoder). And everything is working perfectly. But after 6 or 7 hours we have problem with stream which is going out of Wowza 3. The problem is that stream is stopping and we have a lot of Audio lost buffers or Video lost frames by rtsp when I looking by VLC, even JWPlayer canít start streaming. This is always happening after 6/7 or 8 hours of streaming. This is only stream on this test Wowza and this is happening on HP DL server with 4 NIC, 2xCPU and 19GB of RAM with CentOS release 5.5 (Final) 64bit, Mem: 20539932k total, 1408580k used, 19131352k free, 180928k buffers,
    Cpu0 : 1.7%us, 0.2%sy, 0.0%ni, 98.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu1 : 1.7%us, 0.2%sy, 0.0%ni, 98.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu2 : 2.4%us, 0.3%sy, 0.0%ni, 97.1%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
    Cpu3 : 2.9%us, 0.4%sy, 0.0%ni, 96.2%id, 0.0%wa, 0.1%hi, 0.4%si, 0.0%st
    Cpu4 : 1.6%us, 0.5%sy, 0.0%ni, 97.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu5 : 1.6%us, 0.5%sy, 0.0%ni, 97.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu6 : 2.0%us, 0.5%sy, 0.0%ni, 97.2%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
    Cpu7 : 2.5%us, 0.7%sy, 0.0%ni, 95.9%id, 0.0%wa, 0.1%hi, 0.8%si, 0.0%st

    I have been tweak rtp reordering, by your site and put Stream Monitor module on also by your site. In attachment you can see the config of Application.xml.

    How we get away with this :-), we just restart this publishing point by stream manager and after that everything is OK.

    Is there are some better way to see what is happening and to make automatic restarting of this publishing point when this start to happening.

    In parallel we are looking, this same strim from multicast VLAN by VLC udp://@x.y.z.a:1200 and everything working without any problems and braking.


    <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></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><PUBLIC IP></RTSPBindIpAddress>
    <RTSPConnectionIpAddress><PUBLIC IP></RTSPConnectionIpAddress>
    <RTSPOriginIpAddress><PUBLIC IP></RTSPOriginIpAddress>
    <IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
    <!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->

    <!-- fix audio and video alignment -->
    <Property>
    <Name>audioIsAligned</Name>
    <Value>false</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>videoIsAligned</Name>
    <Value>false</Value>
    <Type>Boolean</Type>
    </Property>
    </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>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer
    <!-- 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>
    <Module>
    <Name>ModuleMediaCasterStreamMonitorAdvanced</Name>
    <Description>ModuleMediaCasterStreamMonitorAdvanced</Description>
    <Class>com.wowza.wms.module.ModuleMediaCasterStreamMonitorAdvanced</Class>
    </Module>


    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    <Properties>
    </Properties>
    <Property>
    <Name>streamMonitorStreamStartTimeout</Name>
    <Value>20000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorStreamTimeout</Name>
    <Value>12000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorVideoStartTimeout</Name>
    <Value>1000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorVideoTimeout</Name>
    <Value>100</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorAudioStartTimeout</Name>
    <Value>1000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorAudioTimeout</Name>
    <Value>100</Value>
    <Type>Integer</Type>
    </Property>


    <Property>
    <Name>streamMonitorVideoTCToleranceEnable</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>streamMonitorVideoTCPosTolerance</Name>
    <Value>3000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorVideoTCNegTolerance</Name>
    <Value>-500</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorAudioTCToleranceEnable</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>streamMonitorAudioTCPosTolerance</Name>
    <Value>3000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorAudioTCNegTolerance</Name>
    <Value>-500</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorDataTCToleranceEnable</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>streamMonitorDataTCPosTolerance</Name>
    <Value>3000</Value>
    <Type>Integer</Type>
    </Property>
    <Property>
    <Name>streamMonitorDataTCNegTolerance</Name>
    <Value>-500</Value>
    <Type>Integer</Type>
    </Property>


    <Property>
    <Name>streamMonitorAVSyncToleranceEnable</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>streamMonitorAVSyncTolerance</Name>
    <Value>1500</Value>
    <Type>Integer</Type>
    </Property>

    <Property>
    <Name>streamMonitorResetNameGroups</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>

    <Property>
    <Name>streamMonitorDebug</Name>
    <Value>false</Value>
    <Type>Boolean</Type>
    </Property>


    </Application>
    </Root>
    Last edited by nikolas; 11-29-2011 at 09:17 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    You have the ModuleMediaCasterStreamMonitorAdvanced Property settings below/outside the Application.xml Properties container. So it is not working. When configured correctly the ModuleMediaCasterStreamMonitorAdvanced will reset MediaCaster streams as you are trying to do.

    Richard

Similar Threads

  1. Multicast RTMP output with Niagara encoder
    By mvineetmenon in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 01-31-2014, 05:35 AM

Posting Permissions

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