11#include "../../AddonBase.h"
12#include "../../c-api/addon-instance/inputstream/stream_crypto.h"
21class CInstanceInputStream;
23class VideoCodecInitdata;
42 :
public CStructHdl<StreamCryptoSession, STREAM_CRYPTO_SESSION>
78 void SetFlags(uint8_t flags) { m_cStructure->flags = flags; }
81 uint8_t
GetFlags()
const {
return m_cStructure->flags; }
86 strncpy(m_cStructure->sessionId, sessionId.c_str(),
sizeof(m_cStructure->sessionId) - 1);
90 std::string
GetSessionId()
const {
return m_cStructure->sessionId; }
Definition AddonBase.h:206
Definition StreamCrypto.h:43
Definition VideoCodec.h:37
Definition stream_crypto.h:121