MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
output_progressive_ogg.h
Go to the documentation of this file.
1 #include "output_http.h"
2 #include <mist/ogg.h>
3 #include <mist/http_parser.h>
4 
5 namespace Mist {
6  class OutProgressiveOGG : public HTTPOutput {
7  public:
10  static void init(Util::Config * cfg);
11  void onRequest();
12  void sendNext();
13  void sendHeader();
14  bool onFinish();
15  bool parseInit(std::string & initData, std::deque<std::string> & output);
16  protected:
17  HTTP::Parser HTTP_R;//Received HTTP
18  HTTP::Parser HTTP_S;//Sent HTTP
19  std::map <long long unsigned int, OGG::Page > pageBuffer; //OGG specific variables
20  };
21 }
22 
24 
25 
26 
27 
28 
~OutProgressiveOGG()
Definition: output_progressive_ogg.cpp:11
static void init(Util::Config *cfg)
Definition: output_progressive_ogg.cpp:13
void sendNext()
Definition: output_progressive_ogg.cpp:29
HTTP::Parser HTTP_R
Definition: output_progressive_ogg.h:17
Recording to file.
Definition: input.cpp:13
Simple class for reading and writing HTTP 1.0 and 1.1.
Definition: http_parser.h:14
void sendHeader()
Definition: output_progressive_ogg.cpp:125
void onRequest()
Definition: output_progressive_ogg.cpp:176
Deals with parsing configuration from commandline options.
Definition: config.h:18
Definition: output_http.h:8
std::map< long long unsigned int, OGG::Page > pageBuffer
Definition: output_progressive_ogg.h:19
OutProgressiveOGG(Socket::Connection &conn)
Definition: output_progressive_ogg.cpp:7
Mist::OutProgressiveOGG mistOut
Definition: output_progressive_ogg.h:23
HTTP::Parser HTTP_S
Definition: output_progressive_ogg.h:18
bool parseInit(std::string &initData, std::deque< std::string > &output)
Definition: output_progressive_ogg.cpp:67
This class is for easy communicating through sockets, either TCP or Unix.
Definition: socket.h:47
bool onFinish()
Definition: output_progressive_ogg.cpp:60
Definition: output_progressive_ogg.h:6