Marcus Wichelmann
45db77dc6d
Fixed some spaces
2021-09-13 12:34:44 +02:00
Marcus Wichelmann
dbc7088716
Keep the existing parseSpsNalUnit (and similar) methods to avoid breaking changes
2021-09-13 12:30:21 +02:00
Marcus Wichelmann
296074fbea
Extend SPS parsing when building the initial MP4 HevcConfig and include the PAR for propagating it into the Format
2021-09-13 10:27:55 +02:00
apodob
afc549fba4
Release subtitle outputBuffer after decoding.
...
PiperOrigin-RevId: 391509443
2021-08-19 10:51:34 +01:00
samrobinson
dfb9ac11e9
Deprecate ExoPlayer DeviceComponent.
...
PiperOrigin-RevId: 391499955
2021-08-19 10:48:03 +01:00
samrobinson
2e2e5e9feb
Remove the ExoPlayerImpl implementation of ExoPlayer.
...
PiperOrigin-RevId: 391498621
2021-08-19 10:46:15 +01:00
bachinger
061d8ee193
Remove qualifier in link tag
...
PiperOrigin-RevId: 391485174
2021-08-19 10:44:38 +01:00
olly
85142be9a4
DRM refactor / cleanup
...
PiperOrigin-RevId: 391403236
2021-08-19 10:42:56 +01:00
krocard
cd297b048a
Make Track selection objects Bundleable
...
Most of those objects needs to be sent to MediaControler.
`TrackSelectior.Parameters` could have stayed Parcelable,
but it needs to be `Bundleable` as it inherit from
`TrackSelectionParameters` that is and needs to be
serializable anyway for the demo app.
As a result it has also been migrated to bundleable.
PiperOrigin-RevId: 391353293
2021-08-19 10:38:51 +01:00
olly
b689fbd44e
Rename DecryptionException to CryptoException
...
PiperOrigin-RevId: 391272611
2021-08-17 15:49:54 +01:00
andrewlewis
ce4c8e405c
Add some range annotations
...
PiperOrigin-RevId: 391253301
2021-08-17 15:48:10 +01:00
samrobinson
d58e8df252
Deprecate ExoPlayer TextComponent.
...
PiperOrigin-RevId: 391077147
2021-08-17 15:46:16 +01:00
olly
ef0bfa487f
Remove previously deprecated DefaultHttpDataSourceFactory
...
NO_EXTERNAL
PiperOrigin-RevId: 391054962
2021-08-17 15:42:49 +01:00
apodob
80d9d47d1c
Add Extractor#release() implementation.
...
SubtitleExtractor.release() releases the underlying SubtitleDecoder.
This change introduces the STATE_RELEASED state. The extractor
handles the new state in the read() and seek() methods.
PiperOrigin-RevId: 391046478
2021-08-17 15:41:03 +01:00
olly
38e5864f87
Remove Player.Listener inheritance of TextOutput
...
PiperOrigin-RevId: 390630998
2021-08-17 15:37:29 +01:00
olly
743b33e821
Remove Player.Listener inheritance of VideoListener
...
NO_EXTERNAL
PiperOrigin-RevId: 390614839
2021-08-17 15:35:44 +01:00
ibaker
a44878482c
Add section comments to MimeTypes.java
...
PiperOrigin-RevId: 390602716
2021-08-17 15:33:58 +01:00
olly
a83fe511b5
Move DecryptionException into decoder package
...
PiperOrigin-RevId: 390582804
2021-08-17 15:30:20 +01:00
olly
88a637bc45
Move format util classes to extractor package
...
PiperOrigin-RevId: 390577072
2021-08-13 11:45:37 +01:00
jaewan
149958fb07
Change return type of getMaxSeekToPreviousPosition() to long
...
This matches the type of all position related APIs.
PiperOrigin-RevId: 390558523
2021-08-13 11:43:52 +01:00
olly
24b0cf8c30
Fix references to AudioAttributes in Javadoc
...
PiperOrigin-RevId: 390365923
2021-08-12 16:39:52 +01:00
christosts
288fb4a8a5
Annotate deprecated methods in ForwardingPlayer
...
This change is needed to generate correct javadoc, otherwise
these methods appear as not deprecated.
#minor-release
PiperOrigin-RevId: 390339092
2021-08-12 16:36:23 +01:00
olly
2a6136f370
Remove Player.Listener inheritance of AudioListener
...
PiperOrigin-RevId: 390332263
2021-08-12 16:34:42 +01:00
apodob
c5b01b2f7b
Add SubtitleExtractor which wraps a SubtitleDecoder.
...
SubtitleExtractor is a component that extracts subtitle data taken from
ExtractorInput into samples. Samples are pushed into an ExtractorOutput
(usually SampleQueue). As a temporary solution SubtitleExtractor uses
SubtitleDecoder to extract Cues from input data.
PiperOrigin-RevId: 390319875
2021-08-12 16:33:14 +01:00
claincly
21251e69a6
Revert unwanted changes.
...
PiperOrigin-RevId: 390319457
2021-08-12 16:31:51 +01:00
claincly
4ef0355884
Prototype video transcoding
...
The prototype is built upon Transformer and took many references from
TransformerAudioRenderer.
Please take a look and we can discuss more details.
PiperOrigin-RevId: 390192487
2021-08-12 16:30:21 +01:00
olly
f7a511af2d
Remove Player.Listener inheritance of MetadataOutput
...
PiperOrigin-RevId: 390137267
2021-08-11 17:37:24 +01:00
christosts
2fa54e0df3
Minor javadoc fix in BaseUrlExclusionList
...
PiperOrigin-RevId: 390136807
2021-08-11 17:35:54 +01:00
kimvde
01613a2e55
Remove usages of deprecated SimpleExoPlayer.Builder
...
PiperOrigin-RevId: 390130681
2021-08-11 17:34:19 +01:00
olly
7dffb2dc4d
Migrate to Player.Listener
...
PiperOrigin-RevId: 390124675
2021-08-11 17:32:55 +01:00
Christos Tsilopoulos
4aa5898029
Merge branch 'release-v2' into dev-v2
2021-08-11 15:32:38 +01:00
christosts
02f7aafe67
Merge pull request #9279 from google/dev-v2-r2.15.0
...
r2.15.0
2021-08-11 15:04:22 +01:00
christosts
d56b6a5244
Move DASH multiple base URL release note
...
The release note was put under 2.14.2 but the feature is
released in 2.15.0.
#minor-release
PiperOrigin-RevId: 390093836
2021-08-11 12:36:56 +01:00
christosts
c57bfcee93
Move DASH multiple base URL release note
...
The release note was put under 2.14.2 but the feature is
released in 2.15.0.
#minor-release
PiperOrigin-RevId: 390093836
2021-08-11 12:08:47 +01:00
kimvde
10b4e10f43
Move SimpleExoPlayer.Builder to ExoPlayer
...
- Remove ExoPlayer.Builder
- Copy SimpleExoPlayer.Builder to ExoPlayer
- Deprecate SimpleExoPlayer.Builder
PiperOrigin-RevId: 389890299
2021-08-11 12:07:16 +01:00
olly
f5d8c211f5
Remove some deprecated source/sink classes
...
PiperOrigin-RevId: 389879570
2021-08-11 12:06:02 +01:00
christosts
f34446123d
Bump version to 2.15.0 and tidy release notes
...
PiperOrigin-RevId: 389871495
2021-08-10 15:41:20 +01:00
christosts
067fcdb89d
Update javadoc for 2.15.0
...
#minor-release
PiperOrigin-RevId: 389862401
2021-08-10 15:24:31 +01:00
olly
31a839c848
Move non-player specific classes to common
...
These will all be needed in common to break dependencies
between decoder extension modules and the core module.
PiperOrigin-RevId: 389871983
2021-08-10 15:01:42 +01:00
christosts
b4e99304c4
Bump version to 2.15.0 and tidy release notes
...
#minor-release
PiperOrigin-RevId: 389871495
2021-08-10 15:00:24 +01:00
christosts
5a4f2348c8
Update javadoc for 2.15.0
...
#minor-release
PiperOrigin-RevId: 389862401
2021-08-10 14:58:59 +01:00
olly
b627d70054
Migrate uses of deprecated DataSource factories
...
PiperOrigin-RevId: 389844289
2021-08-10 14:56:20 +01:00
olly
937bc008c1
Use correct IntDef in FFmpegAudioDecoder
...
PiperOrigin-RevId: 389840014
2021-08-10 14:54:42 +01:00
ibaker
ff078cb4b5
Add explicit protected constructor to Timeline.
...
Timeline is already abstract, so it can only be constructed from a
subclass anyway.
PiperOrigin-RevId: 389827960
2021-08-10 14:53:23 +01:00
olly
700ec93994
Move DeviceInfo into root package
...
PiperOrigin-RevId: 389681733
2021-08-09 20:11:23 +01:00
olly
7e8ba03147
Deprecate final non-nested Factory classes in upstream
...
PiperOrigin-RevId: 389661768
2021-08-09 20:07:24 +01:00
olly
e2ffb5e11b
Remove DeviceListener
...
PiperOrigin-RevId: 389640670
2021-08-09 20:06:05 +01:00
olly
5dc8eeb4bf
Remove IntArrayQueue from public API
...
PiperOrigin-RevId: 389622428
2021-08-09 20:03:22 +01:00
ibaker
db1fe8041b
Remove @DoNotInstrument from test classes
...
This isn't needed now we've updated to Robolectric 4.6
Follow-up to 0df0df9aee
PiperOrigin-RevId: 389616471
2021-08-09 20:02:05 +01:00
ibaker
849c307402
Move requiresSecureDecoder logic into ExoMediaDrm
...
The result is plumbed back to `MediaCodecRenderer` via a new
`DrmSession#requiresSecureDecoder` method.
This allows us to use the `MediaDrm#requiresSecureDecoder` method added
in Android 12:
https://developer.android.com/reference/android/media/MediaDrm#requiresSecureDecoder(java.lang.String)
This change also removes
`FrameworkMediaCrypto#forceAllowInsecureDecoderComponents`, replacing it
with equivalent logic in `FrameworkMediaDrm#requiresSecureDecoder`.
PiperOrigin-RevId: 389616038
2021-08-09 20:00:42 +01:00