RDK Documentation (Open Sourced RDK Components)
AampVgdrmHelperFactory Class Reference

Helps to operate Vg DRM. More...

#include <AampVgdrmHelper.h>

Inheritance diagram for AampVgdrmHelperFactory:
Inheritance graph
Collaboration diagram for AampVgdrmHelperFactory:
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...
 

Private Attributes

const std::string VGDRM_UUID {"A68129D3-575B-4F1A-9CBA-3223846CF7C3"}
 
const std::set< std::string > VGDRM_URI_START
 

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 operate Vg DRM.

Definition at line 93 of file AampVgdrmHelper.h.

Member Function Documentation

◆ createHelper()

std::shared_ptr< AampDrmHelper > AampVgdrmHelperFactory::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 112 of file AampVgdrmHelper.cpp.

◆ appendSystemId()

void AampVgdrmHelperFactory::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 121 of file AampVgdrmHelper.cpp.

◆ isDRM()

bool AampVgdrmHelperFactory::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 93 of file AampVgdrmHelper.cpp.

Field Documentation

◆ VGDRM_URI_START

const std::set<std::string> AampVgdrmHelperFactory::VGDRM_URI_START
private
Initial value:
= {
"80701500000810",
"81701500000810",
"8070110000080C",
"8170110000080C",
"8070110000080c",
"8170110000080c"
}

Definition at line 104 of file AampVgdrmHelper.h.


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