RDK Documentation (Open Sourced RDK Components)
AampWidevineDrmHelperFactory Class Reference

Helps to handle widevine DRM. More...

#include <AampWidevineDrmHelper.h>

Inheritance diagram for AampWidevineDrmHelperFactory:
Inheritance graph
Collaboration diagram for AampWidevineDrmHelperFactory:
Collaboration graph

Private Member Functions

std::shared_ptr< AampDrmHelpercreateHelper (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...
 

Additional Inherited Members

- Public Member Functions inherited from AampDrmHelperFactory
int getWeighting ()
 Get the weighting for this helper factory, which determines its priority. More...
 
- 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.
 
- Protected Member Functions inherited from AampDrmHelperFactory
 AampDrmHelperFactory (int weighting=DEFAULT_WEIGHTING)
 AampDrmHelperFactory constructor.
 
- Protected Attributes inherited from AampDrmHelperFactory
int mWeighting
 

yes

Helps to handle widevine DRM.

Definition at line 104 of file AampWidevineDrmHelper.h.

Member Function Documentation

◆ createHelper()

std::shared_ptr< AampDrmHelper > AampWidevineDrmHelperFactory::createHelper ( const struct DrmInfo drmInfo,
AampLogManager logObj = NULL 
) const
privatevirtual

Build a helper class to support the identified DRM.

Parameters
drmInfoDrmInfo built by the HLS manifest parser
Returns
the helper

Implements AampDrmHelperFactory.

Definition at line 248 of file AampWidevineDrmHelper.cpp.

◆ appendSystemId()

void AampWidevineDrmHelperFactory::appendSystemId ( std::vector< std::string > &  systemIds) const
privatevirtual

Adds the system IDs supported by the DRM to a vector Used by the GStreamer plugins to advertise the DRM upstream to the pipeline.

Parameters
systemIdsthe vector to use

Implements AampDrmHelperFactory.

Definition at line 257 of file AampWidevineDrmHelper.cpp.

◆ isDRM()

bool AampWidevineDrmHelperFactory::isDRM ( const struct DrmInfo drmInfo) const
privatevirtual

Determines if a helper class provides the identified DRM.

Parameters
drmInfoDrmInfo built by the HLS manifest parser
Returns
true if this helper provides that DRM

Implements AampDrmHelperFactory.

Definition at line 241 of file AampWidevineDrmHelper.cpp.


The documentation for this class was generated from the following files: