New input starting method based on JSON capabilities.

This commit is contained in:
Thulinma 2014-10-02 15:38:59 +02:00
parent b4feaebbe8
commit 08953540f6
5 changed files with 159 additions and 119 deletions

View file

@ -7,12 +7,6 @@
namespace Util {
std::string getTmpFolder();
class Stream {
public:
static void sanitizeName(std::string & streamname);
static bool getLive(std::string streamname);
static bool getVod(std::string filename, std::string streamname);
static bool getStream(std::string streamname);
static Socket::Server makeLive(std::string streamname);
};
void sanitizeName(std::string & streamname);
bool startInput(std::string streamname, std::string filename = "", bool forkFirst = true);
}