olly
3afdd7ac5a
Put @Nullable annotation in the right place
...
PiperOrigin-RevId: 249828748
2019-05-30 15:10:55 +01:00
olly
11c0c6d266
Reset upstream format when empty track selection happens
...
PiperOrigin-RevId: 249819080
2019-05-30 15:10:40 +01:00
tonihei
3e990a3d24
Fix nullness warning for MediaSource/MediaPeriod classes.
...
PiperOrigin-RevId: 249652301
2019-05-30 15:10:24 +01:00
olly
14c46bc406
Remove contentTypePredicate from DataSource constructors
...
The only known use case for contentTypePredicate is to catch
the case when a paywall web page is returned via a DataSource,
rather than the data that was being requested. These days streaming
providers should be using HTTPS, where this problem does not exist.
Devices have also gotten a lot better at showing their own
notifications when paywalls are detected, which largely mitigates
the need for the app to show a more optimal error message or
redirect the user to a browser.
It therefore makes sense to deprioritize this feature. In
particular by removing the arg from constructors, where nearly
all applications are probably passing null.
PiperOrigin-RevId: 249634594
2019-05-30 15:10:08 +01:00
aquilescanta
3314391932
Add basic DRM support to CastPlayer's demo app
...
PiperOrigin-RevId: 249624829
2019-05-30 15:09:52 +01:00
aquilescanta
8d329fb41f
Move DefaultDrmSession resource acquisition to acquire
...
PiperOrigin-RevId: 249624318
2019-05-23 13:30:38 +01:00
olly
2f12374f1a
Fix IndexOutOfBounds when there are no available codecs
...
PiperOrigin-RevId: 249610014
2019-05-23 13:30:24 +01:00
bachinger
073256ead0
improve issue templates
...
PiperOrigin-RevId: 249489446
2019-05-23 13:30:09 +01:00
tonihei
cfefdbc134
Release DownloadHelper automatically if preparation failed.
...
This prevents further unexpected updates if the MediaSource happens to
finish its preparation at a later point.
Issue:#5915
PiperOrigin-RevId: 249439246
2019-05-23 13:29:49 +01:00
olly
118218cc73
Remove cronet extension nullness blacklist
...
PiperOrigin-RevId: 249432337
2019-05-23 13:29:35 +01:00
olly
f74d2294be
Remove media-session extension nullness blacklist
...
PiperOrigin-RevId: 249431620
2019-05-23 13:29:19 +01:00
olly
10ee7d8e86
Remove more classes from nullness blacklist
...
PiperOrigin-RevId: 249431027
2019-05-23 13:29:05 +01:00
olly
d836957138
Remove some DataSource implementations from nullness blacklist
...
PiperOrigin-RevId: 249419193
2019-05-23 13:28:50 +01:00
eguven
a4d18a7457
Remove mistakenly left link in vp9 readme
...
PiperOrigin-RevId: 249417898
2019-05-23 13:28:36 +01:00
andrewlewis
6abd5dc66f
Add missing annotations dependency
...
Issue: #5926
PiperOrigin-RevId: 249404152
2019-05-23 13:28:21 +01:00
olly
21be284318
Replace runtime lookups of string integer codes
...
Make these values compile-time constants, which can be inlined.
PiperOrigin-RevId: 249327464
2019-05-23 13:28:06 +01:00
olly
8669d6dc10
Fix missing import
...
PiperOrigin-RevId: 249298093
2019-05-23 13:27:51 +01:00
olly
3efe320535
Remove deprecated DataSource constructors
...
PiperOrigin-RevId: 249276112
2019-05-23 13:27:36 +01:00
olly
52888ab55b
Remove CronetEngineWrapper from nullness test blacklist
...
PiperOrigin-RevId: 249275623
2019-05-23 13:27:20 +01:00
olly
a727acd292
Remove nullness test blacklist for RTMP extension
...
PiperOrigin-RevId: 249274122
2019-05-23 13:27:05 +01:00
olly
37fc1d879d
Propagate attributes to DefaultTimeBar
...
Issue: #5765
PiperOrigin-RevId: 249251150
2019-05-23 13:26:50 +01:00
eguven
b6d6d8c411
Deprecate JobDispatcherScheduler
...
PiperOrigin-RevId: 249250184
2019-05-23 13:26:35 +01:00
andrewlewis
491edd1edc
Update surface directly from SphericalSurfaceView
...
The SurfaceListener just sets the surface on the VideoComponent, but
SphericalSurfaceView already accesses the VideoComponent directly so it seems
simpler to update the surface directly.
PiperOrigin-RevId: 249242185
2019-05-23 13:26:19 +01:00
Marc Baechinger
ecb7b8758c
Update issue template for questions
2019-05-22 19:50:10 +01:00
Marc Baechinger
762a132537
Update issue template for feature requests
2019-05-22 19:48:45 +01:00
Marc Baechinger
a5d18f3fa7
Update issue template for content_not_playing
2019-05-22 19:47:45 +01:00
Marc Baechinger
6fa58f8d69
Update issue template for bugs
2019-05-22 19:45:48 +01:00
tonihei
9aeaf2dbb0
Add ResolvingDataSource for just-in-time resolution of DataSpecs.
...
Issue:#5779
PiperOrigin-RevId: 249234058
2019-05-21 13:53:14 +01:00
andrewlewis
468296c2bc
Suppress remaining ConstantCaseForConstant warnings
...
PiperOrigin-RevId: 249217126
2019-05-21 13:52:59 +01:00
andrewlewis
f3f885c6aa
Update a reference to SimpleExoPlayerView
...
PiperOrigin-RevId: 249068395
2019-05-21 13:52:30 +01:00
bachinger
a458635540
Add ProgressUpdateListener
...
Issue: #5834
PiperOrigin-RevId: 249067445
2019-05-21 13:52:14 +01:00
tonihei
07c4569b5f
Limit tests with specific SDK level to max=TARGET_SDK.
...
The unspecified default is the highest available SDK which may be larger
than TARGET_SDK (as specified by the manifest).
PiperOrigin-RevId: 249064173
2019-05-21 13:51:59 +01:00
tonihei
33c677846a
Use versioned manifest in all Robolectric tests.
...
We are currently defaulting to targetSdk=1 as no targetSdk is specified. Only
tests which explicitly ask for another SDK use another test SDK. With the
versioned manifest, all tests run using the targetSDK by default.
PiperOrigin-RevId: 249060796
2019-05-21 13:51:43 +01:00
Oliver Woodman
35e030f56b
Merge pull request #5895 from google/dev-v2-r2.10.1
...
r2.10.1
2019-05-20 17:39:18 +01:00
Oliver Woodman
e39996e95f
Merge pull request #5907 from adamjrichter:dev-v2
...
PiperOrigin-RevId: 249044271
2019-05-20 15:40:01 +01:00
andrewlewis
bfeec25b2a
Add SilenceMediaSource
...
Issue: #5735
PiperOrigin-RevId: 248745617
2019-05-20 15:13:36 +01:00
bachinger
128ded5ba0
add playWhenReady to prepareXyz methods of PlaybackPreparer.
...
Issue: #5891
PiperOrigin-RevId: 248541827
2019-05-20 15:13:17 +01:00
Oliver Woodman
92532d3ac5
Merge pull request #5617 from loki666:workmanager
...
PiperOrigin-RevId: 248533906
2019-05-20 15:12:57 +01:00
sr1990
2091aa5cf9
Support signalling of last segment number via supplemental descriptor in mpd
2019-05-18 19:49:14 -07:00
andrewlewis
9ec330e7c7
Fix platform scheduler javadoc
...
PiperOrigin-RevId: 248503971
2019-05-17 11:35:38 +01:00
olly
15b319cba2
Bump release to 2.10.1 and update release notes
...
PiperOrigin-RevId: 248503235
2019-05-17 11:35:22 +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
andrewlewis
835d1f3afe
Fix platform scheduler javadoc
...
PiperOrigin-RevId: 248503971
2019-05-16 13:40:42 +01:00
olly
b5a512b673
Bump release to 2.10.1 and update release notes
...
PiperOrigin-RevId: 248503235
2019-05-16 13:40:23 +01:00
tonihei
819d589b22
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-16 13:40:04 +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
Adam Richter
7f79db0724
Split a few assertThat(a && b).isTrue() calls into separate assertions for more precise diagnostics.
2019-05-15 13:44:26 -07:00
bachinger
8efaf5fd7d
don't call stop before preparing the player
...
Issue: #5891
PiperOrigin-RevId: 248369509
2019-05-15 20:15:08 +01:00
bachinger
59b2dd2701
don't call stop before preparing the player
...
Issue: #5891
PiperOrigin-RevId: 248369509
2019-05-15 20:14:18 +01:00
eguven
4ca670bed3
Use MediaSourceFactory interface to simplify DownloadHelper
...
PiperOrigin-RevId: 248367983
2019-05-15 20:13:59 +01:00