#include "output_http.h" #include #include namespace Mist{ class OutProgressiveOGG : public HTTPOutput{ public: OutProgressiveOGG(Socket::Connection &conn); ~OutProgressiveOGG(); static void init(Util::Config *cfg); void onRequest(); void sendNext(); void sendHeader(); bool onFinish(); bool parseInit(std::string &initData, std::deque &output); protected: HTTP::Parser HTTP_R; // Received HTTP HTTP::Parser HTTP_S; // Sent HTTP std::map pageBuffer; // OGG specific variables }; }// namespace Mist typedef Mist::OutProgressiveOGG mistOut;