tonihei
f8d81d05a4
Add Player.isPlaying and Player.getPlaybackSuppressionReason
...
The player may suppress playback when waiting for audio focus even if the
state==Player.READY. There is currently no getter or callback to obtain this
piece of information for UI updates or analytics.
Also, it's a important derived state to know whether the playback position is
advancing. Add isPlaying and the corresponding callback to allow retrieving
this information more easily.
Issue:#6203
PiperOrigin-RevId: 268921721
2019-09-20 10:07:10 -07:00
olly
7fff1dfd9c
Remove stray line of code (it's duplicated below)
...
PiperOrigin-RevId: 270289374
2019-09-20 17:49:03 +01:00
tonihei
b0e2ce40d6
Add dates to releases in RELEASENOTES.
...
PiperOrigin-RevId: 270276830
2019-09-20 17:21:01 +01:00
olly
0a854d6b84
Rollback of dd7223df10
...
*** Original commit ***
Refactor HlsSampleStreamWrapper#track() to clarify the return paths
I found the original implementation quite hard to follow, and I believe this is functionally identical.
***
PiperOrigin-RevId: 270263186
2019-09-20 17:21:01 +01:00
aquilescanta
e5f9a858d3
When the HLS container format is not packed audio, reset timestmap offset
...
Issue:#6444
PiperOrigin-RevId: 270252126
2019-09-20 17:21:01 +01:00
tonihei
0cc0444af8
Restructure setup of default values in track selection parameter builders.
...
PiperOrigin-RevId: 270250456
2019-09-20 17:21:01 +01:00
ibaker
6cd530520d
Refactor HlsSampleStreamWrapper#track() to clarify the return paths
...
I found the original implementation quite hard to follow, and I believe this is functionally identical.
PiperOrigin-RevId: 270237641
2019-09-20 17:21:01 +01:00
tonihei
31b9280e0e
Add track selection option to use accessiblity captioning manager settings
...
This option allows to set the preferred text language and role flags based
on the user's accessiblity captioning settings.
Issue:#5749
PiperOrigin-RevId: 270233205
2019-09-20 17:21:01 +01:00
tonihei
531c5638a2
Rename DEFAULT_WITHOUT_VIEWPORT to DEFAULT_WITHOUT_CONTEXT.
...
PiperOrigin-RevId: 270227069
2019-09-20 17:21:01 +01:00
bachinger
852c3a53e7
copy masked timeline before notifying listeners
...
PiperOrigin-RevId: 270221478
2019-09-20 17:21:01 +01:00
bachinger
a60265b106
enable/disable media source correctly when added to playlist
...
PiperOrigin-RevId: 270007370
2019-09-20 17:21:00 +01:00
bachinger
826fe3ac27
adjust and extend the documentation around playlist API in the developer guide
...
PiperOrigin-RevId: 270002330
2019-09-20 17:20:44 +01:00
olly
78ef6c6496
Update release notes
...
- Fatal error handling fix is now in 2.10.5
PiperOrigin-RevId: 269904669
2019-09-20 16:52:54 +01:00
olly
9557868c18
Update release notes
...
- Remove HTTP/2 Fix note, since the issue is still present
- Add release note for fatal error handling fix
PiperOrigin-RevId: 269902736
2019-09-18 15:28:39 -07:00
olly
1be1b0abfb
Improve old release notes
...
PiperOrigin-RevId: 269781924
2019-09-18 15:28:31 -07:00
aquilescanta
556a9954a8
Avoid retrying fatal errors
...
Also clear fatal errors on seek operations
PiperOrigin-RevId: 269780886
2019-09-18 15:28:19 -07:00
olly
73e35abf27
Bump version to 2.10.5
...
PiperOrigin-RevId: 269582832
2019-09-18 15:26:44 -07:00
olly
f4f908408b
Update release notes
...
- Remove HTTP/2 Fix note, since the issue is still present
- Add release note for fatal error handling fix
PiperOrigin-RevId: 269902736
2019-09-18 23:23:36 +01:00
olly
d22794111c
Improve old release notes
...
PiperOrigin-RevId: 269781924
2019-09-18 23:23:29 +01:00
aquilescanta
9863cd33fa
Avoid retrying fatal errors
...
Also clear fatal errors on seek operations
PiperOrigin-RevId: 269780886
2019-09-18 23:23:21 +01:00
bachinger
3b22db33ba
add top-level playlist API to ExoPlayer
...
Public design doc:
https://docs.google.com/document/d/11h0S91KI5TB3NNZUtsCzg0S7r6nyTnF_tDZZAtmY93g
Issue: #6161
PiperOrigin-RevId: 269584512
2019-09-18 23:23:13 +01:00
olly
75b9b11e20
Bump version to 2.10.5
...
PiperOrigin-RevId: 269582832
2019-09-18 23:23:04 +01:00
olly
2fca01b925
Make flags contiguous: There's no reason for the gap :)
...
PiperOrigin-RevId: 269514872
2019-09-17 09:08:12 -07:00
olly
57370b37ce
Update translations
...
PiperOrigin-RevId: 269521864
2019-09-17 09:07:55 -07:00
bachinger
32a8625fb7
allowing 36 characters for shuffle mode off
...
PiperOrigin-RevId: 268478545
2019-09-17 09:06:50 -07:00
bachinger
cf3cfa1d69
allow 33 characters for strings of shuffle on/off
...
PiperOrigin-RevId: 268238764
2019-09-17 09:06:43 -07:00
bachinger
b2aa0ae087
provide content description for shuffle on/off button
...
PiperOrigin-RevId: 266884166
2019-09-17 09:06:13 -07:00
olly
656c97f122
Minor DefaultDrmSessionManager tweaks
...
PiperOrigin-RevId: 269574864
2019-09-17 16:56:54 +01:00
aquilescanta
5df2f142b4
Don't retry fatal errors in DefaultDrmSession
...
Issue:#6334
PiperOrigin-RevId: 269553308
2019-09-17 16:56:46 +01:00
olly
b34a10bc1d
Update translations
...
PiperOrigin-RevId: 269521864
2019-09-17 16:56:38 +01:00
olly
67e8024d84
Make flags contiguous: There's no reason for the gap :)
...
PiperOrigin-RevId: 269514872
2019-09-17 16:56:30 +01:00
olly
d3d9e288c8
Improve ChunkSource.onChunkLoadError documentation
...
PiperOrigin-RevId: 269463652
2019-09-17 16:56:22 +01:00
aquilescanta
66ba8d7793
Fix propagation of HlsMetadataEntry's in HLS chunkless preparation
...
PiperOrigin-RevId: 263356275
2019-09-17 08:34:37 -07:00
aquilescanta
47e405ee11
Add a metadata argument to Format factory methods used in HLS
...
Required for propagation of HlsMetadataEntry's in chunkless preparation.
PiperOrigin-RevId: 263324345
2019-09-17 08:34:13 -07:00
ibaker
b4a2f27cdd
Expand FakeSampleStream to allow specifying a single sample
...
I removed the buffer.flip() call because it seems incompatible with the way MetadataRenderer deals with the Stream - it calls flip() itself on line 126. Tests fail with flip() here, and pass without it...
PiperOrigin-RevId: 263381799
2019-09-16 18:41:32 -07:00
Oliver Woodman
70731fe8b1
Further tweaking of release notes
2019-09-16 18:24:54 -07:00
Oliver Woodman
772b13999a
Tweak release notes
2019-09-16 18:09:09 -07:00
christosts
1a4b1e1ea1
Revert "Add HTTP request parameters (headers) to DataSpec."
...
This reverts commit c3d6be3afdd7c0ca68dba15e443bc64aa3f61073.
2019-09-16 17:53:40 -07:00
Oliver Woodman
26e293070e
Merge pull request #6158 from xirac:dev-v2
...
PiperOrigin-RevId: 268240722
2019-09-16 17:51:50 -07:00
tonihei
560c8c8760
Simplify and improve text selection logic.
...
This changes the logic in the following ways:
- If no preferred language is matched, prefer better scores for the selected
audio language.
- If a preferred language is matched, always prefer the better match
irrespective of default or forced flags.
- If a preferred language score and the isForced flag is the same, prefer
tracks with a better selected audio language match.
PiperOrigin-RevId: 259707430
2019-09-16 17:33:38 -07:00
Toni
9bc4497749
Merge pull request #6178 from xirac:feature/text-track-score
...
PiperOrigin-RevId: 259707359
2019-09-16 17:31:27 -07:00
Oliver Woodman
06a374e74b
Clean up release notes
2019-09-16 17:25:53 -07:00
olly
480f73748d
Upgrade to OkHttp 3.12.5
...
Issue: #4078
PiperOrigin-RevId: 268887744
2019-09-16 17:11:05 -07:00
bachinger
4eda96dd66
disable seekbar in media style notification for live stream
...
ISSUE: #6416
PiperOrigin-RevId: 268673895
2019-09-16 17:09:02 -07:00
olly
23ddfaa80a
Add fLaC prefix to FLAC initialization data
...
The fLaC prefix is included in the initialization data output
from the MKV extractor, so this is highly likely ot be the
right thing to do.
Issue: #6397
PiperOrigin-RevId: 268244365
2019-09-16 17:08:39 -07:00
andrewlewis
b9ffea6831
Fix decoder selection for E-AC3 JOC streams
...
Issue: #6398
PiperOrigin-RevId: 267563795
2019-09-16 17:08:06 -07:00
tonihei
72aa150f02
Handle potential timeline updates that switch from content to ad.
...
We currently don't test if an ad needs to be played in case we are already
playing content.
This is to prevent recreating the current content period when
an ad is marked as skipped. We prefer playing until the designated ad group
position and appending another piece of content. This is less likely to cause
visible discontinuities in case the ad group position is at a key frame
boundary.
However, this means we currently miss updates that require us to play an ad
after a timeline update.
PiperOrigin-RevId: 267553459
2019-09-16 17:04:32 -07:00
andrewlewis
5a516baa78
Fix init data handling for FLAC in MP4
...
Issue: #6396
PiperOrigin-RevId: 267536336
2019-09-16 17:04:24 -07:00
bachinger
332afc9f79
move transparency values of buttons to resources to make it accessible for customization
...
PiperOrigin-RevId: 266880069
2019-09-16 16:57:53 -07:00
aquilescanta
c3f3b1bfa4
Clarify LoadErrorHandlingPolicy's loadDurationMs javadocs
...
PiperOrigin-RevId: 266797383
2019-09-16 16:57:21 -07:00