RDK Documentation (Open Sourced RDK Components)
AampPlayReadyHelperFactory Class Reference

Handles operations to support play ready DRM. More...

#include <AampPlayReadyHelper.h>

Inheritance diagram for AampPlayReadyHelperFactory:
Inheritance graph
Collaboration diagram for AampPlayReadyHelperFactory:
Collaboration graph

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

Additional Inherited Members

- 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

Handles operations to support play ready DRM.

Definition at line 93 of file AampPlayReadyHelper.h.

Member Function Documentation

◆ createHelper()

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

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 294 of file AampPlayReadyHelper.cpp.

◆ appendSystemId()

void AampPlayReadyHelperFactory::appendSystemId ( std::vector< std::string > &  systemIds) const
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.

Parameters
systemIdsthe vector to use

Implements AampDrmHelperFactory.

Definition at line 303 of file AampPlayReadyHelper.cpp.

◆ isDRM()

bool AampPlayReadyHelperFactory::isDRM ( const struct DrmInfo drmInfo) const
virtual

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 287 of file AampPlayReadyHelper.cpp.


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