mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine code, remove the rtmp recv/send macro, use one macro.
This commit is contained in:
parent
12e013142d
commit
0f4cb8ee00
6 changed files with 14 additions and 22 deletions
|
@ -624,8 +624,8 @@ int SrsMpegtsOverUdp::connect()
|
|||
srs_freep(client);
|
||||
client = new SrsRtmpClient(transport);
|
||||
|
||||
client->set_recv_timeout(SRS_CONSTS_RTMP_RECV_TIMEOUT_US);
|
||||
client->set_send_timeout(SRS_CONSTS_RTMP_SEND_TIMEOUT_US);
|
||||
client->set_recv_timeout(SRS_CONSTS_RTMP_TIMEOUT_US);
|
||||
client->set_send_timeout(SRS_CONSTS_RTMP_TIMEOUT_US);
|
||||
|
||||
// connect to vhost/app
|
||||
if ((ret = client->handshake()) != ERROR_SUCCESS) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue