Helper class to Maintain DRM data.
More...
#include <AampDrmHelper.h>
|
virtual bool | isDRM (const struct DrmInfo &drmInfo) const =0 |
| Determines if a helper class provides the identified DRM. More...
|
|
virtual std::shared_ptr< AampDrmHelper > | createHelper (const struct DrmInfo &drmInfo, AampLogManager *logObj=NULL) const =0 |
| Build a helper class to support the identified DRM. More...
|
|
virtual void | appendSystemId (std::vector< std::string > &systemIds) const =0 |
| 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...
|
|
int | getWeighting () |
| Get the weighting for this helper factory, which determines its priority. More...
|
|
|
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.
|
|
Helper class to Maintain DRM data.
Definition at line 250 of file AampDrmHelper.h.
◆ isDRM()
virtual bool AampDrmHelperFactory::isDRM |
( |
const struct DrmInfo & |
drmInfo | ) |
const |
|
pure virtual |
◆ createHelper()
◆ appendSystemId()
virtual void AampDrmHelperFactory::appendSystemId |
( |
std::vector< std::string > & |
systemIds | ) |
const |
|
pure virtual |
◆ getWeighting()
int AampDrmHelperFactory::getWeighting |
( |
| ) |
|
|
inline |
Get the weighting for this helper factory, which determines its priority.
- Returns
- weighting value
Definition at line 285 of file AampDrmHelper.h.
The documentation for this class was generated from the following files: