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,
23 CRYPTO_SESSION_SYSTEM_CLEARKEY,
28 DemuxCryptoSession(
const CryptoSessionSystem sys,
const char* sData,
const uint8_t flags)
29 : sessionId(sData), keySystem(sys), flags(flags)
35 return keySystem == other.keySystem && sessionId == other.sessionId;
39 std::string sessionId;
40 CryptoSessionSystem keySystem;
42 static const uint8_t FLAG_SECURE_DECODER = 1;
55 numSubSamples = numSubs;
57 clearBytes =
new uint16_t[numSubs];
58 cipherBytes =
new uint32_t[numSubs];
Definition: stream_crypto.h:85
Definition: DemuxCrypto.h:26
Definition: DemuxCrypto.h:51