Skip to content

1.4.0-rc01

Compare
Choose a tag to compare
@tianyif tianyif released this 11 Jul 16:02
· 555 commits to release since this release

This release includes the following changes since the 1.4.0-beta01 release:

  • Common Library:
    • Add Format.customData to store app-provided custom information about Format instances.
  • ExoPlayer:
    • Fix some audio focus inconsistencies, e.g. not reporting full or transient focus loss while the player is paused (#1436).
    • Fix potential IndexOutOfBoundsException caused by extractors reporting additional tracks after the initial preparation step (#1476).
    • Effects in ExoPlayer.setVideoEffect() will receive the timestamps with the renderer offset removed (#1098).
    • Fix potential IllegalArgumentException when handling player error that happened while reading ahead into another playlist item (#1483).
  • Text:
    • Fix an IllegalArgumentException from LegacySubtitleUtil when a WebVTT subtitle sample contains no cues, e.g. as part of a DASH stream (#1516).
  • Session:
    • Allow the session activity to be set per controller to override the global session activity. The session activity can be defined for a controller at connection time by creating a ConnectionResult with AcceptedResultBuilder.setSessionActivivty(PendingIntent). Once connected, the session activity can be updated with MediaSession.setSessionActivity(ControllerInfo, PendingIntent).
    • Improve error replication of calls to MediaLibrarySession.Callback. Error replication can now be configured by using MediaLibrarySession.Builder.setLibraryErrorReplicationMode() for choosing the error type or opt-ing out of error replication which is on by default.
  • UI:
    • Work around a platform bug causing stretched/cropped video when using SurfaceView inside a Compose AndroidView on API 34 (#1237).
  • Demo app:
    • Use HttpEngineDataSource as the HttpDataSource when supported by the device.