mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use the right int type for port.
This commit is contained in:
parent
1c7d5f1852
commit
d8f18aee37
20 changed files with 105 additions and 149 deletions
|
@ -30,6 +30,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_core.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <srs_app_st.hpp>
|
||||
#include <srs_app_conn.hpp>
|
||||
#include <srs_app_reload.hpp>
|
||||
|
@ -132,7 +134,7 @@ private:
|
|||
virtual void set_sock_options();
|
||||
private:
|
||||
virtual int check_edge_token_traverse_auth();
|
||||
virtual int connect_server(int origin_index, st_netfd_t* pstsock);
|
||||
virtual int connect_server(std::string hostport, st_netfd_t* pstsock);
|
||||
virtual int do_token_traverse_auth(SrsRtmpClient* client);
|
||||
/**
|
||||
* when the connection disconnect, call this method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue