1. 18 Nov, 2021 7 commits
    • Transformer: Rename setOutputMimeType() to setContainerMimeType(). · 18a15fb9
      This mime type is technically for the Muxer, and determines
      the container used. In the context of the transformer, this can
      be thought of more as a container mime type, to avoid confusion
      with the video mime type and audio mime type.
      
      Deprecates setOutputMimeType().
      
      PiperOrigin-RevId: 410530707
      huangdarwin committed
    • Fix sequence number calculation logic. · f401d462
      Issue: google/ExoPlayer#9697
      
      Before, the `MAX_SEQUENCE_NUMBER` is 65535, such that the logic to get the next
      sequence number:
      
      `previousSeqNumber + 1 % MAX_SEQUENCE_NUMBER`
      
      yields 0 when `previousSeqNumber` is 65534. However, the next sequence number
      should be 65535.
      
      PiperOrigin-RevId: 410530098
      claincly committed
    • Set LogSessionId on MediaCodec. · 6ed75f1a
      PiperOrigin-RevId: 410516082
      tonihei committed
    • Set LogSessionId on AudioTrack. · 14ab4f80
      This requires forwarding the PlayerId to the AudioSink.
      
      PiperOrigin-RevId: 410509605
      tonihei committed
    • Enable immediate codec start after flush · 45a5a758
      We verified there is a race condition in the
      AsynchronousMediaCodecAdapter when flushing the adapter
      multiple times. The race condition results in calling MediaCodec.start()
      and MediaCodec.flush() in parallel and that makes the MediaCodec
      raise an exception.
      
      This changes the default behavior to call MediaCodec.start() on the
      same thread after MediaCodec.flush() to avoid the race condition.
      
      #minor-release
      
      PiperOrigin-RevId: 410509388
      christosts committed
    • Remove null keys from DefaultHttpDataSource#getResponseHeaders · 06755d42
      PiperOrigin-RevId: 410507648
      ibaker committed
    • Populate ICY headers into MediaMetadata · 349160a5
      Populate ICY headers into MediaMetadata so that they can
      propagate to the app via AnalyticsListener#onMediaMetadataChanged().
      This change copies IcyHeaders.name into MediaMetadata.description
      and IcyHeaders.genre into MediaMetadata.genre.
      
      Note: MediaItem.metadata maintain their precedence and overwrite any
      ICY headers parsed.
      
      Issue: google/ExoPlayer#9677
      
      #minor-release
      
      PiperOrigin-RevId: 410495676
      christosts committed
  2. 16 Nov, 2021 6 commits
  3. 15 Nov, 2021 7 commits
  4. 11 Nov, 2021 17 commits
  5. 09 Nov, 2021 1 commit
  6. 08 Nov, 2021 2 commits