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

use tcp client for raw connect.

This commit is contained in:
winlin 2015-10-13 17:59:51 +08:00
parent 20fcfb3eee
commit a9bb6061c3
4 changed files with 126 additions and 12 deletions

View file

@ -43,6 +43,7 @@ class SrsRequest;
class SrsPithyPrint;
class ISrsHttpResponseReader;
class SrsFlvDecoder;
class SrsTcpClient;
#include <srs_app_st.hpp>
#include <srs_app_listener.hpp>
@ -86,8 +87,7 @@ private:
SrsPithyPrint* pprint;
private:
SrsRequest* req;
st_netfd_t stfd;
SrsStSocket* io;
SrsTcpClient* transport;
SrsRtmpClient* client;
int stream_id;
public: