Skip to content

Commit bc35372

Browse files
authored
Merge pull request #11034 from google/release-v2-r2.18.4
r2.18.4
2 parents f72ca83 + 86013bd commit bc35372

File tree

248 files changed

+66506
-3133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+66506
-3133
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ body:
1818
label: ExoPlayer Version
1919
description: What version of ExoPlayer are you using?
2020
options:
21+
- 2.18.4
2122
- 2.18.3
2223
- 2.18.2
2324
- 2.18.1

RELEASENOTES.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Release notes
22

3+
### 2.18.4 (2023-03-02)
4+
5+
This release corresponds to the
6+
[AndroidX Media3 1.0.0-rc02 release](https://github.com/androidx/media/releases/tag/1.0.0-rc02).
7+
8+
* Core library:
9+
* Fix network type detection on API 33
10+
([#10970](https://github.com/google/ExoPlayer/issues/10970)).
11+
* Fix `NullPointerException` when calling `ExoPlayer.isTunnelingEnabled`
12+
([#10977](https://github.com/google/ExoPlayer/issues/10977)).
13+
* Downloads:
14+
* Make the maximum difference of the start time of two segments to be
15+
merged configurable in `SegmentDownloader` and subclasses
16+
([#248](https://github.com/androidx/media/pull/248)).
17+
* Audio:
18+
* Fix broken gapless MP3 playback on Samsung devices
19+
([#8594](https://github.com/google/ExoPlayer/issues/8594)).
20+
* Fix bug where playback speeds set immediately after disabling audio may
21+
be overridden by a previous speed change
22+
([#10882](https://github.com/google/ExoPlayer/issues/10882)).
23+
* Video:
24+
* Map HEVC HDR10 format to `HEVCProfileMain10HDR10` instead of
25+
`HEVCProfileMain10`.
26+
* Add workaround for a device issue on Chromecast with Google TV and
27+
Lenovo M10 FHD Plus that causes 60fps AVC streams to be marked as
28+
unsupported
29+
([#10898](https://github.com/google/ExoPlayer/issues/10898)).
30+
* Fix frame release performance issues when playing media with a frame
31+
rate far higher than the screen refresh rate.
32+
* Cast:
33+
* Fix transient `STATE_IDLE` when transitioning between media items
34+
([#245](https://github.com/androidx/media/issues/245)).
35+
* RTSP:
36+
* Catch the IllegalArgumentException thrown in parsing of invalid RTSP
37+
Describe response messages
38+
([#10971](https://github.com/google/ExoPlayer/issues/10971)).
39+
* IMA extension:
40+
* Fix a bug which prevented DAI streams without any ads from starting
41+
because the first (and in the case without ads the only) `LOADED` event
42+
wasn't received.
43+
344
### 2.18.3 (2023-02-16)
445

546
This release corresponds to the

constants.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// limitations under the License.
1414
project.ext {
1515
// ExoPlayer version and version code.
16-
releaseVersion = '2.18.3'
17-
releaseVersionCode = 2_018_003
16+
releaseVersion = '2.18.4'
17+
releaseVersionCode = 2_018_004
1818
minSdkVersion = 16
1919
appTargetSdkVersion = 33
2020
// API version before restricting local file access.

demos/transformer/src/withMediaPipe/java/androidx/media3/demo/transformer/MediaPipeProcessor.java

Lines changed: 0 additions & 282 deletions
This file was deleted.

demos/transformer/src/withMediaPipe/java/com/google/android/exoplayer2/transformerdemo/MediaPipeProcessor.java

Whitespace-only changes.

docs/_page_fragments/supported-formats-hls.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ as described
1616
| CEA-608 | YES ||
1717
| WebVTT | YES ||
1818
| **Metadata** |||
19-
| ID3 metadata | YES ||
19+
| ID3 | YES ||
20+
| SCTE-35 | NO ||
2021
| **Content protection** |||
2122
| AES-128 | YES ||
2223
| Sample AES-128 | NO ||

docs/customization.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,20 @@ the following:
225225
When overriding `ForwardingPlayer` methods it's important to ensure the
226226
implementation remains self-consistent and compliant with the `Player`
227227
interface, especially when dealing with methods that are intended to have
228-
identical or related behavior. For example, if you want to override every 'play'
229-
operation, you need to override both `ForwardingPlayer.play` and
230-
`ForwardingPlayer.setPlayWhenReady`, because a caller will expect the behavior
231-
of these methdods to be identical when `playWhenReady = true`. Similarly, if you
232-
want to change the seek-forward increment you need to override both
233-
`ForwardingPlayer.seekForward` to perform a seek with your customized increment,
234-
and `ForwardingPlayer.getSeekForwardIncrement` in order to report the correct
235-
customized increment back to the caller.
228+
identical or related behavior. For example:
229+
* If you want to override every 'play' operation, you need to override both
230+
`ForwardingPlayer.play` and `ForwardingPlayer.setPlayWhenReady`, because a
231+
caller will expect the behavior of these methods to be identical when
232+
`playWhenReady = true`.
233+
* If you want to change the seek-forward increment you need to override both
234+
`ForwardingPlayer.seekForward` to perform a seek with your customized
235+
increment, and `ForwardingPlayer.getSeekForwardIncrement` in order to report
236+
the correct customized increment back to the caller.
237+
* If you want to control what `Player.Commands` are advertised by a player
238+
instance, you must override `Player.getAvailableCommands()`,
239+
`Player.isCommandAvailable()` and also listen to the
240+
`Player.Listener.onAvailableCommandsChanged()` callback to get notified of
241+
changes coming from the underlying player.
236242

237243
## MediaSource customization ##
238244

0 commit comments

Comments
 (0)