kimvde
6960dde8a8
Add nullness annotations to FragmentedMp4Extractor
...
PiperOrigin-RevId: 327797428
2020-08-26 16:39:07 +01:00
Yoni Obadia
88d7587ca7
dev: add setting theme for TrackSelectionDialogBuilder
2020-08-26 11:40:48 +02:00
takusemba
3f5c584574
apply output surface workaround for F02H, F03H
2020-08-25 14:53:57 +09:00
bachinger
e55b345595
Make all media source factories create a drm session
...
PiperOrigin-RevId: 327691347
2020-08-21 12:55:14 +01:00
aquilescanta
a673eec845
Make Format's constructor take the Builder as argument
...
Which saves the large parameter list.
PiperOrigin-RevId: 327619725
2020-08-21 12:51:33 +01:00
andrewlewis
e2fc5c2190
Fix EventLogger audio underrun logging
...
PiperOrigin-RevId: 327610950
2020-08-21 12:51:23 +01:00
insun
74f788afc3
Improve a11y in minimal mode
...
Previously, the fullscreen button and timebar has been overlapped in minimal mode
PiperOrigin-RevId: 327606728
2020-08-21 12:51:15 +01:00
aquilescanta
79a846eb5e
Fix check in placeholder session acquisition
...
PiperOrigin-RevId: 327223824
2020-08-21 12:49:16 +01:00
aquilescanta
41e6577dca
Remove DrmSessionManager.acquirePlaceholderSession
...
In order to acquire a placeholder session, clients can call acquireSession
with a format with a null drmInitData.
PiperOrigin-RevId: 327220249
2020-08-21 12:49:06 +01:00
olly
7588c26b60
Remove support for cbc1 and cens encryptions schemes
...
PiperOrigin-RevId: 327199833
2020-08-21 12:48:39 +01:00
ibaker
54c92080bf
Fix nullness warnings in testutil package
...
PiperOrigin-RevId: 327190676
2020-08-21 12:48:29 +01:00
William King
b7739283e0
add back removed tests
2020-08-18 21:25:48 -07:00
William King
081c5900bf
add mkv samples
2020-08-18 21:21:11 -07:00
insun
b853978a91
Fix bug to show 'play' button at the end of stream
...
PiperOrigin-RevId: 327158791
2020-08-18 08:11:54 +01:00
aquilescanta
4cd8f00d72
Avoid setting a PMT reader if one exists for the same PID
...
This change should only affect HLS, where we don't remove the
PAT reader after reading a PAT.
Issue: #7756
PiperOrigin-RevId: 327008936
2020-08-17 16:14:57 +01:00
olly
f2d2e6475a
Bump release to 2.12.0
...
PiperOrigin-RevId: 327005645
2020-08-17 16:14:48 +01:00
olly
513b301e77
ExoPlaybackException: Align some method naming
...
PiperOrigin-RevId: 327003695
2020-08-17 16:14:39 +01:00
olly
7ef31e2208
Tweak DefaultMediaSourceFactory documentation
...
PiperOrigin-RevId: 327000958
2020-08-17 16:14:30 +01:00
olly
02ed809a18
Tweak offload disable Javadoc
...
PiperOrigin-RevId: 326998407
2020-08-17 16:14:21 +01:00
ibaker
f0ae8afd80
Separate the dump files from the test assets
...
This allows us to more easily create different dumps derived from the
same assets.
This moves media/source files from `assets/` to `assets/media/` and
dump files from `assets/` to `assets/extractordumps/` and
`assets/audiosinkdumps/` as appropriate. I intend to add
`assets/playbackdumps/` in a future CL.
PiperOrigin-RevId: 326986283
2020-08-17 16:13:53 +01:00
insun
333ccedf80
Improve error message and correct reference to proper layout
...
PiperOrigin-RevId: 326944292
2020-08-17 16:13:43 +01:00
olly
94b66f4c24
Specify which function is triggering a TimeoutException
...
PiperOrigin-RevId: 326666629
2020-08-17 16:13:16 +01:00
andrewlewis
977f0d1ed0
Scale AudioTrack buffer size for AudioTrack speed adjustment
...
PiperOrigin-RevId: 326642908
2020-08-17 16:13:07 +01:00
samrobinson
eabc486b58
Keep AudioTrack on seek - experimental.
...
PiperOrigin-RevId: 326622573
2020-08-17 16:12:58 +01:00
insun
602d880841
Fix StyledControlView's minimal mode bug and setShow{*}Button bug
...
There were two bugs in StyledPlayerControlView:
- Center icons are shown when toggling control view in minimal mode.
- `StyledControlView#setShow{*}Button` methods and corresponding
`set_show_*_button` attributes didn't work properly.
This CL fixes bugs by controlling the buttons' visibility in one place,
StyledPlayerControlViewLayoutManager.
PiperOrigin-RevId: 326567213
2020-08-17 16:12:30 +01:00
insun
454a38c366
Increase touch target size and margins between icons
...
PiperOrigin-RevId: 326423935
2020-08-17 16:11:44 +01:00
andrewlewis
61abe5951a
Use consistent naming for 'offload scheduling enabled'
...
PiperOrigin-RevId: 326413842
2020-08-17 16:11:35 +01:00
aquilescanta
cde795ea98
Fix typo in DrmSessionManager's javadoc
...
PiperOrigin-RevId: 326413433
2020-08-17 16:11:26 +01:00
aquilescanta
fcb263a407
Make DrmSessionManager take a Format instead of DrmInitData
...
Skipping acquirePlaceholderSession which will be removed
in a following change.
PiperOrigin-RevId: 326402746
2020-08-17 16:11:17 +01:00
insun
cda35f6677
Make play/pause button to reflect getPlayWhenReady state
...
Previously, it refelects isPlaying() and it makes the button to seem
unresponsive when playback error occurs.
PiperOrigin-RevId: 326396570
2020-08-17 16:10:59 +01:00
andrewlewis
501f464217
Add support for using framework speed adjustment
...
AudioTrack.setPlaybackParams can be used to adjust playback speed.
This is preferable to application-level speed adjustment (currently
implemented in ExoPlayer) from API 23 because the speed change
occurs in the mixer, which means that the audio track buffer doesn't
need to drain out before the speed adjustment takes effect.
Issue: #7502
PiperOrigin-RevId: 326392301
2020-08-17 16:10:50 +01:00
insun
b95c984d16
Cleanup unused ui resources and code
...
PiperOrigin-RevId: 326390725
2020-08-17 16:10:40 +01:00
olly
a0088f068a
Change getMaxInputSize visibility.
...
PiperOrigin-RevId: 326341905
2020-08-17 16:10:31 +01:00
andrewlewis
6aeacd70bc
Fix miscellaneous nits
...
PiperOrigin-RevId: 326208366
2020-08-17 16:09:19 +01:00
krocard
b02398ff75
Save input format in Configuration
...
This will allow for better exception
on AudioTrack error.
PiperOrigin-RevId: 326091883
2020-08-17 16:09:10 +01:00
olly
511a6c729e
Increase flexibility of ISM URL handling
...
PiperOrigin-RevId: 326025335
2020-08-17 16:09:01 +01:00
andrewlewis
607e11718b
Remove deprecated AudioSink methods
...
Also do some minor cleanup in DefaultAudioSink.
PiperOrigin-RevId: 326012441
2020-08-17 16:08:52 +01:00
olly
82b26357c9
Infer ISM content type from URL specified extension
...
PiperOrigin-RevId: 326012248
2020-08-17 16:08:43 +01:00
ibaker
443468d103
Clarify MediaItem.Builder javadoc
...
Make it clear that setUri sets PlaybackProperties.uri
Also capitalise all references to DRM, ID, URI and UUID
PiperOrigin-RevId: 326002853
2020-08-17 16:08:34 +01:00
ibaker
da4d55635c
Create a DumpFileAsserts from the dumpfile logic in FakeExtractorOutput
...
Also use it to replace the same logic in CapturingAudioSink
PiperOrigin-RevId: 325969455
2020-08-17 16:08:24 +01:00
olly
361e5d9326
Demo app: Fix DRM support check for ClearKey
...
Issue: Issue: #7735
PiperOrigin-RevId: 325900705
2020-08-17 16:08:15 +01:00
krocard
19db6feddb
Use message to set offload scheduling
...
The code was mutating boolean across threads.
PiperOrigin-RevId: 325826214
2020-08-17 16:07:57 +01:00
krocard
192c1e5dee
Improve OnExperimentalOffloadSchedulingEnabled name
...
For consistency with onShuffleModeEnabledChanged.
PiperOrigin-RevId: 325820951
2020-08-17 16:07:48 +01:00
samrobinson
63faf51c7e
Change experimental method naming of setReleaseTimeoutMs.
...
PiperOrigin-RevId: 325795609
2020-08-17 16:07:39 +01:00
samrobinson
78424efc90
Change experimental method naming for throwWhenStuckBuffering.
...
PiperOrigin-RevId: 325795485
2020-08-17 16:07:29 +01:00
samrobinson
69c2a76d01
Change experimental method naming of set*MediaCodecOperationMode.
...
PiperOrigin-RevId: 325790799
2020-08-17 16:07:20 +01:00
krocard
6c3a011dc3
Listener for offload scheduling
...
Let the app know when offload scheduling is enabled or disabled.
PiperOrigin-RevId: 325790017
2020-08-17 16:07:11 +01:00
samrobinson
9a0203e954
Change experimental method naming for blockUntilDelivered.
...
PiperOrigin-RevId: 325786522
2020-08-17 16:07:02 +01:00
samrobinson
eb9463454b
Change setBandwidthAllocationCheckpoints naming.
...
PiperOrigin-RevId: 325786473
2020-08-17 16:06:53 +01:00
samrobinson
6db25cdab6
Change experimental method naming for allowMultipleAdaptiveSelections
...
PiperOrigin-RevId: 325784936
2020-08-17 16:06:43 +01:00