Ogg support fixed and re-added. Squash of various commits made by Wouter Spruit.
This commit is contained in:
parent
142ef73f6c
commit
a47504b5cb
17 changed files with 944 additions and 456 deletions
28
src/output/output_progressive_ogg.h
Normal file
28
src/output/output_progressive_ogg.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#include "output_http.h"
|
||||
#include <mist/ogg.h>
|
||||
#include <mist/http_parser.h>
|
||||
|
||||
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<std::string> & output);
|
||||
protected:
|
||||
HTTP::Parser HTTP_R;//Received HTTP
|
||||
HTTP::Parser HTTP_S;//Sent HTTP
|
||||
std::map <long long unsigned int, OGG::Page > pageBuffer; //OGG specific variables
|
||||
};
|
||||
}
|
||||
|
||||
typedef Mist::OutProgressiveOGG mistOut;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue