1. 16 Sep, 2021 26 commits
  2. 11 Aug, 2021 2 commits
  3. 10 Aug, 2021 2 commits
  4. 06 Aug, 2021 1 commit
  5. 05 Aug, 2021 2 commits
  6. 04 Aug, 2021 7 commits
    • Simplify network-related error codes · 17723c08
      This change removes ERROR_CODE_IO_NETWORK_UNAVAILABLE,
      ERROR_CODE_IO_NETWORK_CONNECTION_CLOSED, and ERROR_CODE_IO_DNS_FAILED
      in favor of keeping only ERROR_CODE_IO_NETWORK_CONNECTION_FAILED.
      
      PiperOrigin-RevId: 388715972
      aquilescanta committed
    • Tweak use of TimestampAdjuster for seeking · ba3f8682
      - Fix use of getTimestampOffsetUs in TsExtractor where
        getFirstSampleTimestampUs should have been used.
      - Don't reset TimestampAdjuster if it's in no-offset mode.
      - Improve comment clarity
      
      #minor-release
      
      PiperOrigin-RevId: 388682711
      olly committed
    • Set HlsSampleStreamWrapper.trackType for audio-only playlists · 5689e093
      For audio-only playlists, when formats are communicated to the app with
      AnalyticsListener.onDownstreamFormatChanged(), the passed MediaLoadData
      do not indicate this is an audio track and therefore the
      PlaybackStatsListener cannot derive audio format-related information.
      
      This change sets the main SampleStreamWrappers track type to AUDIO, if
      the master playlist contains only audio variants.
      
      Issue: #9175
      
      #minor-release
      
      PiperOrigin-RevId: 388676060
      christosts committed
    • Change how AnalyticsCollector releases listeners · 5b2b882e
      The AnalyticsCollector releases listeners lazily so that listener
      callbacks triggered on the application looper after
      SimpleExoPlayer.release() are still handled. The change in ListenerSet
      to post the onEvents callback on the front of the application looper
      changed (correctly) how onEvents are propagated, however this made
      the AnalyticsCollector deliver onEvents with out-of-order EventTimes.
      
      This change fixes AnalyticsCollector to trigger onPlayerReleased() and
      the matching onEvents() event in the correct order.
      
      #minor-release
      
      PiperOrigin-RevId: 388668739
      christosts committed
    • Use AudioTrack.isDirectPlaybackSupported on TVs only · 59324069
      Issue: #9239
      
      PiperOrigin-RevId: 388437614
      andrewlewis committed
    • Add `font-size` support to WebVTT `CssParser`. · 95dcd896
      This CL addresses the github issue [#8946](https://github.com/google/ExoPlayer/issues/8964). That issue requests support for `font-size` CSS property in WebVTT subtitle format. This CL:
      * Adds support for `font-size` property by extending capabilities of WebVTT `CssParser`. Implementation of `font-size` property value parsing is based on the one in `TtmlDecoder`.
      * Adds unit test along with test file containing WebVTT subtitles with all currently supported `font-size` units.
      
      #minor-release
      
      PiperOrigin-RevId: 388423859
      apodob committed