Replace hardcoded parameters
This commit is contained in:
31
common/output_protection_util.h
Normal file
31
common/output_protection_util.h
Normal file
@@ -0,0 +1,31 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Copyright 2019 Google LLC.
|
||||
//
|
||||
// This software is licensed under the terms defined in the Widevine Master
|
||||
// License Agreement. For a copy of this agreement, please contact
|
||||
// widevine-licensing@google.com.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef COMMON_OUTPUT_PROTECTION_UTIL_H_
|
||||
#define COMMON_OUTPUT_PROTECTION_UTIL_H_
|
||||
|
||||
#include "common/status.h"
|
||||
#include "protos/public/client_identification.pb.h"
|
||||
#include "protos/public/license_protocol.pb.h"
|
||||
|
||||
namespace widevine {
|
||||
namespace op_util {
|
||||
|
||||
// Verify the device meets the provider's output requirements. Set
|
||||
// |should_disable_analog_output| to true if device does not meet analog output
|
||||
// requirements, otherwise |should_disable_analog_error| is false including
|
||||
// error cases.
|
||||
Status VerifyDeviceCapabilities(
|
||||
const ClientIdentification::ClientCapabilities& device_capabilities,
|
||||
const License::KeyContainer::OutputProtection& output_protection,
|
||||
bool* should_disable_analog_output);
|
||||
|
||||
} // namespace op_util
|
||||
} // namespace widevine
|
||||
|
||||
#endif // COMMON_OUTPUT_PROTECTION_UTIL_H_
|
||||
Reference in New Issue
Block a user