Results 1 to 3 of 3

Thread: HLS Playback Start Time: RTSP vs MPEG-TS source stream

  1. #1
    Join Date
    Dec 2014

    Default HLS Playback Start Time: RTSP vs MPEG-TS source stream


    I'm using startMediaCasterStream() to dynamically connect to a set of streams that are then re-streamed with HLS.
    I'm noticing big playback start time differences between an RTSP and an MPEG-TS source: it takes around 0.5-0.7 seconds to connect to the MPEG-TS stream and between 4-15 !! seconds or the RTSP source

    The intervals above are the time between the startMediaCasterStream() call and the time the streams appear as published (logged in a custom module), so before the actual HLS segmentation begins (the final playback start time would be this time + at least 2 x chunk target duration, in my case 3000).

    Is this caused by transmuxing or are there some options to be tweaked in order to speed up the playback start time? I tried disabling the jitter buffer, packet sorting etc. but it doesn't seem to affect the start time.

    Thank you for any suggestions/ideas.
    Last edited by aergistal; 12-16-2014 at 08:59 AM.

  2. #2
    Join Date
    Dec 2014


    Ok, I sorted this out. By default the AVSyncMethod for RTP is senderreport. RTCP ports were unreachable so it tried to get a SR multiple times before giving up, hence the wait time.
    Turning off the StreamValidator further reduced the time.

  3. #3


    Thanks for the update and glad to hear you sorted this out.



Similar Threads

  1. how can I specific start time when using RTSP?
    By keithlai in forum General Forum
    Replies: 3
    Last Post: 01-03-2012, 11:16 AM
  2. To start playback on specified time in the url
    By Sysadmin in forum AddOn: Wowza nDVR
    Replies: 1
    Last Post: 10-17-2011, 06:44 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