Results 1 to 2 of 2

Thread: Duration for Live HLS Streams

  1. #1
    Join Date
    Nov 2012
    Posts
    1

    Default Duration for Live HLS Streams

    I would like to get the total duration of a stream (from the beginning) when using HLS/HDS but each time I refresh the page that plays back the video the player reports the total duration is 40 seconds. I am assuming this is because the HTTPPacketizer is only including the 3 previous 10 second segments. I don't necessarily want to have all the segments of the live stream in the m3u8/f4m file as the index file size would grow over the course of the stream. I was able to get this working with FMS with the exact same FMLE settings.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I don't think there is a practical way to do this for a live stream in iOS or Flash HTTP client. Even for Flash RTMP client you would have to keep track of it server-side using a timer started in IMediaStreamActionNotify3.onPublish(), then provide that to each client.

    Richard

Similar Threads

  1. HLS / Smooth Live streams thumbnails
    By alexco in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 08-02-2013, 08:17 AM
  2. Live stream HLS repeat stream in a duration (not live)
    By lee2510 in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 07-16-2013, 06:12 AM
  3. TS duration does not match cupertinoChunkDurationTarget on HLS
    By humblef in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 03-07-2013, 08:14 AM
  4. Limit Duration Live Streams
    By edmedia in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 02-06-2013, 04:52 PM
  5. Multiple live one-to-one streams in HLS
    By scaba23 in forum Live Streaming and Encoder Discussion
    Replies: 0
    Last Post: 12-20-2011, 11:54 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
  •