Go to the documentation of this file. 1 #ifndef MJPG_STREAMER_H
2 #define MJPG_STREAMER_H
15 const
char *what() const noexcept
override {
16 return errorMessage.c_str();
20 const string errorMessage;
52 unique_ptr<CscLogger>
logger =
nullptr;
55 mutex frameSourcesMutex;
56 map<FrameSourceId, ptr<FrameSource>> frameSources;
65 const string tokenAESKey;
66 const string tokenAESInitVector;
71 void decodeToken(
const string &accessTokenEncryptedB64,
unsigned long long &outTimestampMillis,
string &outSourceUid);
Definition: FrameSource.h:94
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:34
Definition: CscMJPGStreamer.h:23
UnauthorizedStreamAccessException(const string &errorMessage) noexcept
Definition: CscMJPGStreamer.h:13
static std::unique_ptr< CscLogger > logger
Definition: gltfHelpers.cpp:6
Definition: FrameSource.h:25
Definition: CscMJPGStreamer.cpp:32
string FrameSourceId
Definition: FrameSource.h:15
Definition: CscMJPGStreamer.h:11
std::shared_ptr< T > ptr
Definition: CscCommon.h:29