Holds everything unique to the controller.
Definition: controller_api.h:4
void checkStream(std::string name, JSON::Value &data)
Checks the validity of a stream, updates internal stream status.
Definition: controller_streams.cpp:43
A JSON::Value is either a string or an integer, but may also be an object, array or null...
Definition: json.h:21
void CheckStreams(JSON::Value &in, JSON::Value &out)
Parse a given stream configuration.
Definition: controller_streams.cpp:257
void AddStreams(JSON::Value &in, JSON::Value &out)
Definition: controller_streams.cpp:175
bool CheckAllStreams(JSON::Value &data)
Checks all streams, restoring if needed.
Definition: controller_streams.cpp:127
bool streamsEqual(JSON::Value &one, JSON::Value &two)
Checks whether two streams are equal.
Definition: controller_streams.cpp:25
void deleteStream(const std::string &name, JSON::Value &out)
Definition: controller_streams.cpp:296
long long int lastms
Definition: controller_streams.h:12
Definition: controller_streams.h:11
long long int last_active
Definition: controller_streams.h:13