MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
stream.h File Reference
#include <string>
#include "socket.h"
#include "json.h"

Go to the source code of this file.

Namespaces

 Util
 Contains utility code, not directly related to streaming media.
 

Functions

JSON::Value Util::getStreamConfig (std::string streamname)
 
std::string Util::getTmpFolder ()
 
void Util::sanitizeName (std::string &streamname)
 Filters the streamname, removing invalid characters and converting all letters to lowercase. More...
 
bool Util::startInput (std::string streamname, std::string filename="", bool forkFirst=true)
 Assures the input for the given stream name is active. More...
 
int Util::startRecording (std::string streamname)
 
bool Util::streamAlive (std::string &streamname)
 Checks if the given streamname has an active input serving it. More...