1. 08 Sep, 2014 4 commits
    • Call FormatHolder what it really is. · d465ab70
      Since we have a Format class as well, it's very confusing that
      FormatHolder actually holds a MediaFormat. I think it's quite
      likely that Format will need promoting into the root package as
      part of the HLS work, which will make this even more confusing
      (although it is possible that for HLS we'll define yet another
      Format class, if it turns out we need significantly different
      fields).
      
      Note - I deliberately avoided renaming the formatHolder
      args/params, because they're not particularly ambiguous and
      because it introduces some ugly line breaks.
      Oliver Woodman committed
    • Tighten isReady() up again. · a7b88cd6
      - Bring back requirement for the first video frame to be rendered
        before isReady returns true, *unless* we've deduced that the
        upstream source is serving multiple renderers.
      - Ditto for requiring that the audio track has some buffered data.
      Oliver Woodman committed
    • Minor changes to fix Javadoc. · 98a75738
      - cache ref didn't work because it referred to a private variable
        (which isn't documented) from a public interface definition
        (which is). Meaning the Javadoc generator was trying to link
        to documentation that didn't exist.
      Oliver Woodman committed
  2. 14 Aug, 2014 3 commits
  3. 12 Aug, 2014 5 commits
  4. 11 Aug, 2014 3 commits
  5. 01 Aug, 2014 7 commits
  6. 28 Jul, 2014 2 commits
  7. 24 Jul, 2014 1 commit
  8. 18 Jul, 2014 10 commits
  9. 17 Jul, 2014 1 commit
    • Define DashSegmentIndex wrapper. · 87461821
      This paves the way for SegmentTemplate and SegmentList based
      mpds, which will implement DashSegmentIndex directly rather than
      parsing an index from the media stream.
      
      - Define DashSegmentIndex.
      - Make use of DashSegmentIndex in chunk sources.
      - Define an implementation of DashSegmentIndex that wraps a SegmentIndex.
      - Add method that will allow Representations to return a DashSegmentIndex
        directly in the future.
      - Add support for non-contiguous index and initialization data in media streams.
        For the Webm case this isn't enabled yet due to extractor limitations.
      - Removed ability to fetch multiple chunks. This functionality does not extend
        properly to SegmentList and SegmentTemplate variants of DASH.
      Oliver Woodman committed
  10. 15 Jul, 2014 3 commits
    • Add utility classes for SegmentTemplate/SegmentList refactor. · d7d14037
      A step towards supporting SegmentTemplate style MPDs.
      Oliver Woodman committed
    • Use bits/sec instead of bytes/sec for format bandwidth. · 05833356
      Why: This was a bad initial choice. Manifests typically define bandwidth in
      bits/sec. If you divide by 8 then you're throwing away information due to
      rounding. Unfortunately it turns out that SegmentTemplate based manifests
      require you to be able to recall the bitrate exactly (because it's substituted
      in during segment URL construction).
      
      Medium term: We should consider converting all our bandwidth estimation
      over to bits/sec as well.
      
      Note1: Also changed Period id to be a string, to match the mpd spec.
      Note2: Made small optimization in FormatEvaluator to not consider discarding
      the first chunk (durationBeforeThisSegmentUs will always be negative, and even
      in the error case where it's not, removing the first thunk should be an error).
      Oliver Woodman committed
    • Support self-contained media chunks. · 4366afc2
      - Support parsing of moov atoms contained within each chunk.
      - Also do a small cleanup to WebM parser.
      Oliver Woodman committed
  11. 10 Jul, 2014 1 commit