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

22 lines
445 B
C++

#include "output_http.h"
namespace Mist{
class OutJPG : public HTTPOutput{
public:
OutJPG(Socket::Connection &conn);
static void init(Util::Config *cfg);
void onHTTP();
bool isReadyForPlay();
private:
void generate();
void initialSeek();
void NoFFMPEG();
std::string cachedir;
uint64_t cachetime;
bool HTTP;
std::stringstream jpg_buffer;
};
}// namespace Mist
typedef Mist::OutJPG mistOut;