11 #include "addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_crypto.h" 17 enum CryptoSessionSystem : uint8_t
19 CRYPTO_SESSION_SYSTEM_NONE,
20 CRYPTO_SESSION_SYSTEM_WIDEVINE,
21 CRYPTO_SESSION_SYSTEM_PLAYREADY,
22 CRYPTO_SESSION_SYSTEM_WISEPLAY,
27 DemuxCryptoSession(
const CryptoSessionSystem sys,
const char* sData,
const uint8_t flags)
28 : sessionId(sData), keySystem(sys), flags(flags)
34 return keySystem == other.keySystem && sessionId == other.sessionId;
38 std::string sessionId;
39 CryptoSessionSystem keySystem;
41 static const uint8_t FLAG_SECURE_DECODER = 1;
54 numSubSamples = numSubs;
56 clearBytes =
new uint16_t[numSubs];
57 cipherBytes =
new uint32_t[numSubs];
Definition: stream_crypto.h:82
Definition: DemuxCrypto.h:25
Definition: DemuxCrypto.h:50