1. 29 Jan, 2019 5 commits
  2. 21 Jan, 2019 14 commits
  3. 17 Jan, 2019 7 commits
  4. 15 Jan, 2019 7 commits
  5. 14 Jan, 2019 7 commits
    • Fix DRM protected SmoothStreaming with subtitles · 9ab08bbe
      Issue: #5378
      PiperOrigin-RevId: 229261658
      olly committed
    • Reset requiresSecureDecoder boolean on codec release · 0bfbcea6
      PiperOrigin-RevId: 229253065
      olly committed
    • Disable cache fragmentation except for progressive · 1b62277a
      DataSpec.FLAG_ALLOW_CACHE_FRAGMENTATION is added to indicate to the
      cache when fragmentation is allowed. This flag is set for progressive
      requests only.
      
      To avoid breaking changes, CacheDataSink defaults to ignoring the flag
      (and enabling fragmentation) for now. Respecting the flag can be
      enabled manually. DownloaderConstructorHelper enables respecting of
      the flag.
      
      Issue: #4253
      PiperOrigin-RevId: 229176835
      olly committed
    • Don't forget isSeekable in ExtractorMediaSource. · 86637fac
      We currently forget whether a source is seekable at re-preparation. This was
      implemented intentionally this way under the assumption that we really can't seek
      until we have loaded the seek map again. However, seek operations are only
      allowed after a media period is prepared. So there is no harm in remembering
      whether a source is seekable.
      
      This problem currently prevents reusing ClippingMediaSources with
      ExtractorMediaSource and a non-zero start clip position.
      
      Issue: #5351
      PiperOrigin-RevId: 229169441
      tonihei committed
    • Blacklist OMX.SEC.mp3.dec for more devices · f44fc542
      Issue: #4519
      PiperOrigin-RevId: 229145790
      andrewlewis committed
    • DRM: Pass sessionId rather than MediaCrypto · 1f03093d
      ExoMediaCrypto.requiresSecureDecoderComponent() is removed, and
      FrameworkMediaCrypto.forceAllowInsecureDecoderComponents is made
      public to allow determining whether a secure decoder is required
      to be implemented in MediaCodecRenderer.
      
      PiperOrigin-RevId: 228909771
      olly committed
    • Fix release of DRM sessions · 2d30d667
      There were some edge cases in which we'd forget to release DRM
      sessions. For example if we read a format and acquired a
      pendingDrmSession (in onInputFormatChanged), then immediately
      read another format and overwrote pendingDrmSession, we'd
      forget to release the one that's been overwritten.
      
      This change hopefully makes release much clearer. We keep a list
      of all drm sessions we're currently holding. Whenever we update
      either drmSession or pendingDrmSession, we release any other
      sessions that are in the list.
      
      PiperOrigin-RevId: 228905465
      olly committed