tonihei
8e03a0653a
Suppress lint warning about wrong IntDef usage in media2 Utils
...
AudioAttributesCompat.AttributeUsage and C.AudioUsage use equivalent values and can be directly assigned.
PiperOrigin-RevId: 406815447
2021-11-01 16:48:41 +00:00
olly
8e2083a27b
Remove dependency from common tests to exoplayer
...
PiperOrigin-RevId: 406354526
2021-11-01 09:54:23 +00:00
bachinger
7975182856
Make package in test manifest consistent
...
PiperOrigin-RevId: 406255369
2021-10-29 11:35:26 +01:00
ibaker
1c824561c6
Migrate callers of deprecated C.java methods to Util.java
...
#minor-release
PiperOrigin-RevId: 406166670
2021-10-29 11:31:50 +01:00
ibaker
ad39f38995
Update most Player parameter & doc references from Window to MediaItem
...
Only deprecated references remain.
Usages of the deprecated methods will be migrated in a follow-up change.
#minor-release
PiperOrigin-RevId: 405927141
2021-10-29 11:21:00 +01:00
ibaker
9c9671a0af
Remove all references to @NonNull
...
Our package-info.java files are annotated with @NonNullApi which results
in everything being non-null by default, so this annotation is never
needed.
#minor-release
PiperOrigin-RevId: 405864737
2021-10-29 11:03:05 +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
2dc7ac3851
Upgrade RTMP dependency and remove jcenter()
...
PiperOrigin-RevId: 405375352
2021-10-25 14:12:15 +01:00
olly
2ee72076e5
Add datasource module
...
PiperOrigin-RevId: 404897119
2021-10-25 13:49:14 +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
olly
1f63aea585
Upgrade test to new version of cronet-embedded
...
PiperOrigin-RevId: 404236978
2021-10-19 14:40:05 +01:00
olly
b3a1dcfee9
Fix remaining releaseArtifactId renames
...
PiperOrigin-RevId: 404236349
2021-10-19 14:36:15 +01:00
olly
d601875452
Rename releaseArtifact to releaseArtifactId
...
PiperOrigin-RevId: 404059404
2021-10-18 22:45:47 +01:00
olly
18cf01cda6
Move DataSource utils into a DataSourceUtil class
...
PiperOrigin-RevId: 403910535
2021-10-18 15:25:43 +01:00
ibaker
707968f7e6
Migrate usages of PositionInfo#windowIndex to mediaItemIndex
...
PiperOrigin-RevId: 403376452
2021-10-18 15:13:20 +01:00
kimvde
5ef00f0e96
Remove deprecated ControlDispatcher
...
The possibilities to set a ControlDispatcher have been removed in
<unknown commit> so that the ControlDispatcher is always a
DefaultControlDispatcher.
PiperOrigin-RevId: 403327092
2021-10-15 12:45:39 +01:00
kimvde
746ad2e6aa
Remove deprecated ControlDispatcher from API surface
...
PiperOrigin-RevId: 403101980
2021-10-14 17:03:23 +01:00
olly
8827ccb568
Upgrade to WorkManager release compatible with Android 12
...
Issue #9181
#minor-release
PiperOrigin-RevId: 403049218
2021-10-14 12:19:53 +01:00
ibaker
23fc1f4384
Migrate usages of SimpleExoPlayer to ExoPlayer
...
SimpleExoPlayer is being deprecated in favour of ExoPlayer.
PiperOrigin-RevId: 402869414
2021-10-14 12:07:21 +01:00
samrobinson
3c19850ed3
Migrate library usages of SimpleExoPlayer to ExoPlayer.
...
PiperOrigin-RevId: 402853522
2021-10-14 12:03:11 +01:00
krocard
98ee159df1
Use TracksInfo and selection override in users
...
Update the UI module, the demos and most other users
to make use of the new player TracksInfo and track
selection override APIs.
PiperOrigin-RevId: 402817857
2021-10-14 11:54:45 +01:00
olly
db84773c01
Further README tweaks
...
PiperOrigin-RevId: 402811825
2021-10-13 20:18:36 +01:00
jaewan
11becc050a
Separate command code for prepare() and stop()
...
PiperOrigin-RevId: 402757305
2021-10-13 19:58:02 +01:00
olly
86162c69b7
Final README updates - Fix missing update
...
PiperOrigin-RevId: 402548081
2021-10-12 19:57:03 +01:00
olly
eeec2b2e77
Final README updates
...
PiperOrigin-RevId: 402547071
2021-10-12 19:52:39 +01:00
olly
b7d53fa4b2
README updates for session and media2
...
PiperOrigin-RevId: 402290115
2021-10-12 19:36:40 +01:00
olly
67f9f18d8d
README updates for remaining ExoPlayer modules
...
PiperOrigin-RevId: 402287125
2021-10-12 19:32:32 +01:00
olly
69f2692389
Register modules with common
...
PiperOrigin-RevId: 402267733
2021-10-11 14:18:37 +01:00
olly
63844a58fe
Cast module cleanup
...
PiperOrigin-RevId: 402259951
2021-10-11 14:14:54 +01:00
olly
e160649d9c
README updates for MediaSource, DataSource and UI modules
...
PiperOrigin-RevId: 401793145
2021-10-09 18:21:54 +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
olly
046fb1d71e
Documentation tweak
...
PiperOrigin-RevId: 401764435
2021-10-09 18:06:26 +01:00
olly
3b77816001
Remove stray reference to ExoPlayer
...
PiperOrigin-RevId: 401741416
2021-10-09 17:47:32 +01:00
olly
b03ebbeb89
Stop setting custom user agent in demo app
...
PiperOrigin-RevId: 401741202
2021-10-09 17:39:03 +01:00
olly
b6bddc5000
Remove play-services-ads-identifier from IMA extension dependencies.
...
This is no longer needed since IMA depends on play-services-ads-identifier directly; see [article](https://ads-developers.googleblog.com/2019/12/the-interactive-media-ads-ima-sdk-for.html ).
PiperOrigin-RevId: 401550793
2021-10-07 22:09:59 +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
ee71c8387c
Migrate usages of deprecated Player COMMAND_ constants
...
PiperOrigin-RevId: 401292817
2021-10-06 21:19:37 +01:00
ibaker
96cfd0b415
Rename Player methods to refer to MediaItem instead of Window
...
PiperOrigin-RevId: 401222863
2021-10-06 21:05:14 +01:00
krocard
ac881be2fc
Add TracksInfo to the Player API
...
TracksInfo is very similar to
`MappingTrackSelector.MappedTracksInfo` with some
fields removed to simplify the Player API,
notably it doesn't expose the renderer concept.
A significant difference is the addition of a `selected` boolean
field which avoids having a separate `getCurrentTrackSelection`
API.
This cl is a part of the bigger track selection change,
splitted for ease of review.
In particular, the MediaSession implementation and UI usage
have been slitted in child cls.
Find all cls with the tag:
#player-track-selection
PiperOrigin-RevId: 400937124
2021-10-05 23:15:16 +01:00
bachinger
47573d4575
Remove inlined, fully qualified class name
...
PiperOrigin-RevId: 400742025
2021-10-05 11:22:10 +01:00
samrobinson
a26caae4ca
Remove BasePlayer stop as a final method.
...
It calls through to a deprecated method, which is unusual for a
convenience method, and the deprecated method has various
implementations. This allows for a smoother removal of stop(boolean)
and removes an obstacle for the ExoPlayer-SimpleExoPlayer merge.
Adds missing @Deprecated tags to some Players.
PiperOrigin-RevId: 400213422
2021-10-04 11:49:44 +01:00
bachinger
82172c7d3b
Strip DaiStreamRequest and test from public release for now.
...
PiperOrigin-RevId: 399669963
2021-09-30 11:23:27 +01:00
ibaker
f39dba0c5b
Migrate usages of MediaItem.ClippingProperties to ClippingConfiguration
...
PiperOrigin-RevId: 399471555
2021-09-29 10:10:13 +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
a04f1d1726
Migrate usages of MediaItem.PlaybackProperties to LocalConfiguration
...
PiperOrigin-RevId: 399206106
2021-09-28 16:35:31 +01:00
olly
a9867880f0
IMA sdk request input serialization/deserialization
...
temporary pulled out from the main cl to keep code small for review
PiperOrigin-RevId: 398746806
2021-09-24 18:10:56 +01:00
ibaker
dd39513a2e
Rename MediaItem.DrmConfiguration.requestHeaders
to add license
...
Both license and provisioning requests could be considered 'DRM
requests', and these headers are only sent on license requests, so
rename them to reflect that.
The old field remains deprecated for backwards compatibility.
PiperOrigin-RevId: 397980021
2021-09-23 14:47:13 +01:00