Implement isCryptoSchemeSupported in the Widevine drm plugin

Support overloaded isCryptoSchemeSupported method that
accepts a security level parameter

bug:110701831
test: cts media test cases, widevine integration tests, gts media tests

Change-Id: Ia84e40ff8d4f13fc06478e338e3238061e283dac
This commit is contained in:
Jeff Tinker
2019-01-25 22:06:22 -08:00
parent 54104c7a22
commit 8084bd5375
5 changed files with 27 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ class InitializationData {
bool is_cenc() const { return is_cenc_; }
bool is_hls() const { return is_hls_; }
bool is_webm() const { return is_webm_; }
bool is_audio() const { return is_audio_; }
bool IsEmpty() const { return data_.empty(); }
@@ -84,6 +85,7 @@ class InitializationData {
bool is_cenc_;
bool is_hls_;
bool is_webm_;
bool is_audio_;
std::vector<uint8_t> hls_iv_;
CdmHlsMethod hls_method_;