![]() |
RDK Documentation (Open Sourced RDK Components)
|
Helper Factory class to maintain Aamp DRM data. More...
#include <AampClearKeyHelper.h>


Public Member Functions | |
| std::shared_ptr< AampDrmHelper > | createHelper (const struct DrmInfo &drmInfo, AampLogManager *logObj=NULL) const |
| Build a helper class to support the identified DRM. More... | |
| void | appendSystemId (std::vector< std::string > &systemIds) const |
| Adds the system IDs supported by the DRM to a vector Used by the GStreamer plugins to advertise the DRM upstream to the pipeline. More... | |
| bool | isDRM (const struct DrmInfo &drmInfo) const |
| Determines if a helper class provides the identified DRM. More... | |
Public Member Functions inherited from AampDrmHelperFactory | |
| int | getWeighting () |
| Get the weighting for this helper factory, which determines its priority. More... | |
Static Public Attributes | |
| static const int | CLEARKEY_WEIGHTING = DEFAULT_WEIGHTING * 2 |
Static Public Attributes inherited from AampDrmHelperFactory | |
| static const int | DEFAULT_WEIGHTING = 50 |
| Default weighting of a helper factory. Nominal scale of 0 to DEFAULT_WEIGHTING * 2 Larger weightings have lower priority. | |
Additional Inherited Members | |
Protected Member Functions inherited from AampDrmHelperFactory | |
| AampDrmHelperFactory (int weighting=DEFAULT_WEIGHTING) | |
| AampDrmHelperFactory constructor. | |
Protected Attributes inherited from AampDrmHelperFactory | |
| int | mWeighting |
Helper Factory class to maintain Aamp DRM data.
Definition at line 84 of file AampClearKeyHelper.h.
|
virtual |
Build a helper class to support the identified DRM.
| drmInfo | DrmInfo built by the HLS manifest parser |
Implements AampDrmHelperFactory.
Definition at line 145 of file AampClearKeyHelper.cpp.
|
virtual |
Adds the system IDs supported by the DRM to a vector Used by the GStreamer plugins to advertise the DRM upstream to the pipeline.
| systemIds | the vector to use |
Implements AampDrmHelperFactory.
Definition at line 154 of file AampClearKeyHelper.cpp.
|
virtual |
Determines if a helper class provides the identified DRM.
| drmInfo | DrmInfo built by the HLS manifest parser |
Implements AampDrmHelperFactory.
Definition at line 137 of file AampClearKeyHelper.cpp.