MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
output_hls.h
Go to the documentation of this file.
1 #include "output_ts_base.h"
2 #include "output_http.h"
3 
4 namespace Mist {
5  class OutHLS : public TSOutput{
6  public:
8  ~OutHLS();
9  static void init(Util::Config * cfg);
10  void sendTS(const char * tsData, unsigned int len=188);
11  void onHTTP();
12  protected:
13  std::string liveIndex();
14  std::string liveIndex(int tid);
15 
16 
17  std::string pushLiveIndex();
18  std::string pushLiveIndex(int tid, unsigned long bTime, unsigned long eTime);
19 
20 
21  std::string generatePushList();
22  int canSeekms(unsigned int ms);
23  int keysToSend;
24  unsigned int vidTrack;
25  unsigned int audTrack;
26  };
27 }
28 
~OutHLS()
Definition: output_hls.cpp:267
std::string pushLiveIndex()
Definition: output_hls.cpp:45
Recording to file.
Definition: input.cpp:13
std::string generatePushList()
Definition: output_hls.cpp:200
Mist::OutHLS mistOut
Definition: output_hls.h:29
Deals with parsing configuration from commandline options.
Definition: config.h:18
std::string liveIndex()
Builds an index file for HTTP Live streaming.
Definition: output_hls.cpp:8
void sendTS(const char *tsData, unsigned int len=188)
Definition: output_hls.cpp:511
static void init(Util::Config *cfg)
Definition: output_hls.cpp:269
OutHLS(Socket::Connection &conn)
Definition: output_hls.cpp:263
unsigned int vidTrack
Definition: output_hls.h:24
Definition: output_ts_base.h:13
void onHTTP()
Definition: output_hls.cpp:312
This class is for easy communicating through sockets, either TCP or Unix.
Definition: socket.h:47
int keysToSend
Definition: output_hls.h:23
int canSeekms(unsigned int ms)
Definition: output_hls.cpp:294
unsigned int audTrack
Definition: output_hls.h:25
Definition: output_hls.h:5