olly
67e1499956
Fixes for some minor misc issues
...
- Unnecessary deprecation suppressions
- Dead code
- Broken Javadoc
PiperOrigin-RevId: 409357884
2021-11-15 10:58:32 +00:00
olly
12c0aa2ec9
Update dependency versions
...
Note: Updating androidxTestTruthVersion is required tot
arget API level 31.
PiperOrigin-RevId: 409167744
2021-11-15 10:53:47 +00:00
olly
8fb0af83f5
Use stop(boolean) in MediaSessionConnector
2021-11-08 10:08:24 +00:00
ibaker
08d827f2ed
Migrate usages of deprecated MediaItem symbols
...
#minor-release
PiperOrigin-RevId: 407847729
2021-11-08 09:48:45 +00:00
olly
a9f7b943c8
Prepare for adding ServerSideInsertedAdsMediaSource for IMA
...
PiperOrigin-RevId: 407274072
2021-11-03 15:16:58 +00:00
tonihei
1ed5861a72
Suppress lint warnings in leanback module.
...
These warnings are caused by the fact that this is a library and the
lint check doesn't see any app using the library in a TV context.
PiperOrigin-RevId: 407110725
2021-11-03 15:02:49 +00:00
ibaker
7de079493c
Migrate usages of Window-based Player methods
...
Where this introduced an inconsistency (e.g. assigning to something
called `windowIndex`), I generally renamed the transitive closure of
identifiers to maintain consistency (meaning this change is quite
large). The exception is code that interacts with Timeline and Window
directly, where sometimes I kept the 'window' nomenclature.
#minor-release
PiperOrigin-RevId: 407040052
2021-11-02 12:08:18 +00:00
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