1. 23 Dec, 2020 2 commits
    • Add CapturingRenderersFactory and use it in Mp4PlaybackTest · 1a00da4c
      I decided not to migrate all the tests in one CL to keep the diff
      manageable. I'll make follow-up CLs to migrate the tests, and eventually
      delete TeeCodec and all associated logic.
      
      I couldn't completely remove the dump diff because
      ShadowMediaCodec.getCodecInfo() (which would give me access to the MIME
      type) doesn't seem to work properly - it returned video/avc when
      name=exotest.audio.aac, and looking into the code it looks like there's
      some native methods that are missing shadow implementations.
      PiperOrigin-RevId: 347991956
      ibaker committed
    • Make FakeMediaPeriod and FakeAdaptiveMediaPeriod independent. · 43886491
      The adaptive period currently extends the base (non-adaptive) period
      to share common MediaPeriod boilerplate code.
      
      However, once we start using the real SampleQueue in FakeMediaPeriod
      the common code becomes even less and the overhead to support
      multiple stream implementation from the base class is no longer
      worth it. Thus, this change removes the class hierarchy and copies
      the common parts to FakeAdaptiveMediaPeriod.
      
      PiperOrigin-RevId: 347990468
      tonihei committed
  2. 17 Dec, 2020 26 commits
  3. 14 Dec, 2020 12 commits