Results 1 to 5 of 5

Thread: RTP Live publishing - Timeouts

  1. #1
    Join Date
    Apr 2010
    Posts
    23

    Default RTP Live publishing - Timeouts

    I am publishing a stream from a webcam to wowza server using RTP. It is working fine from my phone (android) as long as it is on a WIFI network. But if I am on a 4G network.. (Speed it pretty good 4Mbps with same latency as wifi to the server) , the packets are timing out.

    Sometimes the streams are coming on and off.. sometime 100% timeout.. Seems like the latency is playing a big part here..

    See the logs here... the stream is getting published then closed due to time out and then reconnecting..

    Again the stream is published correctly on a WIFI network and it is stable.

    Is there a way or settings to mitigate this issue? or any other thoughts..


    Thanks
    Larry

    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO stream unpublish stream.sdp -
    INFO stream destroy stream.sdp -
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: start: 27283
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[u/_de
    finst_]: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 2.2.4/con
    tent/stream.sdp
    INFO stream create - -
    INFO stream publish stream.sdp -
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: done: 27283
    INFO server comment - LivePlayer.play[u/_definst_/stream.sdp]: Dynamic Stream Ma
    rkers are on.
    INFO server comment - RTPMediaCaster.streamTimeout[19948346:u/_definst_:stream.s
    dp]: timeout:12000 diff:12356 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[19948346:u/_definst_:stream
    .sdp]:
    INFO server comment - RTPMediaCaster.closeRTPSession[19948346:u/_definst_:stream
    .sdp]
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO stream unpublish stream.sdp -
    INFO stream destroy stream.sdp -
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: start: 27284
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[u/_de
    finst_]: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 2.2.4/con
    tent/stream.sdp
    INFO stream create - -
    INFO stream publish stream.sdp -
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: done: 27284
    INFO server comment - LivePlayer.play[u/_definst_/stream.sdp]: Dynamic Stream Ma
    rkers are on.
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:5004 msg:/2
    08.54.40.245:47831
    INFO server comment - RTPMediaCaster.streamTimeout[19948346:u/_definst_:stream.s
    dp]: timeout:12000 diff:12356 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[19948346:u/_definst_:stream
    .sdp]:
    INFO server comment - RTPMediaCaster.closeRTPSession[19948346:u/_definst_:stream
    .sdp]
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO stream unpublish stream.sdp -
    INFO stream destroy stream.sdp -
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: start: 27285
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[u/_de
    finst_]: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 2.2.4/con
    tent/stream.sdp
    INFO stream create - -
    INFO stream publish stream.sdp -
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: done: 27285
    INFO server comment - LivePlayer.play[u/_definst_/stream.sdp]: Dynamic Stream Ma
    rkers are on.
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:5004 msg:/2
    08.54.40.245:57919
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:5006 msg:/2
    08.54.40.245:51587
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    playlistChunkCount:4
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: sanjosestreamingpacketizer:stream.sdp
    INFO server comment - SanJosePacketHandler.startStream[u/_definst_/stream.sdp]
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : audioGroupCount: 3
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : playlistChunkCount:8
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: cupertinostreamingpacketizer:stream.sdp
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: smoothstreamingpacketizer:stream.sdp
    INFO server comment - CupertinoPacketHandler.startStream[u/_definst_/stream.sdp]

    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp]: Video codec:H264 isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp]: Audio codec:AAC isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp][avc1.66.22]: H.264 Video info: {H264CodecConfigInfo: profile: "Baseline
    ", level: 2.2, frameSize: 640x480, displaySize: 640x480}
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Video codec: H26
    4
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[u/_definst
    _/stream.sdp]
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Audio codec: AAC

    INFO stream play stream.sdp -
    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[u/_definst_/stre
    am.sdp]: Destroy live stream packetizer: sanjosestreamingpacketizer
    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[u/_definst_/stre
    am.sdp]: Destroy live stream packetizer: smoothstreamingpacketizer
    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[u/_definst_/stre
    am.sdp]: Destroy live stream packetizer: cupertinostreamingpacketizer
    INFO server comment - RTPMediaCaster.streamTimeout[19948346:u/_definst_:stream.s
    dp]: timeout:12000 diff:12168 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[19948346:u/_definst_:stream
    .sdp]:
    INFO server comment - RTPMediaCaster.closeRTPSession[19948346:u/_definst_:stream
    .sdp]
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO stream unpublish stream.sdp -
    INFO stream destroy stream.sdp -
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: start: 27286
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[u/_de
    finst_]: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 2.2.4/con
    tent/stream.sdp
    INFO stream create - -
    INFO stream stop stream.sdp -
    INFO stream publish stream.sdp -
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: done: 27286
    INFO server comment - LivePlayer.play[u/_definst_/stream.sdp]: Dynamic Stream Ma
    rkers are on.
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:5006 msg:/2
    08.54.40.245:51587
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    playlistChunkCount:4
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: sanjosestreamingpacketizer:stream.sdp
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : audioGroupCount: 3
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : playlistChunkCount:8
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: cupertinostreamingpacketizer:stream.sdp
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:5004 msg:/2
    08.54.40.245:57919
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: smoothstreamingpacketizer:stream.sdp
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[u/_definst
    _/stream.sdp]
    INFO server comment - CupertinoPacketHandler.startStream[u/_definst_/stream.sdp]

    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp]: Video codec:H264 isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp]: Audio codec:AAC isCompatible:true
    INFO server comment - SanJosePacketHandler.startStream[u/_definst_/stream.sdp]
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Video codec: H26
    4
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp][avc1.66.22]: H.264 Video info: {H264CodecConfigInfo: profile: "Baseline
    ", level: 2.2, frameSize: 640x480, displaySize: 640x480}
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Audio codec: AAC

    INFO stream play stream.sdp -
    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[u/_definst_/stre
    am.sdp]: Destroy live stream packetizer: smoothstreamingpacketizer
    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[u/_definst_/stre
    am.sdp]: Destroy live stream packetizer: sanjosestreamingpacketizer
    INFO server comment - MediaStreamMap.removeLiveStreamPacketizer[u/_definst_/stre
    am.sdp]: Destroy live stream packetizer: cupertinostreamingpacketizer
    INFO server comment - RTPMediaCaster.streamTimeout[19948346:u/_definst_:stream.s
    dp]: timeout:12000 diff:12355 reason:101
    INFO server comment - RTPMediaCaster.resetConnection[19948346:u/_definst_:stream
    .sdp]:
    INFO server comment - RTPMediaCaster.closeRTPSession[19948346:u/_definst_:stream
    .sdp]
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.unbind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO stream unpublish stream.sdp -
    INFO stream destroy stream.sdp -
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: start: 27287
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo[u/_de
    finst_]: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 2.2.4/con
    tent/stream.sdp
    INFO stream create - -
    INFO stream stop stream.sdp -
    INFO stream publish stream.sdp -
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5004
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5005
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5006
    INFO server comment - RTPUDPTransport.bind[u/_definst_]: 0.0.0.0/0.0.0.0:5007
    INFO server comment - RTPMediaCaster.Reconnector[19948346:u/_definst_:stream.sdp
    ]: done: 27287
    INFO server comment - LivePlayer.play[u/_definst_/stream.sdp]: Dynamic Stream Ma
    rkers are on.
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:5006 msg:/2
    08.54.40.245:51587
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerSanJose.init[u/_definst_/stream.sdp]:
    playlistChunkCount:4
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: sanjosestreamingpacketizer:stream.sdp
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : audioGroupCount: 3
    INFO server comment - LiveStreamPacketizerCupertino.init[u/_definst_/stream.sdp]
    : playlistChunkCount:8
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: cupertinostreamingpacketizer:stream.sdp
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream
    packetizer: smoothstreamingpacketizer:stream.sdp
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[u/_definst
    _/stream.sdp]
    INFO server comment - SanJosePacketHandler.startStream[u/_definst_/stream.sdp]
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Video codec: H26
    4
    INFO server comment - CupertinoPacketHandler.startStream[u/_definst_/stream.sdp]

    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp]: Video codec:H264 isCompatible:true
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp][avc1.66.22]: H.264 Video info: {H264CodecConfigInfo: profile: "Baseline
    ", level: 2.2, frameSize: 640x480, displaySize: 640x480}
    INFO server comment - UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:5004 msg:/2
    08.54.40.245:57919
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket: Audio codec: AAC

    INFO server comment - LiveStreamPacketizerCupertino.handlePacket[u/_definst_/str
    eam.sdp]: Audio codec:AAC isCompatible:true
    INFO stream play stream.sdp -
    INFO server comment - LiveStreamPacketizerSmoothStreaming.handlePacket[u/_defins
    t_/stream.sdp]: Fragment durations: [0.8,1.0,1.1]
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingVideo: Bit
    rate[u/_definst_/stream.sdp]: 410061
    INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[u/_definst
    _/stream.sdp]: Add chunk: type:video id:0 count:15 duration:895

  2. #2
    Join Date
    Apr 2010
    Posts
    23

    Default

    Any answers?

    Larry

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

    Default

    Larry,

    Try adding forceInterleaved to /conf/[app-name]/Application.xml /MediaCaster Properties list:

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

  4. #4
    Join Date
    Apr 2010
    Posts
    23

    Default

    Thanks Richard,

    forceInterleaved property is already enabled and set to true.

    Larry

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

    Default

    Back up and explain your setup. You are using a standard webcam and live encoder? Which encoder?

    Richard

Similar Threads

  1. rtp-live and rtmp publishing
    By robstreamhosting in forum General Forum
    Replies: 1
    Last Post: 07-29-2013, 06:49 AM
  2. how to start publishing of a live camera stream (rtp-live) from iphone/ipad?
    By bingo_jake in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 08-06-2012, 12:06 PM

Posting Permissions

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