mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the http remux for http flv stream.
This commit is contained in:
parent
f0c24eeacc
commit
022b6aa561
12 changed files with 133 additions and 31 deletions
|
@ -34,6 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <srs_app_conn.hpp>
|
||||
#include <srs_app_reload.hpp>
|
||||
|
||||
class SrsServer;
|
||||
class SrsRtmpServer;
|
||||
class SrsRequest;
|
||||
class SrsResponse;
|
||||
|
@ -61,6 +62,7 @@ class SrsRtmpConn : public virtual SrsConnection, public virtual ISrsReloadHandl
|
|||
// for the thread to directly access any field of connection.
|
||||
friend class SrsPublishRecvThread;
|
||||
private:
|
||||
SrsServer* server;
|
||||
SrsRequest* req;
|
||||
SrsResponse* res;
|
||||
SrsStSocket* skt;
|
||||
|
@ -81,7 +83,7 @@ private:
|
|||
// @see https://github.com/simple-rtmp-server/srs/issues/257
|
||||
bool realtime;
|
||||
public:
|
||||
SrsRtmpConn(SrsServer* srs_server, st_netfd_t client_stfd);
|
||||
SrsRtmpConn(SrsServer* svr, st_netfd_t c);
|
||||
virtual ~SrsRtmpConn();
|
||||
protected:
|
||||
virtual int do_cycle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue