This allows a DRM client to open a locally-cached file on behalf of the
DRM server so the DRM server no longer requires the sdcard_r permission
to access the file's metadata. Specifically, this adds an optional
attribute FileDescriptorKey to the DrmInfoRequest.
This change is dependent on this Widevine CL:
https://widevine-internal-review.googlesource.com/#/c/1330/
Relevant bug reports:
bug: 6426185
Change-Id: Ia7bcb2455c7a55fa4c7c7061de4d672957c7ac0a
Includes Widevine libraries Version 4.5.0.7809
Also fixed samplePlayer's MediaCodec mode not running and
WVDrmInfoRequestStatusKey returning incorrect value.
Change-Id: Ibcc6d313790670a908ada93be80d6bf55a67b4ed
related-to-bug: 6929628
related-to-bug: 6833718
related-to-bug: 6889322
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
Further optimization may be done to further speed up a drm content playback session
related-to-bug: 5725548
Change-Id: Ife69deaf5d2d70bba812fe1a48d9268d8e9530f7
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
Found in online/offline testing with heartbeat server:
b/4194032 - when streaming playback is stopped the streaming license is not removed
b/4192318 - streaming licenses are allowing offline playback
b/4190560 - offline heartbeats stopping video playback
Change-Id: Iacf31f559d6b374752ca1b7f2b93d4ec8a4d7440
Added some missing parameters to the heartbeat message, found in end-to-end
testing with youtube. Also enabled heartbeats on client builds.
Change-Id: I445fb0cb168e63a041f0ecf828eaad493143a648
If the .wvm extension is not present, the file header
is parsed to determine if it is Widevine content.
- Fixed a missing call to OpenSession.
- Fixed unit test build.
- Fixed x86-eng build.
- This is cherry-picked from master to hc-mr1 branch
"DO NOT MERGE"
Change-Id: Ied0579325d3c11a91f6f182fe59cd978eca68368