22 lines
421 B
C++
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;
|