1. 20 Dec, 2021 3 commits
    • Convert PlaybackExceptions to TransformationExceptions. · f2d337c3
      Transformer uses ExoPlayer for reading input. Apps using Transformer
      do not need to know this. So, PlaybackExceptions are converted to
      TransformationExceptions with the same message, cause and error code.
      
      The corresponding IO error codes are copied from PlaybackException.
      
      PiperOrigin-RevId: 416793741
      hschlueter committed
    • Exclude last chunk when applying fraction for live quality increase · 9d463725
      We check the fraction of the available duration we have already
      buffered for live streams to see if we can increase the quality.
      This fraction compares against the overall available media duration
      at the time of the track selection, which by definition can't include
      one of the availabe chunks (as this is the one we want to load next).
      
      That means, for example, that for a reasonable live offset of 3 segments
      we can at most reach a fraction of 0.66, which is less than our default
      threshold of 0.75, meaning we can never switch up.
      
      By subtracting one chunk duration from the available duration, we make
      this comparison fair again and allow all live streams (regardless of
      live offset) to reach up to 100% buffered data (which is above our
      default value of 75%), so that they can increase the quality.
      
      Issue: google/ExoPlayer#9784
      PiperOrigin-RevId: 416791033
      tonihei committed
    • Remove ExoPlaybackException dependency from sample pipelines. · 8bb53b40
      Use TransformationException for codec and audio processor
      initialization problems instead.
      
      PiperOrigin-RevId: 416765510
      hschlueter committed
  2. 16 Dec, 2021 3 commits
  3. 15 Dec, 2021 3 commits
  4. 14 Dec, 2021 12 commits
  5. 13 Dec, 2021 4 commits
  6. 10 Dec, 2021 15 commits