Results 1 to 4 of 4

Thread: live streams are getting time out

  1. #1
    Join Date
    May 2011
    Posts
    22

    Default live streams are getting time out

    Hi
    We are trying to stream live channels wth WMS which listens to multicast UDP packets coming from encoder. These streams are getting time out , so WMS try to reconnect it again with "RTPMediaCaster.Reconnector" and it will start streaming.This happens frequently.

    We are not able to find out the root cause for this issue.Is this could be network issue like udp packet loss or related to some wowza configuration ?
    I have attached the wowza logs below for reference.

    Please help me out of this.

    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[feed0523/_definst_/feed0523.stream]: Destroy live stream packetizer: smoothstreamingpacketizer
    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[feed0523/_definst_/feed0523.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer
    INFO server comment - RTPMediaCaster.streamTimeout[1545215993:feed0523/_definst_:feed0523.stream]: timeout:12000 diff:12096 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[1545215993:feed0523/_definst_:feed0523.stream]: 
    INFO server comment - RTPMediaCaster.closeRTPSession[1545215993:feed0523/_definst_:feed0523.stream]
    INFO stream unpublish feed0523.stream -
    INFO stream destroy feed0523.stream -
    INFO server comment - RTPMediaCaster.Reconnector[1545215993:feed0523/_definst_:feed0523.stream]: start: 40
    INFO stream stop feed0523.stream -
    INFO stream stop feed0523.stream -
    INFO stream publish feed0523.stream -
    INFO server comment - RTPMediaCaster.Reconnector[1545215993:feed0523/_definst_:feed0523.stream]: done: 40
    INFO stream destroy feed0523.stream -
    INFO server comment - RTPMediaCaster.streamTimeout[1545215993:feed0523/_definst_:feed0523.stream]: timeout:12000 diff:12339 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[1545215993:feed0523/_definst_:feed0523.stream]: 
    INFO server comment - RTPMediaCaster.closeRTPSession[1545215993:feed0523/_definst_:feed0523.stream]
    INFO stream unpublish feed0523.stream -
    INFO stream destroy feed0523.stream -
    INFO server comment - RTPMediaCaster.Reconnector[1545215993:feed0523/_definst_:feed0523.stream]: start: 41
    INFO stream publish feed0523.stream -
    INFO server comment - RTPMediaCaster.Reconnector[1545215993:feed0523/_definst_:feed0523.stream]: done: 41
    INFO stream destroy feed0523.stream -
    INFO stream destroy feed0523.stream -
    INFO server comment - RTPMediaCaster.streamTimeout[1545215993:feed0523/_definst_:feed0523.stream]: timeout:12000 diff:12096 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[1545215993:feed0523/_definst_:feed0523.stream]: 
    INFO server comment - RTPMediaCaster.closeRTPSession[1545215993:feed0523/_definst_:feed0523.stream]
    INFO stream unpublish feed0523.stream -
    INFO stream destroy feed0523.stream -
    INFO server comment - RTPMediaCaster.Reconnector[1545215993:feed0523/_definst_:feed0523.stream]: start: 42
    INFO stream publish feed0523.stream -
    INFO server comment - RTPMediaCaster.Reconnector[1545215993:feed0523/_definst_:feed0523.stream]: done: 42
    INFO stream destroy feed0523.stream -                                                                                                                        
    INFO server comment - LiveStreamPacketizerCupertino.init[feed0523/_definst_/feed0523.stream]: chunkDurationTarget: 10000                                     
    INFO server comment - LiveStreamPacketizerCupertino.init[feed0523/_definst_/feed0523.stream]: chunkDurationTolerance: 500                                    
    INFO server comment - LiveStreamPacketizerCupertino.init[feed0523/_definst_/feed0523.stream]: audioGroupCount: 3                                             
    INFO server comment - LiveStreamPacketizerCupertino.init[feed0523/_definst_/feed0523.stream]: playlistChunkCount:6
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:feed0523.stream
    INFO server comment - CupertinoPacketHandler.startStream[feed0523/_definst_/feed0523.stream]
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:feed0523.stream
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[feed0523/_definst_/feed0523.stream]
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[feed0523/_definst_/feed0523.stream]: Video codec:H264 isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[feed0523/_definst_/feed0523.stream]: Audio codec:AAC isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[feed0523/_definst_/feed0523.stream][mp4a.40.2]: AAC Audio info: {AACFrame: size: 0, rate: 48000, channels: 2, samples: 1024, errorBitsAbsent: true, profileObjectType: "LC"}
    INFO stream play feed0523.stream -
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[feed0523/_definst_/feed0523.stream][avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: profile: "Baseline", level: 3.0, frameSize: 720x576, displaySize: 768x576, PAR: 16:15, frameRate: 25.0}
    INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[feed0523/_definst_/feed0523.stream]: Fragment durations: [1.5,1.0,1.0]
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bitrate[feed0523/_definst_/feed0523.stream]: 632659
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:0 count:9 duration:1567
    INFO stream play feed0523.stream -
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:1 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:2 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:3 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingAudio: Bitrate[feed0523/_definst_/feed0523.stream]: 71535
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:0 count:29 duration:2004
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:4 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:5 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:1 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:6 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:1 a/v/k:126/209/9 duration:9681
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:7 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:2 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:8 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:9 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:3 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:video id:10 count:25 duration:1000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:4 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:5 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:6 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:2 a/v/k:155/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:7 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:8 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:9 count:94 duration:2006
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[feed0523/_definst_/feed0523.stream]: Add chunk: type:audio id:10 count:94 duration:2005
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:3 a/v/k:157/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:4 a/v/k:154/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:5 a/v/k:159/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:6 a/v/k:155/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:7 a/v/k:156/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:8 a/v/k:160/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:9 a/v/k:155/250/10 duration:10000
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[feed0523/_definst_/feed0523.stream]: Add chunk: id:10 a/v/k:157/250/10 duration:10000


    Thanks&Regards,
    sachin

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

    Default

    Hi
    I think you're correct with you're analyses, I think that this is a packet loss problem as well.

    This could be coursed by a few different issues I'm afraid, is the server tuned or very busy (overloading could be the problem)
    It could also be network related, due to too many channels.

    More info on the server set-up and load would be much appreciated.

    Jason

  3. #3
    Join Date
    May 2011
    Posts
    22

    Default

    Thanks Jason.......

    We have scheduled playlist to streams 18 feeds which are streaming from recorded mp4 files and 27 live feeds,so total 41 feeds.

    Load Avg. details as below:

    last min avg max
    0.30 0.15 0.56 1.58

    CPU INFO:
    Quad-Core AMD
    NO. of Processors:4
    RAM:16GB (8 GB allocated to wowza )

    UDP PACKET CHECK:
    while true ;do date;netstat -su;sleep 120; done
    Fri Apr  6 13:39:15 GMT 2012
    Udp:
        1034289682 packets received
        548445 packets to unknown port received.
        18664798 packet receive errors
        4888047 packets sent
    Fri Apr  6 13:41:15 GMT 2012
    Udp:
        1034540255 packets received
        548451 packets to unknown port received.
        18664809 packet receive errors
        4888129 packets sent
    Fri Apr  6 13:43:15 GMT 2012
    Udp:
        1034790795 packets received
        548454 packets to unknown port received.
        18664809 packet receive errors
        4888207 packets sent
    Fri Apr  6 13:45:15 GMT 2012
    Udp:
        1035039921 packets received
        548462 packets to unknown port received.
        18666328 packet receive errors
        4888278 packets sent
    Fri Apr  6 13:47:15 GMT 2012
    Udp:
        1035290424 packets received
        548465 packets to unknown port received.
        18666328 packet receive errors
        4888367 packets sent
    Fri Apr  6 13:49:15 GMT 2012
    Udp:
        1035540806 packets received
        548467 packets to unknown port received.
        18666328 packet receive errors
        4888432 packets sent
    Fri Apr  6 13:51:15 GMT 2012
    Udp:
        1035789849 packets received
        548473 packets to unknown port received.
        18667749 packet receive errors
        4888514 packets sent

    Regards,
    sachin

  4. #4

    Default

    It looks like you're losing about 2% of your data. Whatever it is, it looks very consistent.

    What is your total bitrate, and bandwidth? Are you recording? How's your disk I/O? A quick test is to half your number of streams and see if the packet errors go away.

    Maybe someone else can offer a suggestion, as well.

Similar Threads

  1. time delay of live stream or play delayed streams
    By cochin007 in forum General Forum
    Replies: 6
    Last Post: 07-03-2013, 08:11 AM
  2. Start recording of all transcoded/transrated streams at the same time
    By karelboek in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 06-30-2013, 12:04 PM
  3. Time Shifting Live Streams
    By ZandzofTime in forum AddOn: Wowza nDVR
    Replies: 11
    Last Post: 01-11-2013, 08:20 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
  •