insun
cf2a58e6dc
Fix styled ui's documents
...
#exofixit
PiperOrigin-RevId: 322854029
2020-07-24 10:48:25 +01:00
aquilescanta
19602ca4ca
Use CMake to build the ffmpeg audio extension
...
PiperOrigin-RevId: 322793308
2020-07-24 10:48:16 +01:00
christosts
9a51681332
Update internal reference
...
#exofixit
PiperOrigin-RevId: 322791471
2020-07-24 10:48:07 +01:00
aquilescanta
0f346c8c2f
Fix withDecoderExtensions flavor detection in internal demo app
...
PiperOrigin-RevId: 322781213
2020-07-24 10:47:58 +01:00
andrewlewis
c271eb85fd
Fix some nullness annotation warnings
...
PiperOrigin-RevId: 322780990
2020-07-24 10:47:49 +01:00
andrewlewis
2c82cfe5b0
Fix TextRenderer input buffer updates
...
PiperOrigin-RevId: 322780573
2020-07-24 10:47:40 +01:00
tonihei
50ddfccdb9
Use consistent scoring style in DefaultTrackSelector.
...
We currently mix point-based systems with Comparable-based systems.
This switches all scoring to using Comparable and modernizes it by
using ComparisonChain.
Using Comparator chains is more maintainable than point systems because
the reader doesn't have to think about all combinatorial combinations
of points.
PiperOrigin-RevId: 322766278
2020-07-24 10:47:31 +01:00
bachinger
d25178844c
Enable nullness checking for CacheDataSource
...
PiperOrigin-RevId: 322763032
2020-07-24 10:47:22 +01:00
krocard
ab73c04059
Update Gradle plugin
...
PiperOrigin-RevId: 322761375
2020-07-24 10:47:13 +01:00
christosts
daa063a0f8
Migrate MediaPeriodQueueTest to LooperMode.PAUSED
...
PiperOrigin-RevId: 322760417
2020-07-24 10:47:04 +01:00
kimvde
2cf9d9b0c0
Add nullness annotations on MediaCodecRenderer processOutputBuffer
...
Issue: #7579
PiperOrigin-RevId: 322756102
2020-07-24 10:46:55 +01:00
bachinger
b041c59f1e
Use manifest assets instead of building manifests with code
...
PiperOrigin-RevId: 322739943
2020-07-24 10:46:46 +01:00
olly
6d92eebe51
Revert Format back to only containing audio encoding for PCM
...
PiperOrigin-RevId: 322683545
2020-07-24 10:46:37 +01:00
olly
92029ed0ad
Un-deprecate Format.pcmEncoding and switch tests back to it.
...
This change precedes one that will remove Format.encoding.
PiperOrigin-RevId: 322619495
2020-07-24 10:46:28 +01:00
olly
21fe2f1edf
Make the output mode more explicit in DefaultAudioSink
...
PiperOrigin-RevId: 322609230
2020-07-24 10:46:19 +01:00
ibaker
bdadd572e2
Enable nullness checks for more easy files
...
PiperOrigin-RevId: 322586013
2020-07-24 10:46:10 +01:00
bachinger
787cfb94c5
Enable nullness checking for CacheDataSink
...
PiperOrigin-RevId: 322575337
2020-07-24 10:46:01 +01:00
ibaker
d33ba74a1d
Rename tests to reference playback speed instead of parameters
...
Player#setPlaybackParameters (and all derived methods) is deprecated in
favour of Player#setPlaybackSpeed
#exofixit
PiperOrigin-RevId: 322568198
2020-07-24 10:45:52 +01:00
ibaker
3ad1b95460
Enable nullness checking for BaseRenderer
...
#exofixit
PiperOrigin-RevId: 322567104
2020-07-24 10:45:43 +01:00
ibaker
6e751c35c7
Enable nullness checking for DefaultMediaClock
...
PiperOrigin-RevId: 322542289
2020-07-24 10:45:34 +01:00
ibaker
0efec5f6c1
Enable nullness checks for the text package
...
PiperOrigin-RevId: 322539147
2020-07-24 10:45:24 +01:00
ibaker
1c6aaac958
Merge playback speed into PlaybackInfo and update EPI and EPII
...
PiperOrigin-RevId: 322539001
2020-07-24 10:45:15 +01:00
samrobinson
78260e2021
Replacing static arrays with switch statements in MediaCodecUtil.
...
PiperOrigin-RevId: 322537851
2020-07-24 10:45:06 +01:00
christosts
433734dce7
MediaCodecVideoRendererTest: remove LooperMode.LEGACY
...
PiperOrigin-RevId: 322536247
2020-07-24 10:44:57 +01:00
bachinger
f81a353bf8
Remove onMediaPeriodCreated/Released/ReadingStarted
...
These callbacks were only necessary to track the queue in AnalyticsCollector and there is no other known benefit of having them.
PiperOrigin-RevId: 322535274
2020-07-24 10:44:48 +01:00
samrobinson
193306f2f3
Ensure audio renderer exceptions report the correct format.
...
PiperOrigin-RevId: 322534950
2020-07-24 10:44:39 +01:00
christosts
6c837643b9
Fix dependency on common module
...
PiperOrigin-RevId: 322533712
2020-07-24 10:44:30 +01:00
andrewlewis
29db445c2c
Switch operating rate bug ref to more relevant bug
...
PiperOrigin-RevId: 322533467
2020-07-24 10:44:21 +01:00
ibaker
84e13e3bd0
Replace media2 SettableFuture with Guava version
...
PiperOrigin-RevId: 322530026
2020-07-24 10:44:11 +01:00
christosts
3191afe82e
Common tests do not depend on testutils
...
This commit duplicates some code from the testutils module
in common test in order to break the dependency from testutils.
PiperOrigin-RevId: 322366013
2020-07-24 10:44:02 +01:00
christosts
6ace2c9460
DefaultDownloaderFactory: upgrade deprecated call
...
Replace the use of Downloader deprecrated constructor calls.
PiperOrigin-RevId: 322357118
2020-07-24 10:43:53 +01:00
olly
d77ce9eda0
Remove deprecated calls to external APIs
...
PiperOrigin-RevId: 322346067
2020-07-24 10:43:44 +01:00
ibaker
4fbd09693a
Fix nullness error in Mp4Extractor
...
This only manifests when turning ParsableByteArray#data into a getData()
method but I'm fixing it beforehand to avoid introducing changes into a
big refactoring change.
#exofixit
PiperOrigin-RevId: 322342497
2020-07-24 10:43:35 +01:00
ibaker
e0b7263ce4
Remove SpannedSubject dependency from UtilTest
...
PiperOrigin-RevId: 322341513
2020-07-24 10:43:25 +01:00
christosts
34a887e2d3
Common module tests depend on core
...
PiperOrigin-RevId: 322325657
2020-07-24 10:43:16 +01:00
olly
132c9d15e3
UI module string cleanup
...
PiperOrigin-RevId: 322323784
2020-07-24 10:43:07 +01:00
ibaker
7ed729b175
Fix warning about int overflowing before being assigned to long
...
#exofixit
PiperOrigin-RevId: 322322340
2020-07-24 10:42:57 +01:00
olly
899a78fca9
StyledPlayerControlView: Some cleanup
...
PiperOrigin-RevId: 322317638
2020-07-24 10:42:48 +01:00
insun
63ca2b00fb
Resolve styled controls crash on pre-API 21
...
When building a demo app without recent gradle (ex. blaze)
it crashes.
PiperOrigin-RevId: 322313886
2020-07-24 10:42:39 +01:00
olly
7b4d7d9aa4
Remove invalid documentation that causes javadoc to crash
...
PiperOrigin-RevId: 322311636
2020-07-24 10:42:30 +01:00
kimvde
34ed79e6d9
Remove nullness warnings in extractors
...
#exofixit
PiperOrigin-RevId: 322311309
2020-07-24 10:42:21 +01:00
kimvde
8dd564c9a8
Remove Mp4Extractor from nullness exclusion list
...
PiperOrigin-RevId: 322310474
2020-07-24 10:42:12 +01:00
claincly
73df8e4a26
Removes spherical stereo play back mode
...
- Removed corresponding playback examples in the resouce JSON files.
- Removed the spherical style declaration.
- Removed spherical stereo mode related Intent settings, and
- Removed code to play back media in spherical stereo mode
BUG=160460714
(grafted from 595fe17a480d5bc64d0198130150d8e8a5daa679)
PiperOrigin-RevId: 322206314
2020-07-24 10:42:03 +01:00
tonihei
08f62efb88
Remove experimental time limit on renderer loop.
...
PiperOrigin-RevId: 322172767
2020-07-24 10:41:54 +01:00
claincly
811921e618
Removes random ABR support in demo app
...
- Removed random ABR option from popup menu
- Remvoed intent parameter regarding random abr, default to
AdaptiveTrackSelection. Removed logic for getting track selection
mode from an intent
- Remvoed string definition regarding random ABR
PiperOrigin-RevId: 322167816
2020-07-24 10:41:45 +01:00
christosts
aed5aca3dd
ActionFileUpgradeUtil: add more tests action files
...
Add test action files for DASH, HLS, SmoothStreaming and Progressive.
PiperOrigin-RevId: 322166875
2020-07-24 10:41:36 +01:00
andrewlewis
9594aa45ff
Move functionality from DemoApplication to DemoUtil
...
https://developer.android.com/reference/android/app/Application recommends
against subclassing application.
PiperOrigin-RevId: 322163812
2020-07-24 10:41:27 +01:00
tonihei
97cc355baf
Fix bug in downloader proguard config.
...
The nested class names need to use a $ sign.
PiperOrigin-RevId: 322156862
2020-07-24 10:41:18 +01:00
olly
6eb706002a
Migrate to Robolectric PAUSED looper mode: AudioFocusManagerTest
...
PiperOrigin-RevId: 322154193
2020-07-24 10:41:09 +01:00
olly
576ef82191
Remove explicit use of Robolectric PAUSED looper mode
...
It's now the default everywhere, so there's no need to specify it
explicitly.
PiperOrigin-RevId: 322153319
2020-07-24 10:41:00 +01:00