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

Refine set_send_timeout in time unit

This commit is contained in:
winlin 2019-04-17 08:18:37 +08:00
parent a1398892d0
commit f4bee37e76
14 changed files with 34 additions and 34 deletions

View file

@ -117,10 +117,10 @@ public:
// for protocol
public:
/**
* Set the timeout tm in ms for send bytes to peer.
* Set the timeout tm in srs_utime_t for send bytes to peer.
* @remark Use SRS_UTIME_NO_TIMEOUT to never timeout.
*/
virtual void set_send_timeout(int64_t tm) = 0;
virtual void set_send_timeout(srs_utime_t tm) = 0;
/**
* Get the timeout in ms for send bytes to peer.
*/