mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine SRS_CONSTS_NO_TMMS to SRS_UTIME_NO_TIMEOUT
This commit is contained in:
parent
f8e6de71f3
commit
0879bef9b2
9 changed files with 23 additions and 28 deletions
|
@ -90,7 +90,7 @@ public:
|
|||
public:
|
||||
/**
|
||||
* Set the timeout tm in ms for recv bytes from peer.
|
||||
* @remark Use SRS_CONSTS_NO_TMMS to never timeout.
|
||||
* @remark Use SRS_UTIME_NO_TIMEOUT to never timeout.
|
||||
*/
|
||||
virtual void set_recv_timeout(int64_t tm) = 0;
|
||||
/**
|
||||
|
@ -118,7 +118,7 @@ public:
|
|||
public:
|
||||
/**
|
||||
* Set the timeout tm in ms for send bytes to peer.
|
||||
* @remark Use SRS_CONSTS_NO_TMMS to never timeout.
|
||||
* @remark Use SRS_UTIME_NO_TIMEOUT to never timeout.
|
||||
*/
|
||||
virtual void set_send_timeout(int64_t tm) = 0;
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue