1. 27 Mar, 2020 6 commits
  2. 25 Mar, 2020 23 commits
  3. 20 Mar, 2020 6 commits
  4. 19 Mar, 2020 5 commits
    • Add shell for FfmpegVideoRenderer · 818925d4
      Issue: #2159
      PiperOrigin-RevId: 301705371
      olly committed
    • Simplify extension video renderers · 0a274946
      - This change also adds support for VideoFrameMetadataListener in the
        AV1 renderer
      - This is a preliminary step prior to adding FfmpegVideoDecoder
      
      Issue: #2159
      PiperOrigin-RevId: 301702460
      olly committed
    • Merge AudioDecoderException and VideoDecoderException · ee6afe5e
      This is a necessary step for Decoder implementations to support
      audio and video. MediaCodecRenderer.DecoderException is renamed
      MediaCodecDecoderException and extends the new DecoderException
      
      Issue: #2159
      PiperOrigin-RevId: 301698238
      olly committed
    • Add tests to cover two OOM scenarios. · 395a7031
      We have two known scenarios where the app could create an OOM error and
      we want to handle it gracefully:
       1. The app continues to allocate memory but doesn't make any progress
          in the buffered position. OOM should be prevented by the default
          load control and it should eventually throw an exception.
       2. An extractor tries to allocate a large amount of memory on the
          Loader thread based on information it read in faulty media files.
          In this case we should attempt to play remaining media and then
          throw an exception.
      
      Both cases are already handled correctly, but we don't have any tests
      ensuring that we don't introduce regressions.
      
      PiperOrigin-RevId: 301585700
      tonihei committed
    • Detect stuck-buffering cases in the player. · 99667a6d
      This removes a workaround that always continues buffering and instead
      detects if the LoadControl returns false even though we don't have
      any buffer. If enabled by a flag, this condition throws an exception.
      
      PiperOrigin-RevId: 301584239
      tonihei committed