mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support push flv stream over HTTP POST to SRS.
This commit is contained in:
parent
77ee2400df
commit
c617d2aaa5
4 changed files with 21 additions and 4 deletions
|
@ -42,6 +42,8 @@ class SrsRtmpClient;
|
|||
class SrsStSocket;
|
||||
class SrsRequest;
|
||||
class SrsPithyPrint;
|
||||
class ISrsHttpResponseReader;
|
||||
class SrsFlvDecoder;
|
||||
|
||||
#include <srs_app_st.hpp>
|
||||
#include <srs_app_listener.hpp>
|
||||
|
@ -98,6 +100,7 @@ public:
|
|||
public:
|
||||
virtual int proxy(ISrsHttpResponseWriter* w, SrsHttpMessage* r, std::string o);
|
||||
private:
|
||||
virtual int do_proxy(ISrsHttpResponseReader* rr, SrsFlvDecoder* dec);
|
||||
virtual int rtmp_write_packet(char type, u_int32_t timestamp, char* data, int size);
|
||||
private:
|
||||
// connect to rtmp output url.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue