770 Commits

Author SHA1 Message Date
Oliver Woodman
309d043cee Merge pull request #6239 from ittiam-systems:vorbis-picture-parse
PiperOrigin-RevId: 261087432
2019-08-01 20:51:40 +01:00
olly
8c1b60f2db Tweak Firebase JobDispatcher extension README
PiperOrigin-RevId: 260583198
2019-08-01 20:48:59 +01:00
Oliver Woodman
d279c3d281
Update README.md 2019-07-28 20:29:55 +01:00
Oliver Woodman
d395db97df
Update README.md 2019-07-28 20:29:29 +01:00
Oliver Woodman
e56deba9fe
Update README.md 2019-07-28 20:27:35 +01:00
Oliver Woodman
926ad19822
Update README.md 2019-07-28 20:26:55 +01:00
eguven
9c88e54837 Deprecate JobDispatcherScheduler
PiperOrigin-RevId: 249250184
2019-07-28 19:37:51 +01:00
Oliver Woodman
bba0a27cb6 Merge pull request #6151 from ittiam-systems:bug-5527
PiperOrigin-RevId: 257668797
2019-07-26 16:54:56 +01:00
olly
b5e3ae4542 Add Nullable annotations to CastPlayer
PiperOrigin-RevId: 256680382
2019-07-26 16:51:59 +01:00
olly
a2a1414623 Remove FlacExtractor from nullness blacklist
PiperOrigin-RevId: 256526365
2019-07-26 16:50:39 +01:00
olly
008efd10a4 Make FlacExtractor output methods static
This gives a caller greater confidence that the methods have no
side effects, and remove any nullness issues with these methods
accessing @Nullable member variables.

PiperOrigin-RevId: 256525739
2019-07-26 16:50:32 +01:00
olly
98714235ad Simplify FlacExtractor (step toward enabling nullness checking)
- Inline some unnecessarily split out helper methods
- Clear ExtractorInput from FlacDecoderJni data after usage
- Clean up exception handling for StreamInfo decode failures

PiperOrigin-RevId: 256524955
2019-07-26 16:50:10 +01:00
olly
67ad84f121 Remove more classes from nullness blacklist
PiperOrigin-RevId: 256202135
2019-07-26 16:48:00 +01:00
Oliver Woodman
f045bb2d07 Merge pull request #5617 from loki666:workmanager
PiperOrigin-RevId: 248533906
2019-07-26 16:41:57 +01:00
bachinger
c4c7f4bafa MediaSessionConnector: Document how to provide metadata asynchronously
Issue: #6047
PiperOrigin-RevId: 255992898
2019-07-09 11:31:36 +01:00
bachinger
d3e7ea89d9 call setPlayWhenReady in any case
ISSUE: #6093
PiperOrigin-RevId: 255471282
2019-07-09 11:30:59 +01:00
andrewlewis
4703ce1b26 Fix ad pod index offset calculation without preroll
Issue: #5928
PiperOrigin-RevId: 254379085
2019-06-21 18:38:45 +01:00
aquilescanta
2f8c8b609f Fix detection of current window index in CastPlayer
Issue:#5955
PiperOrigin-RevId: 251616118
2019-06-06 17:41:27 +01:00
aquilescanta
83a6d51fd1 Use listener notification batching in CastPlayer
PiperOrigin-RevId: 251399230
2019-06-06 17:41:21 +01:00
olly
7cdcd89873 Update cast extension build
PiperOrigin-RevId: 250664791
2019-05-31 22:45:41 +01:00
andrewlewis
41ab7ef7c0 Fix video size reporting in surface YUV mode
In surface YUV output mode the width/height fields of the VpxOutputBuffer were
never populated. Fix this by adding a new method to set the width/height and
calling it from JNI like we do for GL YUV mode.

PiperOrigin-RevId: 250449734
2019-05-31 22:38:55 +01:00
andrewlewis
5d72942a49 Fix VP9 build setup
Update configuration script to use an external build, so we can remove use of
isysroot which is broken in the latest NDK r19c. Also switch from gnustl_static
to c++_static so that ndk-build with NDK r19c succeeds.

Issue: #5922
PiperOrigin-RevId: 250287551
2019-05-31 22:37:25 +01:00
eguven
b1ff911e6a Remove mistakenly left link in vp9 readme
PiperOrigin-RevId: 249417898
2019-05-31 22:33:21 +01:00
andrewlewis
7e587ae98f Add missing annotations dependency
Issue: #5926
PiperOrigin-RevId: 249404152
2019-05-31 22:33:06 +01:00
bachinger
e961def004 Add playWhenReady to prepareXyz methods of PlaybackPreparer.
Issue: #5891
PiperOrigin-RevId: 248541827
2019-05-31 22:27:30 +01:00
bachinger
0a5a8f547f don't call stop before preparing the player
Issue: #5891
PiperOrigin-RevId: 248369509
2019-05-31 22:26:15 +01:00
tonihei
9e4b89d1cb Ignore empty timelines in ImaAdsLoader.
We previously only checked whether the reason for the timeline change is
RESET which indicates an empty timeline. Change this to an explicit check
for empty timelines to also ignore empty media or intermittent timeline
changes to an empty timeline which are not marked as RESET.

Issue:#5831
PiperOrigin-RevId: 248499118
2019-05-17 11:34:16 +01:00
bachinger
6e581f5270 Revert "don't call stop before preparing the player"
This reverts commit 8efaf5fd7d5bdf1f55f35109a43380e8f7f6be0b.
2019-05-16 11:48:53 +01:00
bachinger
8efaf5fd7d don't call stop before preparing the player
Issue: #5891
PiperOrigin-RevId: 248369509
2019-05-15 20:15:08 +01:00
olly
7f89fa9a8c Add simpler HttpDataSource constructors
PiperOrigin-RevId: 248350557
2019-05-15 20:03:52 +01:00
olly
9f9cf316bd Remove unnecessary logging
As justification for why we should not have this type of logging,
it would scale up to about 13K LOC, 1800 Strings, and 36K (after
pro-guarding - in the case of the demo app) if we did it through
the whole code base*. It makes the code messier to read, and in
most cases doesn't add significant value.

Note: I left the Scheduler logging because it logs interactions
with some awkward library components outside of ExoPlayer, so is
perhaps a bit more justified.

* This is a bit unfair since realistically we wouldn't ever add
  lots of logging into trivial classes. But I think it is fair
  to say that the deltas would be non-negligible.

PiperOrigin-RevId: 246181421
2019-05-02 13:13:59 +01:00
bachinger
618d97db1c Never set null as a session meta data object.
Issue: #5810
PiperOrigin-RevId: 245745646
2019-04-30 22:13:27 +01:00
andrewlewis
f62fa434dd Log warnings when extension libraries can't be used
Issue: #5788
PiperOrigin-RevId: 245440858
2019-04-26 18:43:58 +01:00
Oliver Woodman
7f885351db Upgrade dependency versions 2019-04-19 00:00:53 +01:00
olly
b8cdd7e40b Fix lint warnings for 2.10
PiperOrigin-RevId: 244268855
2019-04-18 23:43:07 +01:00
eguven
6d8bd34590 Add missing DownloadService build*Intent and startWith* methods
PiperOrigin-RevId: 244196081
2019-04-18 23:42:20 +01:00
olly
898bfbff6c [libvpx] permalaunch number of buffers.
PiperOrigin-RevId: 244094942
2019-04-18 23:40:29 +01:00
andrewlewis
c1246937df Upgrade IMA to 3.11.2
PiperOrigin-RevId: 243988105
2019-04-18 23:38:00 +01:00
borrelli
0be4bee25f Add "setCustomErrorMessage" override that allows including an extras bundle with a custom error.
PiperOrigin-RevId: 243807109
2019-04-16 16:41:49 +01:00
borrelli
9fc3ea79a1 Add ability to register/unregister custom CommandReceivers.
PiperOrigin-RevId: 243799572
2019-04-16 15:28:57 +01:00
tonihei
1ee51518ae Use new exoplayer.dev domain everywhere.
The old domain automatically forwards to the new one. For consistency, change
all doc and code references regardless.

Also adds GitHub CNAME config file which configures our page for the custom
domain.

PiperOrigin-RevId: 243592110
2019-04-16 15:25:27 +01:00
olly
3f565c33be Simplify offline Requirements
- Remove NETWORK_TYPE_NOT_ROAMING and NETWORK_TYPE_METERED
  because JobScheduler doesn't support them, and they're
  probably not useful to many people (data when roaming is
  normally enabled/disabled at the OS level, and restricting
  to *only* metered networks seems niche)
- Convert network requirements proper flags
- Stop persisting requirements in DownloadIndex. The direction
  we're headed to solve the manager start/stop problem is
  going to involve state in DownloadManager determining whether
  downloads actually start, and if we're doing that then it's
  no worse to do it for this as well

PiperOrigin-RevId: 242713196
2019-04-13 01:37:44 +01:00
vigneshv
3169b140fc vp9_extension: Use the vp9_codec_control macro
This is part of the public API and the underscored versions
weren't intended to be used outside the library.

Also updating the external instructions to checkout the version
of libvpx that supports this macro for this particular constant.

#codehealth

PiperOrigin-RevId: 242170926
2019-04-05 21:14:47 +01:00
andrewlewis
d6244773ec Add back missing libvpx build instructions
PiperOrigin-RevId: 242094027
2019-04-05 21:13:50 +01:00
olly
e8b0d489eb Rename Lib Opus in ExoV2 to avoid the namespace collision between ExoV1 and ExoV2's version of libopusJNI.so
PiperOrigin-RevId: 241359424
2019-04-01 20:33:00 +01:00
aquilescanta
129a64c477 Use getItemIds to get the actual size of the Cast media queue
Issue:#4964
PiperOrigin-RevId: 241311763
2019-04-01 20:32:01 +01:00
eguven
9220b18bdc Fix parameter order in JobDispatcherScheduler.schedule()
Issue: #5613
PiperOrigin-RevId: 240344666
2019-03-26 15:34:41 +00:00
Toni
5da4c67c8a Merge pull request #5303 from DolbyLaboratories:dev-v2-ac4
PiperOrigin-RevId: 239957730
2019-03-26 10:40:18 +00:00
Oliver Woodman
a86a9137be Merge pull request #5578 from szaboa:dev-v2-5529
PiperOrigin-RevId: 239398940
2019-03-20 23:28:28 +00:00
andrewlewis
35d82e1808 Upgrade IMA to 3.10.9
PiperOrigin-RevId: 239157535
2019-03-20 23:26:49 +00:00