Android development of the widevine CDM has been done on the jb-mr2 branch of the cdm code base. This CL contains a merge of that jb-mr2 work to CDM master, and also reflects the evolution of the common Modular DRM code base since jb-mr2 branched. Change-Id: I1d7e1a12d092c00044a4298261146cb97808d4ef
37 lines
1.3 KiB
C++
37 lines
1.3 KiB
C++
// Copyright 2013 Google Inc. All Rights Reserved.
|
|
|
|
#ifndef CDM_BASE_PROPERTIES_CONFIGURATION_H_
|
|
#define CDM_BASE_PROPERTIES_CONFIGURATION_H_
|
|
|
|
#include "wv_cdm_constants.h"
|
|
#include "properties.h"
|
|
|
|
namespace wvcdm {
|
|
|
|
// If false begin license usage on first playback
|
|
const bool kPropertyBeginLicenseUsageWhenReceived = false;
|
|
|
|
// If false, calls to Generate Key request, after the first one,
|
|
// will result in a renewal request being generated
|
|
const bool kPropertyRequireExplicitRenewRequest = false;
|
|
|
|
// Set only one of the three below to true. If secure buffer
|
|
// is selected, fallback to userspace buffers may occur
|
|
// if L1/L2 OEMCrypto APIs fail
|
|
const bool kPropertyOemCryptoUseSecureBuffers = true;
|
|
const bool kPropertyOemCryptoUseFifo = false;
|
|
const bool kPropertyOemCryptoUseUserSpaceBuffers = false;
|
|
|
|
// If false, keyboxes will be used as client identification
|
|
// and passed as the token in the license request
|
|
const bool kPropertyUseCertificatesAsIdentification = true;
|
|
|
|
// If false, extraction of widevine PSSH information from the PSSH box
|
|
// takes place external to the CDM. This will become the default behaviour
|
|
// once all platforms support it (b/9465346)
|
|
const bool kExtractPsshData = true;
|
|
|
|
} // namespace wvcdm
|
|
|
|
#endif // CDM_BASE_WV_PROPERTIES_CONFIGURATION_H_
|