1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for bug #277, support flv stream.

This commit is contained in:
winlin 2015-01-17 23:19:30 +08:00
parent cbed2bbca4
commit bbe96a4b31
3 changed files with 120 additions and 1 deletions

View file

@ -204,6 +204,9 @@ public:
virtual ~SrsGoHttpFileServer();
public:
virtual int serve_http(ISrsGoHttpResponseWriter* w, SrsHttpMessage* r);
private:
virtual int serve_file(std::string fullpath, ISrsGoHttpResponseWriter* w, SrsHttpMessage* r);
virtual int serve_flv_stream(std::string fullpath, ISrsGoHttpResponseWriter* w, SrsHttpMessage* r, int offset);
};
// the mux entry for server mux.