mistserver/src/output/output_srt.h
2021-10-19 22:29:40 +02:00

22 lines
421 B
C++

#include "output_http.h"
namespace Mist{
class OutSRT : public HTTPOutput{
public:
OutSRT(Socket::Connection &conn);
~OutSRT();
static void init(Util::Config *cfg);
void onHTTP();
void sendNext();
void sendHeader();
protected:
bool webVTT;
size_t lastNum;
uint32_t filter_from;
uint32_t filter_to;
uint32_t index;
};
}// namespace Mist
typedef Mist::OutSRT mistOut;