1. 12 Feb, 2021 2 commits
    • Propagate DRM config when creating ad media sources · de359cd6
      The `DrmConfiguration.sessionForClearTypes` property is often used
      to ensure a secure decoder is used for clear ads played in encrypted
      content. This is because some devices show black frames when switching
      decoders.
      
      Before this change the DRM config isn't propagated down when
      constructing the ad media source, meaning
      `DrmSessionManager.DRM_UNSUPPORTED` is always used, which will
      cause playback to switch from secure to clear decoder when transitioning
      to an ad break (ignoring the MediaItem `sessionForClearTypes` option.
      
      Issue: #8568
      
      #minor-release
      
      PiperOrigin-RevId: 356951124
      ibaker committed
    • Move MediaFormatUtil into common · f8505204
      Also move out of the mediacodec package into the util package.
      
      PiperOrigin-RevId: 356949401
      aquilescanta committed
  2. 11 Feb, 2021 7 commits
  3. 09 Feb, 2021 14 commits
  4. 04 Feb, 2021 10 commits
  5. 03 Feb, 2021 7 commits