RDK Documentation (Open Sourced RDK Components)
AampPlayReadyHelper.cpp File Reference

play Ready DRM helper Engine More...

#include <uuid/uuid.h>
#include <algorithm>
#include "AampPlayReadyHelper.h"
#include "AampJsonObject.h"
#include "AampDRMutils.h"
#include "AampConstants.h"
#include "_base64.h"
Include dependency graph for AampPlayReadyHelper.cpp:

Go to the source code of this file.

Macros

#define KEYID_TAG_START   "<KID>"
 
#define KEYID_TAG_END   "</KID>"
 
#define PLAYREADY_VERSION   "4.0.0.0"
 
#define PLAYREADY_VERSION_4_0_KID_START   "<KID>"
 Extract keyID from given PSSH data. More...
 
#define PLAYREADY_VERSION_4_X_KID_START   "<KID"
 
#define PLAYREADY_KID_END   "</KID>"
 
#define PLAYREADY_VERSION_4_0   "4.0.0.0"
 
#define PLAYREADY_VERSION_4_1   "4.1.0.0"
 
#define PLAYREADY_VERSION_4_2   "4.2.0.0"
 
#define PLAYREADY_VERSION_4_3   "4.3.0.0"
 

Variables

static AampPlayReadyHelperFactory playready_helper_factory
 

yes

play Ready DRM helper Engine

Definition in file AampPlayReadyHelper.cpp.

Macro Definition Documentation

◆ PLAYREADY_VERSION_4_0_KID_START

#define PLAYREADY_VERSION_4_0_KID_START   "<KID>"

Extract keyID from given PSSH data.

Returns
std::string keyId - copy by value KeyId represent as value for 4.0 version

Definition at line 80 of file AampPlayReadyHelper.cpp.

◆ PLAYREADY_VERSION_4_X_KID_START

#define PLAYREADY_VERSION_4_X_KID_START   "<KID"

KeyId represent as attribute for 4.x version where x > 0

Definition at line 81 of file AampPlayReadyHelper.cpp.

◆ PLAYREADY_KID_END

#define PLAYREADY_KID_END   "</KID>"

KeyId node end

Definition at line 82 of file AampPlayReadyHelper.cpp.

◆ PLAYREADY_VERSION_4_0

#define PLAYREADY_VERSION_4_0   "4.0.0.0"

Playready versio 4.0

Definition at line 84 of file AampPlayReadyHelper.cpp.

◆ PLAYREADY_VERSION_4_1

#define PLAYREADY_VERSION_4_1   "4.1.0.0"

Playready versio 4.1

Definition at line 85 of file AampPlayReadyHelper.cpp.

◆ PLAYREADY_VERSION_4_2

#define PLAYREADY_VERSION_4_2   "4.2.0.0"

Playready versio 4.2

Definition at line 86 of file AampPlayReadyHelper.cpp.

◆ PLAYREADY_VERSION_4_3

#define PLAYREADY_VERSION_4_3   "4.3.0.0"

Playready versio 4.3

Definition at line 87 of file AampPlayReadyHelper.cpp.