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

Playready Session management. More...

#include "config.h"
#include "opencdmsession.h"
#include <gst/gst.h>
#include <assert.h>
#include <iostream>
#include <sstream>
#include <string>
#include <string.h>
#include <vector>
#include <sys/utsname.h>
#include "priv_aamp.h"
#include <sys/time.h>
Include dependency graph for opencdmsession.cpp:

Go to the source code of this file.

Data Structures

struct  DecryptStats
 Holds decryption profile stats. More...
 

Macros

#define USEC_PER_SEC   1000000
 
#define LOG_DECRYPT_STATS   1
 
#define DECRYPT_AVG_TIME_THRESHOLD   10.0
 
#define MAX_THREADS   10
 
#define INTERVAL   120
 
#define SEC_SIZE   size_t
 
#define USE_NEW_OPENCDM   1
 

Functions

static uint64_t GetCurrentTimeStampInUSec ()
 
static uint64_t GetCurrentTimeStampInMSec ()
 
void LogPerformanceExt (const char *strFunc, uint64_t msStart, uint64_t msEnd, size_t nDataSize)
 

yes

Playready Session management.

Definition in file opencdmsession.cpp.


Data Structure Documentation

◆ DecryptStats

struct DecryptStats

Holds decryption profile stats.

Definition at line 43 of file AampOcdmGstSessionAdapter.cpp.

Collaboration diagram for DecryptStats:
Collaboration graph
Data Fields
uint64_t nBytesInterval
uint64_t nTimeInterval
uint64_t nBytesTotal
uint64_t nTimeTotal
uint64_t nCallsTotal
pthread_t threadID