1
0
Fork 0
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:
winlin 2015-05-10 10:35:35 +08:00
parent 77ee2400df
commit c617d2aaa5
4 changed files with 21 additions and 4 deletions

View file

@ -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.