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
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
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
Further optimization may be done to further speed up a drm content playback session
related-to-bug: 5725548
Change-Id: Ife69deaf5d2d70bba812fe1a48d9268d8e9530f7
We need to do this because with this patch, SHA/MD5 module may get stuck and cause power consumption regression.
This reverts commit 95d4dc7776.
related-to-bug: 5739618
Add a Widevine-specific format sniffer to avoid having to
refetch data from the remote server.
related-to-bug: 5725548
Change-Id: I622e39930f8d243111e4731557b0df17c4e2651d
Include Widevine library version 4.5.0.5244
5489833 - live stream aborts early
ignore continuity counter error warning (status=2014)
5414035 Telstra content cannot play, duplicate of 5489515
5489515 cannot play Disney content
Telstra content has 4 bytes of AudioSpecificConfig instead of 2
Disney content has 5 byte AudioSpecificConfig whereas 2 bytes appears to be correct for AAC-LC
5207482 SIGSEGV happens on pressing "Show Rights" during playback of expired movies
Change-Id: Iacc0d02d328c228d28b8cc8be93e63fe9f8b4600
related-to-bug: 5207482
related-to-bug: 5414035
related-to-bug: 5489515
related-to-bug: 5489833
Properly compute the buffered and remaining time, also properly account
for the different old and new rates at adaptive switch and other
performance tuning related to b/5153227.
Includes Widevine release libs version 4.5.0.4936
Bug 5336777
Change-Id: I997ea353b7c320dca5e3f5c065395dca206d35a6
It is now built under vendor/device/.../liboemcrypto/ because of dependencies on liboemcrypto.a,
which cannot be linked by platform-independant code.
Bug 5254175
Change-Id: I2fd5c55c4c0c94cebbca2a51ecd94940096930a1
OEM security levels used on tuna vs stingray & crespo. This is part of
the work for b/4598045 Implementing secure video path on TI OMAP4 chip
for ICS.
The Widevine libraries included here, 4.5.0.4321 also contain a fix
for b/4400696 Pinning and unpinning multiple movie for download behavior
is not uniform for multiple tries.
Change-Id: I67f34c06a0353ac7f401f55c1ed4fc2493bc8ab7
Supports either secure or insecure buffer configurations, depending
on the build-time flag REQUIRE_SECURE_BUFFERS.
Change-Id: I5b8150315eced4ed9be656b73d91485a6216819d