Skip to content

Commit

Permalink
Merge pull request #9212 from google/dev-v2-r2.14.2
Browse files Browse the repository at this point in the history
r2.14.2
  • Loading branch information
icbaker authored Jul 21, 2021
2 parents b2333c8 + d168bee commit 80332f7
Show file tree
Hide file tree
Showing 287 changed files with 4,865 additions and 31,277 deletions.
79 changes: 79 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
# Release notes

### 2.14.2 (2021-07-20)

* Core Library:
* Explicitly mark several methods on `SimpleExoPlayer` as `@Deprecated`.
These methods are all overrides and are already deprecated on `Player`
and the respective `ExoPlayer` component classes (since 2.14.0).
* Video:
* Fix `IncorrectContextUseViolation` strict mode warning on Android 11
([#8246](https://github.com/google/ExoPlayer/pull/8246)).
* Audio:
* Fix track selection for E-AC-3 streams.
* Use `AudioTrack.isDirectPlaybackSupported` to check for encoded audio
passthrough capability from API 29 onwards, instead of using the HDMI
audio plug intent
([#6500](https://github.com/google/ExoPlayer/pull/6500)).
* Extractors:
* Fix issue where a `trun` atom could be associated with the wrong track
in an FMP4 stream
([#9056](https://github.com/google/ExoPlayer/pull/9056)). The fix
removes a previous workaround to handle content in which the `track_ID`
is set incorrectly
([#4083](https://github.com/google/ExoPlayer/issues/4083)). Such content
is malformed and should be re-encoded.
* Improve support for truncated Ogg streams
([#7608](https://github.com/google/ExoPlayer/issues/7608)).
* Add support for MP4 H263 atom type
([#9158](https://github.com/google/ExoPlayer/issues/9158)).
* Fix issue around TS synchronization when reading a file's duration
([#9100](https://github.com/google/ExoPlayer/pull/9100)).
* HLS:
* Fix issue where playback of a live event could become stuck rather than
transitioning to `STATE_ENDED` when the event ends
([#9067](https://github.com/google/ExoPlayer/issues/9067)).
* Fix issue where a new initialization segment, as specified by an
`EXT-X-MAP` tag in a media playlist, would not be loaded when
encountered during playback
([#9004](https://github.com/google/ExoPlayer/issues/9004)).
* Forward the FRAME-RATE value from the master playlist to renditions.
([#8960](https://github.com/google/ExoPlayer/issues/8960)).
* Fix issue where HLS events would start at positions greater than
specified by an `EXT-X-START` tag when placed in a playlist
([#9037](https://github.com/google/ExoPlayer/issues/9037)).
* Ad playback:
* Use the content URI when auto-generating an ad ID (in addition to the
media ID and ad tag URI)
([#9106](https://github.com/google/ExoPlayer/issues/9106).
* DRM:
* Allow repeated provisioning in `DefaultDrmSession(Manager)`.
* Fix a crash due to `DefaultDrmSessionManager.release()` incorrectly
releasing too many keep-alive `DefaultDrmSession` references, resulting
in `DefaultDrmSession.release()` throwing an `IllegalStateException`
([#9193](https://github.com/google/ExoPlayer/issues/9193)).
* Metadata:
* Fix handling of emsg messages with an unset duration
([#9123](https://github.com/google/ExoPlayer/issues/9123)).
* UI:
* Add `PendingIntent.FLAG_IMMUTABLE` flag when creating a broadcast intent
in `PlayerNotificationManager`. This is required to avoid an error on
Android 12.
* Fix focusability of `StyledPlayerView` and `StyledPlayerControlView`
popup menus on API levels prior to 26
([#9061](https://github.com/google/ExoPlayer/issues/9061)).
* Fix progress bar flickering immediately after the user seeks
([#9049](https://github.com/google/ExoPlayer/pull/9049)).
* Fix `StyledPlayerView` and `StyledPlayerControlView` popup menu items
not expanding to occupy the full width of the popup
([#9086](https://github.com/google/ExoPlayer/issues/9086)).
* Don't propagate `AttributeSet` from `SubtitleView` constructor into
`CanvasSubtitleOutput`. Just passing the `Context` is enough, and
ensures programmatic changes to the `SubtitleView` will propagate down.
* RTSP
* Fix session description (SDP) parsing to use a HashMap-like behaviour
for duplicated attributes.
([#9014](https://github.com/google/ExoPlayer/issues/9014)).
* Allow using absolute URI in the control attribute in a media description
([#9183](https://github.com/google/ExoPlayer/issues/9183)).
* Allow the timeout to be customised via
`RtspMediaSource.Factory.setTimeoutMs`.

### 2.14.1 (2021-06-11)

* Core Library:
Expand Down
8 changes: 4 additions & 4 deletions constants.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
// limitations under the License.
project.ext {
// ExoPlayer version and version code.
releaseVersion = '2.14.1'
releaseVersionCode = 2014001
releaseVersion = '2.14.2'
releaseVersionCode = 2014002
minSdkVersion = 16
appTargetSdkVersion = 29
targetSdkVersion = 28 // TODO: Bump once b/143232359 is resolved. Also fix TODOs in UtilTest.
compileSdkVersion = 30
dexmakerVersion = '2.21.0'
dexmakerVersion = '2.28.1'
junitVersion = '4.13.2'
guavaVersion = '27.1-android'
mockitoVersion = '2.28.2'
Expand All @@ -29,7 +29,7 @@ project.ext {
checkerframeworkCompatVersion = '2.5.0'
jsr305Version = '3.0.2'
kotlinAnnotationsVersion = '1.3.70'
androidxAnnotationVersion = '1.1.0'
androidxAnnotationVersion = '1.2.0'
androidxAppCompatVersion = '1.1.0'
androidxCollectionVersion = '1.1.0'
androidxCoreVersion = '1.3.2'
Expand Down
4 changes: 0 additions & 4 deletions demos/main/src/main/assets/media.exolist.json
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,6 @@
"name": "Google Play (Flac)",
"uri": "https://storage.googleapis.com/exoplayer-test-media-1/flac/play.flac"
},
{
"name": "Big Buck Bunny video (FLV)",
"uri": "https://vod.leasewebcdn.com/bbb.flv?ri=1024&rs=150&start=0"
},
{
"name": "Big Buck Bunny 480p (MP4, AV1)",
"uri": "https://storage.googleapis.com/downloads.webmproject.org/av1/exoplayer/bbb-av1-480p.mp4"
Expand Down
25 changes: 16 additions & 9 deletions docs/_page_fragments/supported-formats-rtsp.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
ExoPlayer supports both live and on demand RTSP. Supported formats and network
types are listed below.
ExoPlayer supports both live and on demand RTSP. Supported sample formats and
network types are listed below.

**Supported formats**
* H264
* AAC (with ADTS bitstream)
* AC3
### Supported sample formats ###

**Supported network types**
* RTP over UDP unicast (multicast is not supported)
* Interleaved RTSP, RTP over RTSP using TCP
* H264 (the SDP media description must include SPS/PPS data in the fmtp
attribute for decoder initialization).
* AAC (with ADTS bitstream).
* AC3.

Please comment on [this issue](https://github.com/google/ExoPlayer/issues/9210)
to request support for additional sample formats.
{:.info}

### Supported network types ###

* RTP over UDP unicast (multicast is not supported).
* Interleaved RTSP, RTP over RTSP using TCP.
12 changes: 6 additions & 6 deletions docs/ad-insertion.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ described below.
### Playlists with ads ###

When playing a [playlist][] with multiple media items, the default behavior is
to request the ad tag and store ad playback state once for each media ID and ad
tag URI combination. This means that users will see ads for every media item
with ads that has a distinct media ID, even if the ad tag URIs match. If a
media item is repeated, the user will see the corresponding ads only once (the
ad playback state stores whether ads have been played, so they are skipped
after their first occurrence).
to request the ad tag and store ad playback state once for each media ID,
content URI and ad tag URI combination. This means that users will see ads for
every media item with ads that has a distinct media ID or content URI, even if
the ad tag URIs match. If a media item is repeated, the user will see the
corresponding ads only once (the ad playback state stores whether ads have been
played, so they are skipped after their first occurrence).

It's possible to customize this behavior by passing an opaque ads identifier
with which ad playback state for a given media item is linked, based on object
Expand Down
Loading

0 comments on commit 80332f7

Please sign in to comment.