|
RDK Documentation (Open Sourced RDK Components)
|
Go to the documentation of this file.
49 factories.push_back(factory);
50 std::sort(factories.begin(), factories.end(),
60 for (
auto f : factories )
62 f->appendSystemId(ids);
71 for (
auto helper : factories)
73 if (
true == helper->isDRM(drmInfo))
75 return helper->createHelper(drmInfo, logObj);
97 for (
auto helper : factories)
99 if (
true == helper->isDRM(drmInfo))
Implented DRM helper functionalities.
static AampDrmHelperEngine & getInstance()
Get an instance of the DRM Helper Engine.
AampDrmHelperFactory(int weighting=DEFAULT_WEIGHTING)
AampDrmHelperFactory constructor.
DRM information required to decrypt.
Helper Engine for Aamp DRM operations.
Helper class to Maintain DRM data.
bool hasDRM(const struct DrmInfo &drmInfo) const
Determines whether the helper engine has a DRM helper available for the specified DrmInfo.
void getSystemIds(std::vector< std::string > &ids) const
Get the supported OCDM system IDs.
void registerFactory(AampDrmHelperFactory *factory)
Register a Helper Factory.
std::shared_ptr< AampDrmHelper > createHelper(const struct DrmInfo &drmInfo, AampLogManager *logObj=NULL) const
Build a helper class to support the identified DRM.