sofijajvc
4482db40e1
Move output modes to constants file
...
PiperOrigin-RevId: 261295173
2019-08-02 17:14:29 +01:00
sofijajvc
39317048e9
Add video decoder exception class
...
This will be used in common video renderer and decoder classes.
PiperOrigin-RevId: 261287124
2019-08-02 17:14:09 +01:00
olly
cb8983afd1
Standardize ALAC initialization data
...
Android considers ALAC initialization data to consider of the magic
cookie only, where-as FFmpeg requires a full atom. Standardize around
the Android definition, since it makes more sense (the magic cookie
being contained within an atom is container specific, where-as the
decoder shouldn't care what container the media stream is carried in)
Issue: #5938
PiperOrigin-RevId: 261124155
2019-08-01 20:38:55 +01:00
sofijajvc
b2c71e8b3f
Extract VpxInputBuffer to a common class
...
This class will be shared by both vp9 and av1 extension.
PiperOrigin-RevId: 261089225
2019-08-01 20:37:40 +01:00
Oliver Woodman
b57aa34b66
Merge pull request #6239 from ittiam-systems:vorbis-picture-parse
...
PiperOrigin-RevId: 261087432
2019-08-01 20:37:21 +01:00
tonihei
6f2e24915d
Add @NonNullApi and annotate two packages with it.
...
This new annotation declares everything as non-null by default and can be
used as a package annotation in package-info.java.
In this change the core lib offline package and the mediasession extension is
annotated that way as initial example usage.
PiperOrigin-RevId: 260894548
2019-08-01 20:35:06 +01:00
olly
58006ac3ad
Tweak Firebase JobDispatcher extension README
...
PiperOrigin-RevId: 260583198
2019-08-01 20:33:29 +01:00
Venkatarama NG. Avadhani
27a4f96cb1
Clean up FLAC picture parsing
2019-07-30 12:15:36 +05:30
olly
8be78d47ac
Cast: Add JSON serialization/deserialization for MediaItem
...
This will allow the Cast extension to reconstruct MediaItems from MediaQueueItems
obtained from the receiver's queue.
PiperOrigin-RevId: 260554381
2019-07-29 21:29:23 +01:00
olly
961adb7e36
Cast: Add MediaItemConverter
...
For now this just moves some code from the demo app to the extension.
Eventually the goal would be to have CastPlayer playlist methods take
MediaItem, have CastPlayer convert them internally to MediaQueueItem
for sending to the Cast SDK, and also allow reverse conversion so we
can reconstruct MediaItems from the Cast SDK's queue.
PiperOrigin-RevId: 260548020
2019-07-29 21:28:45 +01:00
olly
d77d661e52
Default viewport constraints to match primary display
...
PiperOrigin-RevId: 260479923
2019-07-29 21:27:46 +01:00
Venkatarama NG. Avadhani
ea64ecf2c4
Parse Picture Metadata in FLAC
2019-07-29 14:34:35 +05:30
olly
596be3b71b
Cast: Simplify MediaItem/Sample to a single MediaItem class
...
PiperOrigin-RevId: 260021990
2019-07-26 16:34:20 +01:00
olly
5e88621ab0
Make LibopusAudioRenderer non-final
...
PiperOrigin-RevId: 259608495
2019-07-23 23:21:29 +01:00
olly
223cc5f179
Cast extension: Remove unused parts of MediaItem
...
PiperOrigin-RevId: 259586520
2019-07-23 23:18:08 +01:00
andrewlewis
09147ff548
Add missing consts for consistency
...
These getters do not modify the instance.
PiperOrigin-RevId: 258345084
2019-07-18 14:13:15 +01:00
Oliver Woodman
56a922c121
Merge pull request #6151 from ittiam-systems:bug-5527
...
PiperOrigin-RevId: 257668797
2019-07-14 16:24:02 +01:00
aquilescanta
6796b179a6
Make onInputFormatChanged methods in Renderers take FormatHolders
...
PiperOrigin-RevId: 257478434
2019-07-14 16:22:02 +01:00
olly
6606a4ff01
CronetDataSource: Fix invalid Javadoc tag
...
PiperOrigin-RevId: 257456890
2019-07-14 16:21:24 +01:00
bachinger
49a2e5a5cb
add manifest to Timeline.Window
...
- Remove manifest argument from callbacks of Player.EventListener and
SourceInfoRefreshListener. Instead make it accessible through
Player.getCurrentManifest() and Timeline.Window.manifest.
- Fix all MediaSource implementation to include the manifest in the
Timeline instead of passing it to the SourceInfoRefreshListener.
- Refactor ExoPlayerTestRunner, FakeTimeline, FakeMediaSource to
reflect these changes and make tests pass.
PiperOrigin-RevId: 257359662
2019-07-14 16:20:45 +01:00
Venkatarama NG. Avadhani
4b776ffe42
Refactor FlacStreamInfo to FlacStreamMetadata
2019-07-11 11:43:55 +05:30
Venkatarama NG. Avadhani
fb1f91b2a1
Clean up vorbis comment extraction
2019-07-11 11:43:55 +05:30
Venkatarama NG. Avadhani
77e1e4cc1e
Add vorbis comments support to flac extractor
...
Decode and add vorbis comments from the flac file to metadata.
#5527
2019-07-09 17:25:21 +05:30
olly
e852ff1dfa
Add Nullable annotations to CastPlayer
...
PiperOrigin-RevId: 256680382
2019-07-05 17:33:47 +01:00
andrewlewis
b1790f9dcc
Fix IMA test build issue
...
PiperOrigin-RevId: 256545951
2019-07-05 17:32:38 +01:00
olly
0f364dfffc
Remove FlacExtractor from nullness blacklist
...
PiperOrigin-RevId: 256526365
2019-07-05 17:32:03 +01:00
olly
948d69b774
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-05 17:31:46 +01:00
olly
1060c767fc
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-05 17:31:28 +01:00
tonihei
d8c29e8211
Remove unnecessary warning suppression.
...
PiperOrigin-RevId: 256320563
2019-07-05 17:30:54 +01:00
olly
4c2f211e28
Remove Flac and Opus renderers from nullness blacklist
...
PiperOrigin-RevId: 256213895
2019-07-05 17:30:36 +01:00
olly
7964e51e0e
Remove more classes from nullness blacklist
...
PiperOrigin-RevId: 256202135
2019-07-05 17:30:19 +01:00
aquilescanta
7408b4355a
Add DRM format support checks for MediaSource provided DRM
...
PiperOrigin-RevId: 256161522
2019-07-02 17:50:06 +01:00
bachinger
259bea1652
MediaSessionConnector: Document how to provide metadata asynchronously
...
Issue: #6047
PiperOrigin-RevId: 255992898
2019-07-02 17:48:41 +01:00
olly
7798c07f64
Remove ExoCast
...
PiperOrigin-RevId: 255964199
2019-07-02 17:48:22 +01:00
bachinger
ae0aeb046b
call setPlayWhenReady in any case
...
ISSUE: #6093
PiperOrigin-RevId: 255471282
2019-07-02 17:47:07 +01:00
tonihei
8faac0344b
Fix checkerframework 2.8.2 warnings.
...
The updated version issues more warnings than before.
Most of the changes are related to annotation placement.
PiperOrigin-RevId: 255371743
2019-07-02 17:44:17 +01:00
aquilescanta
0ddd3c2bd0
Implement DecryptableSampleQueueReader.isReady
...
PiperOrigin-RevId: 254746146
2019-07-02 17:43:00 +01:00
andrewlewis
9905432546
Fix ad pod index offset calculation without preroll
...
Issue: #5928
PiperOrigin-RevId: 254379085
2019-06-21 18:23:57 +01:00
aquilescanta
acad64cae8
Rename FormatHolder.decryptionResourceIsProvided to FormatHolder.includesDrmSession
...
PiperOrigin-RevId: 254187403
2019-06-21 18:23:01 +01:00
aquilescanta
6838b0b29c
Relax DrmSessionManager-in-Renderer requirement for MediaSource-provided DRM
...
PiperOrigin-RevId: 254048233
2019-06-21 18:21:41 +01:00
olly
2f8bd42b0e
Remove Utils.equals() check for object equality that is fragile.
...
PiperOrigin-RevId: 254046126
2019-06-21 18:21:22 +01:00
olly
f90cbcdffd
Add MRC continuous play API to IMA android sdk.
...
Details in
go/ima-mrc-continuous-play
Corresponding js webcore changes is in <unknown commit>.
NoExternal
PiperOrigin-RevId: 253585186
2019-06-18 17:46:42 +01:00
andrewlewis
b449269552
Remove Objects.equals use from CronetDataSource
...
Objects was added in API 19.
PiperOrigin-RevId: 253567490
2019-06-18 17:46:18 +01:00
olly
e525c1c59e
Add CronetDataSource.read(ByteBuffer) method that writes directly into caller's buffer.
...
PiperOrigin-RevId: 251915459
2019-06-14 16:32:59 +01:00
aquilescanta
8bd2b5b3d7
Fix detection of current window index in CastPlayer
...
Issue:#5955
PiperOrigin-RevId: 251616118
2019-06-06 17:35:25 +01:00
eguven
e4feaa68f2
Add VR player demo
...
PiperOrigin-RevId: 251460113
2019-06-06 17:35:06 +01:00
aquilescanta
44aa731476
Use listener notification batching in CastPlayer
...
PiperOrigin-RevId: 251399230
2019-06-06 17:34:27 +01:00
aquilescanta
7e187283cd
Add MediaSource-provided-DRM support to Renderer implementations
...
PiperOrigin-RevId: 250719155
2019-06-03 19:15:04 +01:00
olly
c09a6eb8ee
Update cast extension build
...
PiperOrigin-RevId: 250664791
2019-05-30 15:28:16 +01:00
tonihei
b8ec05aea1
Handle gzip in DefaultHttpDataSource.
...
Setting the requested encoding in all cases ensures we receive the relevant
response headers indicating whether gzip was used. Doing that allows to
detect the content length in cases where gzip was requested, but the server
replied with uncompressed content.
PiperOrigin-RevId: 250660890
2019-05-30 15:26:32 +01:00