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:
parent
cbed2bbca4
commit
bbe96a4b31
3 changed files with 120 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue