Results 1 to 2 of 2

Thread: Relating DVR chunk id in manifest to the id from DvrStore

  1. #1
    Join Date
    Dec 2009
    Posts
    17

    Default Relating DVR chunk id in manifest to the id from DvrStore

    To determine when a specific HLS chunk was created, I'm using the IDvrStreamStore/IDvrManifest information related to a stream -- and looping over the entries in the manifest:

    for (DvrManifestEntry entry:entries) {
    registerChunkTime(liveId, entry.getIndex(), entry.getUtcStartTime(), "dvr");
    }

    For this I'm getting entry.getIndex() number in sequence from 0 and upwards. However, depending on when the DVR stream itself is first requested from the client side, the chunks numbers in the DVR HLS feed are not identical to the ones returned by getIndex(). For example, this could be in the HLS file:

    #EXTINF:8.0,
    media-ulvw0o67u_b928000_DVR_0.ts
    #EXTINF:8.9,
    media-ulvw0o67u_b928000_DVR_1.ts
    #EXTINF:8.067,
    media-ulvw0o67u_b928000_DVR_2.ts

    ... with "media-ulvw0o67u_b928000_DVR_0.ts" matching to getIndex()=63, "media-ulvw0o67u_b928000_DVR_1.ts" to getIndex()=64 and so on.

    The obvious question, how do I related these two number to each other in order to figure out with DvrManifestEntry each .ts file actually is?

  2. #2
    Join Date
    Dec 2009
    Posts
    17

    Default

    Dare I bump this one -- really curious for hints as to how this is done. (And obviously is it done internally, so there's a way ;-))

Similar Threads

  1. DVR existing chunk returns 404 response
    By firsttimestreaming in forum AddOn: Wowza nDVR
    Replies: 6
    Last Post: 07-06-2013, 01:25 PM
  2. dvr folder cannot generate manifest.txt file
    By guy1260 in forum AddOn: Wowza nDVR
    Replies: 1
    Last Post: 01-22-2013, 12:10 PM
  3. DVR manifest from all dvr'd content
    By michael401 in forum AddOn: Wowza nDVR
    Replies: 3
    Last Post: 12-01-2011, 02:21 PM
  4. Replies: 3
    Last Post: 11-20-2011, 06:33 AM
  5. DVR Chunk Target Duration / Chunk Limit
    By carlosleite in forum AddOn: Wowza nDVR
    Replies: 1
    Last Post: 10-19-2011, 01:30 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
  •