New input starting method based on JSON capabilities.
This commit is contained in:
parent
b4feaebbe8
commit
08953540f6
5 changed files with 159 additions and 119 deletions
10
lib/stream.h
10
lib/stream.h
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue