In WVMExtractorImpl.cpp, a structure of type WVCallbacks was not initialized.
In version 4.5.0 of the Widevine library, this is just a struct (not a class)
so it does not have a constructor method. This record was being set with
garbage default values and was causing problems setting up playback. This may
have caused other stability issues after we reverted to 4.5.0. In the future,
when we push forward to version 6.0 of the Widevine library, this change should
be removed.
In WVMediaSource.cpp, a flag was set to strip off the ATDS headers. This was
redundent, and causing seg faults, for live stream.
related-to-bug: 6454710
Change-Id: I3edeb40c731021b2f31f639416188d4a1c002cc5
This change resolves a lifetime issue between the media extractor
and media sources. The extractor was being passed as a context
object to a callout in the WV libs. In some cases, a pointer to
the extractor would be delivered to the callout after the extractor
had been released. This change assigns the responsibility of the
lifetime of the context object to the media source, to ensure that
a ref is always held on the context object during the lifetime of
the media source.
Change-Id: Ic7a57a1c8496a4798fe590ec356b8a19a4f69967
related-to-bug: 6502322
In WVMDrmPlugin.cpp, the supported suffixes was only .wvm. I changed this to
include .m3u8, .vob, .smil, and the empty extension. This allows the
WVMDrmPlugin to register itself as handling these files. If the plugin is not
registered, the "show rights" feature will not query the plugin.
related-to-bug: 6507440
Change-Id: Ib655760e46cfa4125d21beb9ff77e38b444ddc5a
DO NOT MERGE
Source and library changes to roll back to 4.5.0, including
maintaining the DRM HAL support.
Includes Widevine libraries 4.5.0-7111
Change-Id: I420c6990748e95ad7516ecb2397ebf7707a157f4
related-to-bug: 6492434
This widevine library release includes fixes for the
following defects:
6422432 Unable to watch video due to stream buffering
5543268 DRM: Stuttering in playback of HD movie rental
6444359 [WVDRM] Excessively long startup on movie playback in JellyBean
6448147 [WVDRM] Short and Long Clocks are Identical
5571083 Lot of stuttering when on mobile network
Change-Id: I0ad4e8dbfc73df81e708591158d4c6189048f154
related-to-bug: 6422432
related-to-bug: 5543268
related-to-bug: 6444359
related-to-bug: 6448147
related-to-bug: 5571083
Corrected a regression in error event reporting and a
mismatch in asset paths during rights acquisition.
Also requires https://android-git.corp.google.com/g/#/c/185898/
Contains Widevine libraries version 6.0.0-6957
Change-Id: I4a7603a86feaf437673fc73f0cccb6065dbcce67
related-to-bug: 6414503
This change applies to the wv extractor when used in conjunction
with new MediaCodec model.
Change-Id: I999990ff41d35641110a58472f1cdb8c4c7db02e
related-to-bug: 5986621
Allows the WV extractor to run in a mode that is compatible with
the DRM CryptoPlugin HAL API, where decryption is deferred
until the encrypted data is sent through the CryptoPlugin to
the codec.
This patch does:
(1) Adds a flag mCryptoPluginMode that controls this behavior
[Note: need framework support to enable/disable this]
(2) Accumulates information in track metadata to delineate
crypto unit boundaries for the CryptoPlugin
related-to-bug: 5986621
Change-Id: I3318d5cde38c7b02a7bdb56aca9aece852c9781c
Upload for Dave Parsons
6.0.0 Widevine libraries contain the features required
to support multiple audio tracks and subtitles. This
is establishing the baseline for those features.
Change-Id: If12074bb2e4364c8107339e2f69453c40698e91f
related-to-bug: 5880566
Multi-repository change. See also update to MediaErrors.h in
a separate CL.
related-to-bug: 5883949
Change-Id: I505486a86a87b690aa13f813f4b88edd386382ce
An uninitialized return code was causing intermittent
playback failure during Widevine HLS live playback
Change-Id: Ib45176e7f91e2b6ccf0eb4185c6d58d3be0229b4
related-to-bug: 6277231
Attribute traffic on socket descriptors to UID of videos app
Multi-repository commit, see also changes in frameworks/base/media.
Includes Widevine library version 4.5.0.6153
Change-Id: I5ddf1b7b758edc82d48a788fc30616d90cab4bd0
related-to-bug: 5434244
Security hole is in /data/drm world writable directories
Hang on movie playback was found on ASUS TF201
Sorry, can't make these independent since binary libs aren't
mergeable.
Contains Widevine library Version 4.5.0.5753
Change-Id: I01ddfc5b2390f15d5d187dd6581b0a01743f4a68
related-to-bug: 5834297
related-to-bug: 5874137
Further optimization may be done to further speed up a drm content playback session
related-to-bug: 5725548
Change-Id: Ife69deaf5d2d70bba812fe1a48d9268d8e9530f7