christosts
ca849a0679
Fix incorrent javadoc syntax
...
PiperOrigin-RevId: 281480582
2019-11-22 15:08:38 +00:00
christosts
f921d0d3e5
Ability to set timeout on release() and setSurface()
...
Add experimental APIs to set a timeout Player#release() and
PlayerMessage#blockUntilDeliver().
PiperOrigin-RevId: 281479146
2019-11-22 15:08:31 +00:00
aquilescanta
f6afbe6cb0
Make MediaLoadData a top level class
...
In order to reuse it in LoadErrorHandlingPolicy.
PiperOrigin-RevId: 281333287
2019-11-22 15:08:16 +00:00
ibaker
c8e5144494
Add testutils as test dep of library-core module
...
The current workaround seems to cause compilation errors inside the
testutils module in Android Studio. This seems to fix them.
This doesn't introduce a circular dependency because it's only
the tests in library-core depending on testutils.
PiperOrigin-RevId: 281318192
2019-11-22 15:08:08 +00:00
samrobinson
e26a61b903
Improve Format
propagation within the MediaCodecRenderer
.
...
For example, fix handling of pixel aspect ratio changes in
playlists where video resolution does not change.
Issue:#6646
PiperOrigin-RevId: 281276023
2019-11-22 15:08:00 +00:00
andrewlewis
dbd7e055e5
Reconfigure audio sink when PCM encoding changes
...
Note:
- Fixing this uncovers another bug in how audio processor draining
works, so the test playlist still doesn't play correctly after this
change.
- Once we reconfigure the audio sink based on the ExoPlayer Format
rather than the codec MediaFormat in a later change, this change can
be reverted.
Issue: #6601
PiperOrigin-RevId: 281264149
2019-11-22 15:07:52 +00:00
kimvde
774ccafa93
Remove TODO around optimizing sample data outputs in FlacExtractor
...
Preliminary measurement showed that the results were similar to the non-optimized
version.
PiperOrigin-RevId: 281255476
2019-11-22 15:07:44 +00:00
Pierre-Hugues Husson
ad8f6c183d
Allow multiple metadata tracks, assuming multiple metadata renderers
2019-11-20 16:28:10 +01:00
aquilescanta
b5d9935361
Deprecate public renderer constructors that take a DrmSessionManager
...
PiperOrigin-RevId: 281086336
2019-11-19 15:10:42 +00:00
olly
654b7aa12b
Release notes for 2.10.8
...
PiperOrigin-RevId: 281084720
2019-11-19 15:10:34 +00:00
olly
d99b2c3509
Cleanup key request parameters
...
- Make NonNull, which is already the case when using the manager builder.
- Better document PLAYREADY_CUSTOM_DATA_KEY, now that newPlayReadyInstance
is no more.
PiperOrigin-RevId: 281079288
2019-11-19 15:10:10 +00:00
aquilescanta
6158b2fa2a
Allow user to pick which track types to create placeholder sessions for
...
Issue:#4867
PiperOrigin-RevId: 281064793
2019-11-19 15:10:04 +00:00
olly
8c3e6663d3
Clean up non-trivial track selection deprecation
...
PiperOrigin-RevId: 281051893
2019-11-19 15:09:57 +00:00
andrewlewis
da9c985cce
Fix byte order for HDR10+ static metadata
...
The implementation of writing HDR10+ static metadata assumed that the
application would use default (big endian) byte order for this metadata but
MediaCodec expects the order to match the specification CTA-861.3.
PiperOrigin-RevId: 281050806
2019-11-19 15:09:52 +00:00
olly
7f19b88506
Make some listener methods default
...
PiperOrigin-RevId: 281050034
2019-11-19 15:09:46 +00:00
olly
6b03ce8f12
Remove SimpleCache hacks that are no longer used
...
PiperOrigin-RevId: 281049383
2019-11-19 15:09:21 +00:00
olly
09df3a013c
Don't check rotated resolution for HEVC on LG Q7
...
Issue: #6612
PiperOrigin-RevId: 281048324
2019-11-19 15:09:08 +00:00
andrewlewis
8c848a2a53
Remove option to disable loop filter for VP9
...
PiperOrigin-RevId: 281039634
2019-11-19 15:08:53 +00:00
aquilescanta
35d9bdea09
Add Util.linearSearch
...
PiperOrigin-RevId: 281037183
2019-11-19 15:08:37 +00:00
bachinger
07bfab8e4c
document media button handling prior to API level 21
...
ISSUE: #6545
PiperOrigin-RevId: 281032120
2019-11-19 15:07:30 +00:00
Oliver Woodman
33938c05b5
Merge pull request #6664 from google/dev-v2-r2.10.8
...
r2.10.8
2019-11-19 10:42:38 +00:00
aquilescanta
95d0921114
Make LoadEventInfo a top level class
...
In order to reuse it in LoadErrorHandlingPolicy.
PiperOrigin-RevId: 281087397
2019-11-18 17:55:51 +00:00
aquilescanta
699dd3d27c
Deprecate public renderer constructors that take a DrmSessionManager
...
PiperOrigin-RevId: 281086336
2019-11-18 17:55:43 +00:00
olly
3515a5112d
Release notes for 2.10.8
...
PiperOrigin-RevId: 281084720
2019-11-18 17:55:36 +00:00
kimvde
9b2917a9ae
Add Java FLAC extractor
...
Seeking, live streams support and exposure of vorbis and ID3 data
are not part of this commit.
Issue: #6406
PiperOrigin-RevId: 281083332
2019-11-18 17:55:28 +00:00
olly
0db1fc67fa
Cleanup key request parameters
...
- Make NonNull, which is already the case when using the manager builder.
- Better document PLAYREADY_CUSTOM_DATA_KEY, now that newPlayReadyInstance
is no more.
PiperOrigin-RevId: 281079288
2019-11-18 17:55:20 +00:00
aquilescanta
d984a8cdd3
Allow user to pick which track types to create placeholder sessions for
...
Issue:#4867
PiperOrigin-RevId: 281064793
2019-11-18 17:55:12 +00:00
olly
1ef345192c
Clean up non-trivial track selection deprecation
...
PiperOrigin-RevId: 281051893
2019-11-18 17:55:04 +00:00
andrewlewis
a5e14b4dae
Fix byte order for HDR10+ static metadata
...
The implementation of writing HDR10+ static metadata assumed that the
application would use default (big endian) byte order for this metadata but
MediaCodec expects the order to match the specification CTA-861.3.
PiperOrigin-RevId: 281050806
2019-11-18 17:54:56 +00:00
olly
1629a5afd3
Make some listener methods default
...
PiperOrigin-RevId: 281050034
2019-11-18 17:54:48 +00:00
olly
3e17080c02
Remove SimpleCache hacks that are no longer used
...
PiperOrigin-RevId: 281049383
2019-11-18 17:54:40 +00:00
olly
7f2827077c
Don't check rotated resolution for HEVC on LG Q7
...
Issue: #6612
PiperOrigin-RevId: 281048324
2019-11-18 17:54:32 +00:00
andrewlewis
3b26ecf6fe
Remove option to disable loop filter for VP9
...
PiperOrigin-RevId: 281039634
2019-11-18 17:54:24 +00:00
aquilescanta
82b218607f
Add Util.linearSearch
...
PiperOrigin-RevId: 281037183
2019-11-18 17:54:15 +00:00
bachinger
734b4ad9c8
document media button handling prior to API level 21
...
ISSUE: #6545
PiperOrigin-RevId: 281032120
2019-11-18 17:54:07 +00:00
Oliver Woodman
30f79a4c47
Tweak release notes
2019-11-18 17:17:23 +00:00
Oliver Woodman
21957bf783
Revert "add default methods isSingleWindow and getInitialTimeline to MediaSource interface"
...
This reverts commit 01a4cf98d551bdac161f1b845fe00aa1ccffda47.
2019-11-18 05:41:30 +00:00
Oliver Woodman
30ed83ecef
Revert "Playlist API: Add setMediaItem() and prepare()"
...
This reverts commit cd2c1f2f24c3a17ffa59f0c5ba9d17d55f141793.
2019-11-18 05:41:20 +00:00
Oliver Woodman
c9cc147fb9
Revert "Playlist API: add Playlist and PlaylistTest"
...
This reverts commit 5c2806eccabcdeb8817b1ccb20bffeb087259f42.
2019-11-18 05:38:22 +00:00
Oliver Woodman
71dd3fe54e
Revert "Add a parameter object for LoadErrorHandlingPolicy methods"
...
This reverts commit b84a9bed2caade60a06ac5b91bd66a5f3af6449d.
2019-11-18 05:37:44 +00:00
Oliver Woodman
a91ffdd4d1
Revert "Fix parameter name mismatch in Playlist"
...
This reverts commit 65b49a49f7ab6f70b37eedfce7c6cc057441198f.
2019-11-17 05:08:24 +00:00
Oliver Woodman
cedada0988
Revert "Merge consecutive segments for downloading."
...
This reverts commit c8e7ecd36794e4030ff1d0a56d25e5e0e6e0a216.
2019-11-17 05:07:57 +00:00
Oliver Woodman
ae271c1689
Bump version to 2.10.8
2019-11-17 04:53:48 +00:00
olly
2e0719b555
Parse channel count and sample rate from ALAC initialization data
...
Also remove the "do we really need to do this" comment for AAC.
Parsing from codec specific data is likely to be more robust, so
I think we should continue to do it for formats where we've seen
this problem.
Issue: #6648
PiperOrigin-RevId: 280575466
2019-11-17 04:39:40 +00:00
Oliver Woodman
1345010e27
Merge pull request #6650 from stanionascu:dev-v2-dv
...
PiperOrigin-RevId: 280573887
2019-11-17 04:39:31 +00:00
bachinger
c0e633fbe1
use getPeriodByUid when searching for subsequent period of seek timeline
...
Issue: #6641
PiperOrigin-RevId: 279963739
2019-11-17 04:39:01 +00:00
andrewlewis
4b012a9b6e
Don't check channels for E-AC3 JOC passthrough
...
PiperOrigin-RevId: 279841132
2019-11-17 04:35:41 +00:00
kimvde
a8b65ca8d6
Compute format maxInputSize in FlacReader
...
Use the maximum frame size as the maximum sample size if provided.
PiperOrigin-RevId: 279722820
2019-11-17 04:35:31 +00:00
andrewlewis
2b1c2171e7
Handle new signaling for E-AC3 JOC in DASH
...
Issue: #6636
PiperOrigin-RevId: 279666771
2019-11-17 04:35:26 +00:00
kimvde
ed6eb3aa58
Fix FLAC bit rate computation
...
PiperOrigin-RevId: 279088193
2019-11-17 04:34:01 +00:00