bachinger
c3866449e2
Ignore decoding test cases when library not available
...
#minor-release
PiperOrigin-RevId: 452043577
2022-05-31 14:46:02 +00:00
bachinger
1c5032e1a9
Add explicit cast to ByteBuffer for Java 8 compatibility
...
PiperOrigin-RevId: 451994696
2022-05-31 10:59:14 +00:00
olly
bdcc9ea163
Libopus Support For WebM DiscardPadding
...
PiperOrigin-RevId: 429364728
2022-02-18 15:03:02 +00:00
olly
63104064ca
Make sure native library loads use correct class loader
...
Merge of https://github.com/google/ExoPlayer/pull/9934
#minor-release
PiperOrigin-RevId: 429259055
2022-02-17 15:06:12 +00:00
olly
9f586d2bba
Trim CodecDelay/PreSkip In New OpusDecoder Instances By Default
...
PiperOrigin-RevId: 427819209
2022-02-17 10:45:52 +00:00
olly
d8a614c0a7
Include opusV2JNI Target In Non-Android Builds
...
Allow opusV2JNI to be built-for & included-in non-Android build targets by ifdef'ing out the liblog dependency. Also removed libz and libandroid dependencies.
PiperOrigin-RevId: 427269838
2022-02-09 10:24:21 +00:00
tonihei
17050e8b59
Fix the position of IntDefs to match TYPE_USE
...
#minor-release
PiperOrigin-RevId: 427131569
2022-02-08 12:34:06 +00:00
olly
7f6accd03a
Fix For Sample-To-Bytes Calculation In OpusDecoder
...
Aligning the byte size calculation with the sizes defined in opus_jni.cc
for the `outputFloat=true` case
#minor-release
PiperOrigin-RevId: 427028982
2022-02-08 12:34:06 +00:00
olly
2db8807aac
Revert of b19ced30c4c2853b09af3382b86f84c31b3a5af5
...
PiperOrigin-RevId: 426996878
2022-02-08 12:33:53 +00:00
ibaker
b19ced30c4
Fix the position of IntDefs to match TYPE_USE
...
#minor-release
PiperOrigin-RevId: 426855255
2022-02-07 11:17:31 +00:00
olly
a9edb207a3
Fix 1 ErrorProneStyle finding:
...
* @CryptoType is a TYPE_USE annotation, so should appear after modifiers and directly before the type.
PiperOrigin-RevId: 418814902
2022-01-04 17:17:13 +00:00
bachinger
7975182856
Make package in test manifest consistent
...
PiperOrigin-RevId: 406255369
2021-10-29 11:35:26 +01:00
andrewlewis
0ad1cdbfa1
Tidy READMEs
...
PiperOrigin-RevId: 405598530
2021-10-26 14:08:21 +01:00
olly
101b94f874
Remove dependency from opus module to extractor module
...
PiperOrigin-RevId: 405429757
2021-10-25 21:35:39 +01:00
olly
37b5847681
Get decoder buffers into the right place
...
PiperOrigin-RevId: 404876228
2021-10-21 23:16:02 +01:00
olly
ce17f61899
Add decoder module
...
PiperOrigin-RevId: 404810682
2021-10-21 18:41:33 +01:00
samrobinson
3c19850ed3
Migrate library usages of SimpleExoPlayer to ExoPlayer.
...
PiperOrigin-RevId: 402853522
2021-10-14 12:03:11 +01:00
olly
db84773c01
Further README tweaks
...
PiperOrigin-RevId: 402811825
2021-10-13 20:18:36 +01:00
olly
eeec2b2e77
Final README updates
...
PiperOrigin-RevId: 402547071
2021-10-12 19:52:39 +01:00
olly
e4a5c07b5f
Mechanical README cleanups 2
...
PiperOrigin-RevId: 401777730
2021-10-09 18:18:12 +01:00
olly
e7c6ed5e7f
Mechanical README cleanups
...
PiperOrigin-RevId: 401767060
2021-10-09 18:14:36 +01:00
ibaker
e4221c3844
Rollback of ed23b2905b
...
*** Original commit ***
Migrate callers of ExoPlayer.Builder#build() to buildExoPlayer()
An upcoming change will update build() to return Player.
PiperOrigin-RevId: 401468532
2021-10-07 21:53:57 +01:00
ibaker
ed23b2905b
Migrate callers of ExoPlayer.Builder#build() to buildExoPlayer()
...
An upcoming change will update build() to return Player.
PiperOrigin-RevId: 399382297
2021-09-28 16:38:20 +01:00
ibaker
ad99a44083
Add empty sdk-version node to all AndroidManifest.xml files
...
PiperOrigin-RevId: 397772916
2021-09-21 14:17:33 +01:00
olly
85142be9a4
DRM refactor / cleanup
...
PiperOrigin-RevId: 391403236
2021-08-19 10:42:56 +01:00
olly
b689fbd44e
Rename DecryptionException to CryptoException
...
PiperOrigin-RevId: 391272611
2021-08-17 15:49:54 +01:00
olly
a83fe511b5
Move DecryptionException into decoder package
...
PiperOrigin-RevId: 390582804
2021-08-17 15:30:20 +01:00
kimvde
01613a2e55
Remove usages of deprecated SimpleExoPlayer.Builder
...
PiperOrigin-RevId: 390130681
2021-08-11 17:34:19 +01:00
olly
7e8ba03147
Deprecate final non-nested Factory classes in upstream
...
PiperOrigin-RevId: 389661768
2021-08-09 20:07:24 +01:00
ibaker
0df0df9aee
Remove @DoNotInstrument from test classes
...
This isn't needed now we've updated to Robolectric 4.6
PiperOrigin-RevId: 383109343
2021-07-09 08:58:38 +01:00
aquilescanta
fc1d3dd192
Make onPlayerError take a PlaybackException
...
PiperOrigin-RevId: 380174672
2021-06-21 22:15:01 +01:00
olly
0de6bc861a
Format *_jni.cc files
...
PiperOrigin-RevId: 374830877
2021-05-20 15:40:34 +01:00
bachinger
4c1a294b2e
Format Java source files
...
PiperOrigin-RevId: 372127633
2021-05-06 13:32:25 +01:00
krocard
3dc6cf6bec
Deprecate EventListener in favor of Listener
...
#minor-release
PiperOrigin-RevId: 371348520
2021-04-30 18:56:35 +01:00
bachinger
096395f0c7
Add @DoNotInstrument to Opus extension test
...
PiperOrigin-RevId: 370740311
2021-04-27 21:43:11 +01:00
ibaker
dafea4e40f
Re-format some javadoc
...
PiperOrigin-RevId: 369642047
2021-04-21 18:46:00 +01:00
andrewlewis
517e590967
Move docs to correct folder for GitHub Pages
2021-04-21 11:00:57 +01:00
andrewlewis
a8cf54e9d0
Move extensions/opus to libraries/decoder_opus
...
See go/media-apis-codebase-google3.
PiperOrigin-RevId: 369603286
2021-04-21 09:50:20 +01:00
olly
f5a4f3e609
Switch tests to use SimpleExoPlayer
...
PiperOrigin-RevId: 366033200
2021-04-01 16:05:35 +01:00
kimvde
718c1e773e
Update extensions NDK version to latest LTS version
...
Latest LTS version is better than latest stable version because it will
be supported for longer.
#minor-release
Issue:#8581
PiperOrigin-RevId: 359467482
2021-02-25 09:18:58 +00:00
kimvde
926884d2f2
Upgrade extensions NDK version
...
#minor-release
Issue:#8581
PiperOrigin-RevId: 357563419
2021-02-19 10:56:02 +00:00
andrewlewis
d2950c2e97
Update opus repository location
...
The new URL is referenced from https://xiph.org/downloads/ . The old
URL currently times out.
#minor-release
PiperOrigin-RevId: 351991077
2021-01-17 21:50:55 +00:00
andrewlewis
48dd20ce3a
Follow symlinks in opus build
...
This is not necessary when following the README.md but it is required if
libopus is under a symlink (and won't do any harm if it's not symlinked).
PiperOrigin-RevId: 351985185
2021-01-17 21:50:46 +00:00
krocard
538445572d
Move FormatSupport in common
...
#player-to-common
PiperOrigin-RevId: 344558028
2020-11-30 09:33:11 +00:00
tonihei
87cd644d00
Add remaining proguard config tests.
...
This ensures we have full test coverage for proguard configs now.
The only configs not covered by tests are:
- IMA and OkHttp which copy recommended configs from the respective
library. I couldn't reproduce failures by removing them (and thus
couldn't write a test that ensures they are correct).
- Some dontwarn lines that just suppress warnings.
In addition, this change fixes a couple of related issues:
- Moved AV1 proguard config to correct module.
- Removed mentioning of deprecated ExtractorMediaSource from README
- Suppressed warning from IMA code that prevent proguarding under
strict rules
- Fixed wrong proguard exclusion in VP9 module.
- Moved FLAC exclusion (DefaultExtractorsFactory) to correct module.
- Added AlertDialog suppression for de-jetified code.
- Removed unusued dependency from UI module that causes large APK
size increase.
#exofixit
#minor-release
PiperOrigin-RevId: 344427532
2020-11-27 11:08:34 +00:00
tonihei
f13ffb4390
Rollback of 5d9c2d7b6a
...
*** Original commit ***
Suppress warnings in preparation for Checker Framework 3.7.1 upgrade.
***
PiperOrigin-RevId: 343086403
2020-11-18 18:40:30 +00:00
olly
3c91ba14b3
Suppress warnings in preparation for Checker Framework 3.7.1 upgrade.
...
PiperOrigin-RevId: 343003559
2020-11-18 18:40:17 +00:00
olly
b2b08ade99
Make User-Agent optional
...
PiperOrigin-RevId: 330593247
2020-09-09 09:41:51 +01:00
olly
3110587fbe
Fix extension renderer test names + add FfmpegVideo case
...
PiperOrigin-RevId: 330409635
2020-09-09 09:41:32 +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