MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
output_ts_push.h
Go to the documentation of this file.
1 #include "output_ts_base.h"
2 
3 namespace Mist {
4  class OutTSPush : public TSOutput{
5  public:
7  ~OutTSPush();
8  static void init(Util::Config * cfg);
9  static bool listenMode(){return false;}
10  void sendTS(const char * tsData, unsigned int len=188);
11  protected:
12  void fillBuffer(const char * data, size_t dataLen);
13  std::string packetBuffer;
15  };
16 }
17 
static void init(Util::Config *cfg)
Definition: output_ts_push.cpp:45
void fillBuffer(const char *data, size_t dataLen)
Definition: output_ts_push.cpp:83
Definition: socket.h:123
void sendTS(const char *tsData, unsigned int len=188)
Definition: output_ts_push.cpp:95
Recording to file.
Definition: input.cpp:13
~OutTSPush()
Definition: output_ts_push.cpp:43
static bool listenMode()
Definition: output_ts_push.h:9
Deals with parsing configuration from commandline options.
Definition: config.h:18
std::string packetBuffer
Definition: output_ts_push.h:13
OutTSPush(Socket::Connection &conn)
Definition: output_ts_push.cpp:6
Definition: output_ts_base.h:13
Definition: output_ts_push.h:4
Socket::UDPConnection pushSock
Definition: output_ts_push.h:14
Mist::OutTSPush mistOut
Definition: output_ts_push.h:18
This class is for easy communicating through sockets, either TCP or Unix.
Definition: socket.h:47