Working PlayReady/Verimatrix DRM support

This commit is contained in:
Erik Zandvliet 2015-05-07 19:38:43 +02:00 committed by Thulinma
parent 27fdbb2468
commit 0913d2607e
25 changed files with 1360 additions and 103 deletions

View file

@ -6,6 +6,7 @@
#include <mist/defines.h>
#include <mist/dtsc.h>
#include <mist/encryption.h>//LTS
namespace Mist {
enum negotiationState {
FILL_NEW,///< New track, just sent negotiation request
@ -40,6 +41,7 @@ namespace Mist {
protected:
bool standAlone;
static Util::Config * config;
void initiateEncryption();//LTS
void continueNegotiate(unsigned long tid);
@ -64,5 +66,10 @@ namespace Mist {
std::map<unsigned long, unsigned long> curPageNum;///< For each track, holds the number page that is currently being written.
std::map<unsigned long, IPC::sharedPage> curPage;///< For each track, holds the page that is currently being written.
std::map<unsigned long, std::deque<DTSC::Packet> > trackBuffer; ///< Buffer to be used during active track negotiation
bool encrypt;
Encryption::verimatrixData vmData;
std::map<int,unsigned long long int> iVecs;
IPC::sharedPage encryptionPage;
};
}