Skip to content

1.5.0-rc01

Latest
Compare
Choose a tag to compare
@ivanbuper ivanbuper released this 14 Nov 13:40
· 590 commits to release since this release

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

  • ExoPlayer:
    • Add a setter to SntpClient to set the max elapsed time since the last update after which the client is re-initialized (#1794).
    • Consider language when selecting a video track. By default select a 'main' video track that matches the language of the selected audio track, if available. Explicit video language preferences can be expressed with TrackSelectionParameters.Builder.setPreferredVideoLanguage(s)`.
    • Add selectedAudioLanguage parameter to DefaultTrackSelector.selectVideoTrack() method.
    • Add retryCount parameter to MediaSourceEventListener.onLoadStarted
      and corresponding MediaSourceEventListener.EventDispatcher methods.
    • Fix bug where playlist items or periods in multi-period DASH streams with durations that don't match the actual content could cause frame freezes at the end of the item (#1698).
  • Transformer:
    • Update parameters of VideoFrameProcessor.registerInputStream and VideoFrameProcessor.Listener.onInputStreamRegistered to use Format.
  • Extractors:
    • Fix media duration parsing in mdhd box of MP4 files to handle -1 values (#1819).
    • Add support for identifying h263 box in MP4 files for H.263 video (#1821).
  • DataSource:
    • DataSourceContractTest: Assert that DataSource.getUri() returns the resolved URI (as documented). Where this is different to the requested URI, tests can indicate this using the new DataSourceContractTest.TestResource.Builder.setResolvedUri() method.
    • DataSourceContractTest: Assert that DataSource.getUri() and getResponseHeaders() return their 'open' value after a failed call to open() (due to a 'not found' resource) and before a subsequent close() call.
      • Overriding DataSourceContractTest.getNotFoundResources() allows test sub-classes to provide multiple 'not found' resources, and to provide any expected headers too. This allows to distinguish between HTTP 404 (with headers) and "server not found" (no headers).
  • Text:
    • Fix CEA-608 subtitles in H.264 MPEG-TS streams not being output (this was broken in 1.5.0-alpha01 by 03a205f).
    • Support CEA-608 subtitles in Dolby Vision content (#1820).
  • RTSP Extension:
    • Fix crashing when parsing of RTP packets with header extensions (#1225).