samrobinson
09025d3912
Allow MP3 files to play with size greater than 2GB.
...
Issue:#7337
PiperOrigin-RevId: 312042768
2020-05-29 21:15:17 +01:00
Oliver Woodman
bc96d3a93c
Merge pull request #7367 from inv3rse:keep-paused-state-during-buffering
...
PiperOrigin-RevId: 311623784
2020-05-29 21:15:17 +01:00
samrobinson
ad1dffcae8
Make the base values of SilenceSkippingAudioProcessor configurable.
...
Issue:#6705
PiperOrigin-RevId: 310907118
2020-05-29 21:15:17 +01:00
Oliver Woodman
5f6a489bd1
Merge pull request #7324 from tpiDev:cronet/migrate-to-play-services-17-0-0
...
PiperOrigin-RevId: 310115628
2020-05-29 21:15:17 +01:00
olly
4862c7e6a8
Upgrade OkHttp to 3.12.11.
...
PiperOrigin-RevId: 310114401
2020-05-29 21:15:17 +01:00
olly
2fa2fb73b7
Catch correct exception from Context.startService
...
Issue: #7306
PiperOrigin-RevId: 309392633
2020-05-29 21:15:17 +01:00
vigneshv
8760424d76
av1_extension: Add a heuristic to determine default thread count
...
Android scheduler has performance issues when a device has a
combiation of big/medium/little cores. Add a heuristic to set the
default number of threads used for deocding to the number of
"performance" (i.e. big) cores.
PiperOrigin-RevId: 308683989
2020-05-27 20:28:37 +01:00
aquilescanta
49e5e66033
Fix NPE when reading from a SampleQueue from a loading thread
...
Issue: #7273
PiperOrigin-RevId: 308238035
2020-05-27 20:22:32 +01:00
ibaker
d9703358ac
Use anti-aliasing and bitmap filtering for bitmap subtitles
...
issue:#6950
PiperOrigin-RevId: 307411067
2020-05-27 20:07:46 +01:00
olly
a697905cfb
Fix H265Reader to correctly output SEI and AUD NAL units
...
Issue: #7113
PiperOrigin-RevId: 307380133
2020-05-27 20:07:46 +01:00
andrewlewis
e7e74afbff
Fix AdsMediaSource child sources not being released
...
Also add unit tests for AdsMediaSource.
PiperOrigin-RevId: 307365492
2020-05-27 20:07:42 +01:00
olly
e6b5e6eb6e
Merge trick play tracks into main track groups
...
Issue: #6054
PiperOrigin-RevId: 307285068
2020-05-27 19:36:27 +01:00
bachinger
aea9f8e550
Merge pull request #7245 from Clement-Jean:silence-media-source-factory
...
PiperOrigin-RevId: 307010600
2020-05-27 19:28:30 +01:00
aquilescanta
2df9491383
Avoid throwing an exception for sample default values
...
Allows playback of content when the default value is
not valid, but not used for any samples.
Issue: #7207
PiperOrigin-RevId: 306631376
2020-05-27 19:12:37 +01:00
Oliver Woodman
54f3e6a203
Revert release note indentation change
2020-04-08 22:03:06 +01:00
olly
1f4d37431e
Upgrade cast dependency
...
Issue: #7191
PiperOrigin-RevId: 305502293
2020-04-08 21:52:38 +01:00
olly
f696a56b56
Audio focus: Restore full volume if focus is abandoned when ducked
...
If we're in the ducked state and updateAudioFocus is called with a
new state for which focus is no longer required, we should restore
the player back to full volume.
Issue: #7182
PiperOrigin-RevId: 305232155
2020-04-07 14:12:30 +01:00
Oliver Woodman
49858b82f2
Merge pull request #7184 from TiVo:p-subtitle-format-from-codecs
...
PiperOrigin-RevId: 305137114
2020-04-07 14:12:06 +01:00
olly
cc29798d9b
Audio focus: Re-request audio focus if in a transient loss state
...
This avoids cases where audio focus is never successfully acquired
because another app is holding on to transient audio focus indefinitely.
Issue: #7182
PiperOrigin-RevId: 305108528
2020-04-07 14:02:46 +01:00
andrewlewis
07cbfb65e5
Fix stuck ad playbacks with DRM-protected content
...
When ClippingMediaPeriod first tried to read a buffer, if its end
position was before the end of the stream and it was buffered to its end
position, it would sometimes erroneously signal end-of-stream for
protected content because the sample queue might be waiting for DRM keys
at this point.
Work around the issue temporarily by signaling this specific case back
to ClippingMediaPeriod via the DecoderInputBuffer.
There will likely be a cleaner fix as a result of adding support for
dynamic clip end points in the future, at which point this can be
reverted.
issue:#7188
PiperOrigin-RevId: 305081757
2020-04-07 13:49:54 +01:00
Oliver Woodman
29118f4586
Tweak release note
2020-04-04 00:21:20 +01:00
samrobinson
83c2ca5902
Add WifiLock management to SimpleExoPlayer.
...
Issue:#6914
PiperOrigin-RevId: 297598910
2020-04-03 22:52:35 +01:00
olly
a5420a0b65
Fix release notes
...
PiperOrigin-RevId: 304196424
2020-04-01 23:04:58 +01:00
olly
38f282800c
Fix ADTS extraction with mid-stream ID3
...
PiperOrigin-RevId: 304184650
2020-04-01 23:04:36 +01:00
Oliver Woodman
c75f3f77ff
Merge pull request #7099 from matamegger:feature/fix_pssh_v1_on_firetv
...
PiperOrigin-RevId: 303937576
2020-04-01 22:58:03 +01:00
olly
1f44a4db4b
Bump version to 2.11.4
...
PiperOrigin-RevId: 303776645
2020-03-30 19:27:23 +01:00
andrewlewis
fea0acd41a
Fix PlaybackStatsListener behavior when not keeping history
...
issue:#7160
PiperOrigin-RevId: 303747338
2020-03-30 18:36:10 +01:00
olly
f0e734d33e
Workaround C2 AAC decoder flush problem on Android 10
...
Issue: #6671
PiperOrigin-RevId: 303364788
2020-03-30 18:36:07 +01:00
olly
69ca534935
Parse opus gain correctly as a signed value
...
Issue: #7046
PiperOrigin-RevId: 303354941
2020-03-30 18:31:24 +01:00
ibaker
c9f28086db
Make milliseconds optional in SubRip (SRT) subtitles
...
issue:#7122
PiperOrigin-RevId: 303154493
2020-03-30 18:31:24 +01:00
olly
a038346ecc
Resample float audio to 16-bit by default to enable audio processing
...
This is less confusing than having audio processing functionality (e.g., playback
speed adjustment) just "not work" for some pieces of media.
If this change is merged, I will update #6749 to also track making DefaultAudioSink
intelligently enable/disable float output depending on how the audio processors are
configured.
Issue: #7134
PiperOrigin-RevId: 302871568
2020-03-30 18:31:24 +01:00
olly
2094c7491b
WAV: Don't read past data end position
...
Issue: #7129
PiperOrigin-RevId: 302660343
2020-03-30 18:31:24 +01:00
ibaker
d18292c9c9
Allow missing hours in SubRip (.srt) subtitle timecodes
...
Add a test for this case, and extend the existing tests to ensure the
hour is parsed when it's present.
issue:#7122
PiperOrigin-RevId: 302472213
2020-03-30 18:31:23 +01:00
andrewlewis
4750785f5a
Add option for sensor rotation in 360 playbacks
...
Issue: #6761
PiperOrigin-RevId: 300715682
2020-03-30 18:27:07 +01:00
Oliver Woodman
b2849fde3d
Merge pull request #7057 from Chimerapps:dash_assetidentifier
...
PiperOrigin-RevId: 300313753
2020-03-30 14:32:35 +01:00
Oliver Woodman
dca68b2198
Merge pull request #7064 from davibe:enhancement/6907
...
PiperOrigin-RevId: 300330109
2020-03-30 14:30:33 +01:00
krocard
40d5db0460
Add support for x86_64 for the ffmpeg extension
...
Requested by https://github.com/google/ExoPlayer/issues/7058 .
Additionally move one of the common option in COMMON_OPTIONS.
PiperOrigin-RevId: 299862479
2020-03-30 14:26:33 +01:00
ibaker
1818921a20
Catch-and-log all subtitle decode errors
...
issue:#6885
PiperOrigin-RevId: 295931197
2020-03-30 13:41:41 +01:00
olly
5f1c6b650d
Fix SmoothStreaming
...
Issue: #6981
PiperOrigin-RevId: 295579872
2020-02-18 12:15:13 +00:00
olly
d93b57c009
Zero out trailing bytes in CryptoInfo.iv
...
CryptoInfo.iv length is always 16. When the actual initialization vector
is shorter, zero out the trailing bytes.
Issue: #6982
PiperOrigin-RevId: 295575845
2020-02-18 12:14:34 +00:00
Oliver Woodman
0740e3cc8e
Fix release date
2020-02-13 18:08:54 +00:00
andrewlewis
646e690d9f
Add GL demo app
...
Demonstrates rendering to a GLSurfaceView while applying a GL shader.
Issue: #6920
PiperOrigin-RevId: 293551724
2020-02-13 16:52:20 +00:00
aquilescanta
19c8858341
Prepare and release DrmSessionManager in Renderers
...
Issue: #6951
PiperOrigin-RevId: 294187695
2020-02-13 15:53:05 +00:00
olly
fd88115728
HLS: Fix key rotation
...
Passing EXT-X-KEY DrmInitData through the FragmentedMp4Extractor
doesn't work for streams with key rotation, because an extractor
instance is used for multiple segments, but is only passed the
EXT-X-KEY DrmInitData corresponding to the first segment.
This change removes passing DrmInitData through the extractor,
and instead passes it via FormatAdjustingSampleQueue. This is
in-line with how manifest DrmInitData is handled during DASH
playbacks.
Issue: #6903
PiperOrigin-RevId: 292323429
2020-02-01 19:39:06 +00:00
olly
fbe840e880
Upgrade OkHttp dependency to 3.12.8
...
OkHttp 3.12.7 introduced a regression, which was fixed in 3.12.8.
PiperOrigin-RevId: 291695577
2020-01-27 19:08:45 +00:00
andrewlewis
b59a1b89e3
Remove duplicate release note
...
PiperOrigin-RevId: 290600248
2020-01-27 19:06:57 +00:00
tonihei
c79cb1bfe0
Add ID3 genres added in Wimamp 5.6 (2010).
...
All these genres are currently causing a warning and are not added to the Metadata.Entry.
PiperOrigin-RevId: 290594810
2020-01-27 19:06:36 +00:00
olly
ce1ec1d5dc
Release notes: Move download segment merging out of 2.11.2
...
PiperOrigin-RevId: 290276507
2020-01-17 17:00:34 +00:00
olly
0a2373c300
2.11.2 release notes and version bump
...
PiperOrigin-RevId: 290269098
2020-01-17 16:16:36 +00:00
olly
f146bad439
HLS: Fix slow seeking into long MP3 segments
...
Issue: #6155
PiperOrigin-RevId: 290117324
2020-01-17 14:02:33 +00:00