Support for reloading config from disk, writing config to disk after 60 seconds of no changes, reloading config from disk on API call request

This commit is contained in:
Thulinma 2023-06-03 03:16:32 +02:00
parent cac86fff57
commit 132e59db51
8 changed files with 339 additions and 222 deletions

View file

@ -285,3 +285,20 @@ static inline void show_stackframe(){}
#define NEW_TRACK_ID 0x80000000
#define QUICK_NEGOTIATE 0xC0000000
// Session and Comm library related constants
#define COMM_STATUS_SOURCE 0x80
#define COMM_STATUS_DONOTTRACK 0x40
#define COMM_STATUS_DISCONNECT 0x20
#define COMM_STATUS_REQDISCONNECT 0x10
#define COMM_STATUS_ACTIVE 0x1
#define COMM_STATUS_INVALID 0x0
#define SESS_BUNDLE_DEFAULT_VIEWER 14
#define SESS_BUNDLE_DEFAULT_OTHER 15
#define SESS_DEFAULT_STREAM_INFO_MODE 1
#define SESS_HTTP_AS_VIEWER 1
#define SESS_HTTP_AS_OUTPUT 2
#define SESS_HTTP_DISABLED 3
#define SESS_HTTP_AS_UNSPECIFIED 4
#define SESS_TKN_DEFAULT_MODE 15