Results 1 to 5 of 5

Thread: Delay 10 sec after server get first Packet

  1. #1
    Join Date
    Jan 2014
    Posts
    3

    Question Delay 10 sec after server get first Packet

    Hi

    i use android app streaming rtp to wowza
    when i start new stream with native rtp

    server always delay long time after UDPTransport get first packet

    Log:

    2014-01-21	12:01:28	UTC	comment	server	INFO	200	-	UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:9594 msg:/192.168.1.10:2177	-	-	-	31.456	-	-	-	-	-	-	-	-	-	-	-
    2014-01-21	12:01:38	UTC	comment	server	INFO	200	-	onMetaData[live/_definst_/d5d6408ff25945aa9f553658a3c4b934.sdp]: {AMFPacket: size: 577,  type: 18,  src: 0,  seq: 0,  absTimecode: 0,  timecode: 0}	-
    2014-01-21	12:01:38	UTC	comment	server	INFO	200	-	LiveStreamPacketizerSanJose.init[live/_definst_/d5d6408ff25945aa9f553658a3c4b934.sdp]: chunkDurationTarget: 1000
    i tried ffmpeg & FMLE
    only need 1~3 sec in here

    can help me reduce the time?
    Thanks
    Last edited by seanlin0324; 01-21-2014 at 05:38 AM.

  2. #2

    Default

    Hi, can you describe the details of the stream?

    Bitrate?
    Frames per second?
    key frame interval(GOP length)?
    video and audio codec?

    Do you see any INFO server comment - RTPUDPTransport.unbind statements in the logs following the INFO server comment - RTPUDPTransport.bind statements?

    What client are you testing playback in?

    Salvadore

  3. #3
    Join Date
    Jan 2014
    Posts
    3

    Default

    Hi Salvador,

    Thank you for reply

    My stream is H.264 baseline level 1.1 (Video only)
    Resolution: 320x240
    Bitrate: 20~30
    Fps: 8
    Key frame interval: 2 sec
    Codec: opencore


    not any RTPUDPTransport.unbind statements in log

    here is my log detail (problem in 01:58:02 ~ 01:58:12)

    01:58:00    UTC comment server  INFO    200 -   onAppStart: live/_definst_
    01:58:00    UTC comment server  INFO    200 -   AccessControlRTMP Start
    01:58:00    UTC comment server  INFO    200 -   ServerListenerEC2Variables#ApplicationInstanceNotify.onApplicationInstanceCreate[live/_definst_]: Auto-set application RTSP addresses: internal[bind]:x.x.x.x external[origin,connection]:
    x.x.x.x
    01:58:00    UTC app-start   application INFO    200 _definst_   live/_definst_01:58:01    UTC comment server  INFO    200 -   RTPMediaCaster.create[559886190]
    01:58:01    UTC comment server  INFO    200 -   RTPMediaCaster.init[559886190]
    01:58:01    UTC comment server  INFO    200 -   RTPMediaCaster.Reconnector[559886190:live/_definst_:640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: start: 01:58:01    UTC comment server  INFO    200 -   onMediaCasterCreate
    01:58:01    UTC comment server  INFO    200 -   ApplicationInstance.startMediaCasterStream[live/_definst_]: Stream started: flv:640d2bc4c4dd4fcca2c6dc598a79f73e.sdp
    01:58:01    UTC comment server  INFO    200 -   onConnectStart
    01:58:01    UTC comment server  INFO    200 -   RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: /usr/local/WowzaMediaServer/content/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp
    01:58:01    UTC comment server  INFO    200 -   AccessControlRTSPStreaming.onRTPSessionCreate[live/_definst_:null]: accept:true
    01:58:01    UTC comment server  INFO    200 -   AccessControlRTSPStreaming.RTPSessionContent: {ipAddress: 127.0.0.1,queryStr: null, referrer: null, userAgent: known}
    01:58:01    UTC comment server  INFO    200 -   sortPackets[1]: sortBufferSize:750
    01:58:01    UTC comment server  INFO    200 -   onStreamCreate[com.wowza.wms.stream.live.MediaStreamLive@5b133f56]: clientId:-1
    01:58:01    UTC create  stream  INFO    200 -   -   _defaultVHost_  live    _definst_   0.001   -   80  null    127.0.0.1   rtsp    -   known   461101259   0   0   1   0   0   0   640d2bc4c4dd4fcca2c6dc598a79f73e.sdp
    01:58:01    UTC comment server  INFO    200 -   onSetSourceStream: 640d2bc4c4dd4fcca2c6dc598a79f73e.sdp _defaultVHost_  live    _definst_   50225.064   -   80  null    127.0.0.1   rtsp    -   known   461101259   0   0
    01:58:01    UTC comment server  INFO    200 -   RTPUDPTransport.bind[live/_definst_]: 0.0.0.0/0.0.0.0:7940  _defaultVHost_  live    _definst_   50225.066   -   80  null    127.0.0.1   rtsp    -   known   461101259   0   0
    01:58:01    UTC comment server  INFO    200 -   RTPUDPTransport.bind[live/_definst_]: 0.0.0.0/0.0.0.0:7941  _defaultVHost_  live    _definst_   50225.068   -   80  null    127.0.0.1   rtsp    -   known   461101259   0   0 
    01:58:01    UTC publish stream  INFO    200 640d2bc4c4dd4fcca2c6dc598a79f73e.sdp    -   _defaultVHost_  live    _definst_   0.008   -   80  null    127.0.0.1   rtsp    -   known   461101259   0   0   1   0   0   0   640d2bc4c4dd4fcca2c6dc598a79f73e.sdp
    01:58:01    UTC comment server  INFO    200 -   onPublish[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: isRecord:false isAppend:false
    01:58:01    UTC comment server  INFO    200 -   onConnectSuccess
    01:58:01    UTC comment server  INFO    200 -   RTPMediaCaster.Reconnector[559886190:live/_definst_:640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: done: 1
    01:58:02    UTC comment server  INFO    200 -   UDPTransport.firstPacket: bind:0.0.0.0/0.0.0.0:7940 msg:/192.168.1.4:24179
    01:58:12    UTC comment server  INFO    200 -   onMetaData[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: {AMFPacket: size: 577,  type: 18,  src: 0,  seq: 0,  absTimecode: 0,  timecode: 0}
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerSanJose.init[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: chunkDurationTarget: 1000
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerSanJose.init[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: chunkDurationTolerance: 500
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerSanJose.init[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: playlistChunkCount:2
    01:58:12    UTC comment server  INFO    200 -   MediaStreamMap.getLiveStreamPacketizer[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: Create live stream packetizer: sanjosestreamingpacketizer:640d2bc4c4dd4fcca2c6dc598a79f73e.sdp
    01:58:12    UTC comment server  INFO    200 -   SanJosePacketHandler.startStream[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerSanJose.handlePacket[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: Video codec: H264
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerCupertino.init[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: chunkDurationTolerance: 500
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerCupertino.init[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: audioGroupCount: 3
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerCupertino.init[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: playlistChunkCount:2
    01:58:12    UTC comment server  INFO    200 -   MediaStreamMap.getLiveStreamPacketizer[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: Create live stream packetizer: cupertinostreamingpacketizer:640d2bc4c4dd4fcca2c6dc598a79f73e.sdp
    01:58:12    UTC comment server  INFO    200 -   CupertinoPacketHandler.startStream[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerCupertino.handlePacket[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp]: Video codec:H264 isCompatible:true
    01:58:12    UTC comment server  INFO    200 -   LiveStreamPacketizerCupertino.handlePacket[live/_definst_/640d2bc4c4dd4fcca2c6dc598a79f73e.sdp][avc1.66.11]: H.264 Video info: {H264CodecConfigInfo: codec:H264, profile:Baseline, level:1.1, fr
    ameSize:320x240, displaySize:320x240}

  4. #4

    Default

    It looks like you are using a custom module authenticating rtsp sessions: AccessControlRTSPStreaming.RTPSessionContent.

    I suggest removing this while you trouble shoot.

    You may wish to open a ticket by mailing support@wowza.com. If you do open a ticket please include zipped /conf and /logs folders and a link to this thread as reference.

    Salvadore

  5. #5
    Join Date
    Jan 2014
    Posts
    3

    Default

    Hi Salvadore,

    I try remove the module "AccessControlRTSPStreaming"

    but trouble still in there.

    i will mailing support@wowza.com

    thank you for help

Similar Threads

  1. Replies: 2
    Last Post: 01-13-2015, 03:20 AM
  2. Short term (10 sec) Timeshift Delay - PushPublish
    By eyjohn in forum General Forum
    Replies: 2
    Last Post: 05-21-2012, 09: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
  •