Changed getStream/getLive/getVod functions to return a bool instead of a socket.
This commit is contained in:
parent
4e0fe2e6e5
commit
efa5d67231
2 changed files with 18 additions and 9 deletions
|
@ -10,9 +10,9 @@ namespace Util {
|
|||
class Stream{
|
||||
public:
|
||||
static void sanitizeName(std::string & streamname);
|
||||
static Socket::Connection getLive(std::string streamname);
|
||||
static Socket::Connection getVod(std::string filename, std::string streamname);
|
||||
static Socket::Connection getStream(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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue