mistserver/src/output/output_ts.h
2017-09-27 12:09:18 +02:00

20 lines
479 B
C++

#include "output_ts_base.h"
namespace Mist {
class OutTS : public TSOutput{
public:
OutTS(Socket::Connection & conn);
~OutTS();
static void init(Util::Config * cfg);
void sendTS(const char * tsData, unsigned int len=188);
static bool listenMode();
void initialSeek();
private:
unsigned int udpSize;
bool pushOut;
std::string packetBuffer;
Socket::UDPConnection pushSock;
};
}
typedef Mist::OutTS mistOut;