Results 1 to 6 of 6

Thread: Live Streaming Issue

  1. #1
    Join Date
    Mar 2012
    Posts
    6

    Question Live Streaming Issue

    I have setup a live stream (application.xml below). The stream works fine on an iOS device, but when I play it in Safari (using HTML below). I get the following. Any thoughts on what I'm doing wrong? The stream is coming from a Teradek via RTMP.



    HTML Snippet for the video player
    <video x-webkit-airplay="allow"
    controls alt="Closet Feed" width="640" height="360"
    src="http://ccv08-d005:1935/closet/myStream/playlist.m3u8?DVR"
    autoplay="autoplay" muted="muted"/>


    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>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, dvrstreamingpacketizer</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>dvrrecorder</Recorders>

    <!-- As a single server or as an origin, set the Store to dvrfilestorage-->
    <!-- edges should have this empty -->
    <Store>dvrfilestorage</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>version</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>
    <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>
    <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>

  2. #2

    Default

    I've seen this before. Not quite sure what the exact problem is. It seems to be an issue on the encoding side. Test with the sample.mp4 file to verify this.

  3. #3
    Join Date
    Mar 2012
    Posts
    6

    Default

    OK showing my ignorance here... how would I do that?

  4. #4

    Default

    What you're going to want to do is try to identify if this is an encoding issue.

    1. One test is to play the sample.mp4 file: http://[wowza-ip]/vod/mp4:sample.mp4/playlist.m3u8

    2. On your encoder experiment with these encoding suggestions for iOS:

    Video: H.264 Baseline Level 3.0, Baseline Level 3.1, and Main Level 3.1.
    Audio:
    HE-AAC or AAC-LC up to 48 kHz, stereo audio
    MP3 (MPEG-1 Audio Layer 3) 8 kHz to 48 kHz (44.1 recommended), 128kbps, stereo audio

    3. Look for any WARN, ERROR, or INFO in the Wowza console/logs. (run startup.bat to see the console output in realtime)

  5. #5
    Join Date
    Mar 2012
    Posts
    6

    Default

    randall: Thanks for the info above, it was very helpful. Here's where I'm at. I can successfully live stream to an iOS device and to Flash. If I load the video in Safari (using the HTML below). I get video, but the audio is corrupt. I pasted in my server log. Do you see anything there of concern? I've tried numerous audio and video encoding options (though the Teradek encoder I'm using doesn't have a lot of audio options...).

    Clarification: This is all working perfectly in Safari on iOS, the audio issue is a problem on Safari on OSX.

    Link to Audio Sample That I'm Getting
    http://jonedmiston.com/public/safari-audio.mov

    Safari HTML Snippet
    <video src="http://ccv08-d005:1935/closet/myStream/playlist.m3u8" controls autoplay ></video>


    Server Log:
    Configure logging: file:///C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.0.5/conf/log4j.properties
    INFO server server-start Wowza Media Server 3 Developer Edition (Expires: Sep 29, 2012) 3.0.5 build1220 -
    INFO server comment - Server License Key: SVRB3-XXXXX-XXXXX-XXXXX-XXXXX-tZYXe
    INFO server comment - Maximum Connections: 10
    INFO server comment - Transcoder Streams Available: 1
    INFO server comment - Transcoder Watermark: Yes
    INFO server comment - nDVR Available: Yes
    INFO server comment - DRM Available: Yes
    INFO server comment - Hardware Available Processors: 2
    INFO server comment - Hardware Physical Memory: 2606MB/3956MB
    INFO server comment - Hardware Swap Space: 6638MB/7911MB
    INFO server comment - Max File Descriptor Count: Unlimited
    INFO server comment - OS Name: Windows 7
    INFO server comment - OS Version: 6.1
    INFO server comment - OS Architecture: amd64
    INFO server comment - OS CPU: amd64
    INFO server comment - Java Name: Java HotSpot(TM) 64-Bit Server VM
    INFO server comment - Java Vendor: Sun Microsystems Inc.
    INFO server comment - Java Version: 1.6.0_31
    INFO server comment - Java VM Version: 20.6-b01
    INFO server comment - Java Spec Version: 1.6
    INFO server comment - Java Home: C:\Program Files\Java\jdk1.6.0_31\jre
    INFO server comment - Java Max Heap Size: 682MB
    INFO server comment - Java Architecture: 64
    INFO server comment - Java Locale[user.language]: en
    INFO server comment - Java Locale[user.country]: US
    INFO server comment - Java Locale[user.variant]:
    INFO server comment - Java Locale[file.encoding]: Cp1252
    INFO server comment - Java Args[0]: -Xmx768M
    INFO server comment - Java Args[1]: -Dcom.sun.management.jmxremote=true
    INFO server comment - Java Args[2]: -Dcom.wowza.wms.runmode=standalone
    INFO server comment - Java Args[3]: -Dcom.wowza.wms.native.base=win
    INFO server comment - Java Args[4]: -Dcom.wowza.wms.ConfigURL=
    INFO server comment - Server runmode: standalone
    INFO server comment - Server native.platform: win
    INFO server comment - Server threads[h/t]: 10/10
    INFO server comment - CMDInterface now listening: [any]:8083
    INFO vhost vhost-start _defaultVHost_ -
    INFO server comment - _defaultVHost_ threads[h/t]:120/80 home:C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.0.5
    INFO vhost comment _defaultVHost_ Bind attempt ([any]:1935:4)
    INFO vhost comment _defaultVHost_ Bind successful ([any]:1935)
    INFO vhost comment _defaultVHost_ Bind attempt ([any]:8086:1)
    INFO vhost comment _defaultVHost_ Bind successful ([any]:8086)
    INFO server comment - Wowza Media Server is started!
    INFO application app-start _definst_ closet/_definst_
    INFO session connect-pending 192.168.38.13 -
    INFO session connect 192.168.38.13 -
    INFO stream create - -
    INFO stream publish myStream -
    INFO server comment - LiveStreamDvrRecorderBase.initProperties[closet/_definst_/myStream] : properties:
    INFO server comment - LiveStreamPacketizerCupertino.init[closet/_definst_/myStream]: chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerCupertino.init[closet/_definst_/myStream]: chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerCupertino.init[closet/_definst_/myStream]: audioGroupCount: 3
    INFO server comment - LiveStreamPacketizerCupertino.init[closet/_definst_/myStream]: playlistChunkCount:3
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:myStream
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:myStream
    INFO server comment - LiveStreamPacketizerSanJose.init[closet/_definst_/myStream]: chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerSanJose.init[closet/_definst_/myStream]: chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerSanJose.init[closet/_definst_/myStream]: playlistChunkCount:4
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:myStream
    INFO server comment - DvrStreamManagerBase.initProperties properties: {Properties: isDvrPacketizer: true}
    INFO server comment - DvrStreamManagerBase.initStorage[closet/_definst_/myStream] : storeName:dvrfilestorage isRecorder:true hasStorage:true
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: dvrstreamingpacketizer:myStream
    INFO server comment - DvrStreamStoreBase.initProperties[closet/_definst_/myStream/myStream.0] : ChunkOriginURL=null
    INFO server comment - DvrStreamStoreBase.initProperties[closet/_definst_/myStream/myStream.0] : properties:[dvrChunkGroupingSeconds=600, dvrAllowableAVPacketDelta=2000, dvrResetTimePacketDelta=200, dvrPacketDeltaToNotify=200]
    INFO server comment - LiveStreamDvrRecorder.init[closet/_definst_/myStream]: audioOnlyChunkTargetDuration: 2000 ms
    INFO server comment - LiveStreamDvrRecorder.init[closet/_definst_/myStream]: dvrWaitForCodecTime: 8000 ms
    INFO server comment - LiveStreamDvrRecorder.init[closet/_definst_/myStream]: recordAudio: true
    INFO server comment - LiveStreamDvrRecorder.init[closet/_definst_/myStream]: recordVideo: true
    INFO server comment - MediaStreamMap.getDvrRecorder: Create DVR Recorder: closet/_definst_/myStream
    ERROR server comment - AMFDataObj.deserialize[196:179]: java.nio.BufferUnderflowException
    INFO server comment - SanJosePacketHandler.startStream[closet/_definst_/myStream]
    INFO server comment - CupertinoPacketHandler.startStream[closet/_definst_/myStream]
    INFO server comment - LiveStreamDvrRecorder.resetStream[closet/_definst_/myStream]
    INFO server comment - DvrStreamStoreBase.resetTimeMap[closet/_definst_/myStream/myStream.0] : resetTime=0
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[closet/_definst_/myStream]
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[192:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[193:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[195:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[196:196]: java.nio.BufferUnderflowException
    ERROR server comment - AMFDataObj.deserialize[196:179]: java.nio.BufferUnderflowException
    ERROR server comment - AMFDataObj.deserialize[196:179]: java.nio.BufferUnderflowException
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[closet/_definst_/myStream]: Video codec:H264 isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[closet/_definst_/myStream]: Audio codec:AAC isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[closet/_definst_/myStream][avc1.66.40]: H.264 (Video may not be playable on older iPhone and iPod touch devices where Baseline/Level 3.0 or lower is required) Video info: {H264CodecConfigInfo: codec:H264, profile:Baseline, level:4.0, frameSize:1280x720, displaySize:1280x720, frameRate:15.0, PAR:1:1, crop: l:0 r:0 t:0 b:8}
    WARN server comment - Missing function: onStatus
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[closet/_definst_/myStream][mp4a.40.2]: AAC Audio info: {AACFrame: codec:AAC, channels:2, frequency:48000, samplesPerFrame:1024, objectType:LC}
    ERROR server comment - AMFDataObj.deserialize[196:179]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[192:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[193:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[195:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[196:196]: java.nio.BufferUnderflowException
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[closet/_definst_/myStream]: Video codec: H264
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[closet/_definst_/myStream]: Audio codec: AAC
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[192:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[193:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[195:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[196:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[192:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[193:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[195:196]: java.nio.BufferUnderflowException
    ERROR server comment - constructor AMFDataObj(ByteBuffer)[196:196]: java.nio.BufferUnderflowException
    INFO server comment - DvrPacketHandler.handlePacket[closet/_definst_/myStream]: Video codec:H264 isCompatible:true
    INFO server comment - DvrPacketHandler.handlePacket[closet/_definst_/myStream]: Audio codec:AAC isCompatible:true
    WARN server comment - DvrPacketHandler.handlePacket[closet/_definst_/myStream]: Tossing packet with excessive duration: {DvrAMFPacket: size:358, type:8, src:1, seq:6, absTimecode: 192650, timecode:192363, utcTc:1333746162705}
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingAudio: Bitrate[closet/_definst_/myStream]: 66632
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:0 count:94 duration:2005
    INFO server comment - LiveStreamDvrRecorder.reportCodecInformation[closet/_definst_/myStream][avc1.66.40]: H.264 Video info: {MediaCodecInfoVideo: codec:H264, profile:Baseline, level:4.0, frameSize:1280x720, displaySize:1280x720, frameRate:15.000000}
    INFO server comment - LiveStreamDvrRecorder.reportCodecInformation[closet/_definst_/myStream][mp4a.40.2]: AAC Audio info: {MediaCodecInfoAudio: codec:AAC, channels:2, frequency:48000, samplesPerFrame:1024, objectType:LC}
    WARN server comment - LiveStreamDvrRecorder.reportCodecInformation[closet/_definst_/myStream][avc1.66.40]: H.264 (Video may not be playable on older iPhone and iPod touch devices where Baseline/Level 3.0 or lower is required) Video info: : {MediaCodecInfoVideo: codec:H264, profile:Baseline, level:4.0, frameSize:1280x720, displaySize:1280x720, frameRate:15.000000}
    WARN server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Recalculating duration by estimating. Was 198592. Is now 6208.
    WARN server comment - DvrStreamStoreBase.storeChunks[closet/_definst_/myStream/myStream.0] : Skipping chunk. A/V packet times differ by 194599 ms, more than allowed 2000 ms. aTime=287 vTime=194886
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Skip chunk: a/v/k: packets: 291/60/0 durations: 6208/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:1 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:2 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:1 a/v/k:483/121/2 duration:202600
    INFO server comment - DvrStreamStoreBase.storeChunks[closet/_definst_/myStream/myStream.0] : Resetting dvr time from dvr:0/pt:0 to dvr:0/pt:198879/utc:1333746168906
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:1 a/v/k:160/120/2 duration:202600
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:0 a/v/k: packets: 189/60/0 durations: 4032/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:3 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:4 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[closet/_definst_/myStream]: Fragment durations: [4.0,4.0,4.0]
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bitrate[closet/_definst_/myStream]: 9831466
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:0 count:60 duration:4000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:1 a/v/k: packets: 189/60/0 durations: 4032/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:5 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:6 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:2 a/v/k:126/120/2 duration:8000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:1 count:60 duration:4000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:2 a/v/k:377/121/2 duration:8000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:2 a/v/k: packets: 186/60/0 durations: 3968/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:7 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:8 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:2 count:60 duration:4000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:3 a/v/k: packets: 186/60/0 durations: 3968/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:9 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:audio id:10 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:3 count:60 duration:4000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:4 a/v/k: packets: 189/60/0 durations: 4032/4000/-1
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:3 a/v/k:562/181/3 duration:12000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:3 a/v/k:187/180/3 duration:12000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:4 count:60 duration:4000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:5 a/v/k: packets: 186/60/0 durations: 3968/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:5 count:60 duration:4000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:6 a/v/k: packets: 189/60/0 durations: 4032/4000/-1
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:4 a/v/k:376/121/2 duration:8000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:6 count:60 duration:4000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:4 a/v/k:125/120/2 duration:8000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:7 a/v/k: packets: 186/60/0 durations: 3968/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:7 count:60 duration:4000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:8 a/v/k: packets: 189/60/0 durations: 4032/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:8 count:60 duration:4000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:9 a/v/k: packets: 189/60/0 durations: 4032/4000/-1
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:5 a/v/k:564/181/3 duration:12000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:9 count:60 duration:4000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:5 a/v/k:187/180/3 duration:12000
    INFO server comment - LiveStreamDvrRecorder.endChunk[closet/_definst_/myStream]: Add chunk: ind:10 a/v/k: packets: 186/60/0 durations: 3968/4000/-1
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[closet/_definst_/myStream]: Add chunk: type:video id:10 count:60 duration:4000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:6 a/v/k:375/121/2 duration:8000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:6 a/v/k:125/120/2 duration:8000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:7 a/v/k:564/181/3 duration:12000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:7 a/v/k:188/180/3 duration:12000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:8 a/v/k:377/121/2 duration:8000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:8 a/v/k:125/120/2 duration:8000
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:9 a/v/k:562/181/3 duration:12000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myStream]: Add chunk: id:9 a/v/k:187/180/3 duration:12000
    INFO cupertino connect 2033871181 -
    INFO stream create myStream -
    INFO stream play myStream -
    INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[closet/_definst_/myStream]: Add chunk: id:10 a/v/k:377/121/2 duration:8000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[closet/_definst_/myaStream]: Add chunk: id:10 a/v/k:125/120/2 duration:8000
    Last edited by edmistj; 04-09-2012 at 03:30 PM.

  6. #6

    Default

    I've been told the audio issue can be caused by audio/video being out of sync. Which we are seeing here:
    WARN server comment - DvrStreamStoreBase.storeChunks[closet/_definst_/myStream/myStream.0] : Skipping chunk. A/V packet times differ by 194599 ms, more than allowed 2000 ms. aTime=287 vTime=194886

    1. Ideally the sync can be corrected on the encoder side. Try reducing encoding complexity/resolution/bitrate. Try an audio sample rate of 44.1khz.
    2. Does the encoder always exhibit the a/v sync error? If so, you should contact the device manufacturer's support.
    3. Test without the DVR. Do you see the errors publishing to a normal live application?

Similar Threads

  1. Live Streaming Latency Issue through Wowza
    By MaxLikelihood in forum Live Streaming and Encoders
    Replies: 3
    Last Post: 05-15-2014, 08:54 PM
  2. RTMP live streaming issue
    By mky749 in forum General Forum
    Replies: 3
    Last Post: 04-19-2014, 02:03 PM
  3. Is that Live-Streaming scenario possible? (Firewall issue)
    By newbie in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 05-15-2012, 05:40 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
  •