mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine set_recv_timeout in time unit
This commit is contained in:
parent
38bbf6b111
commit
d3dc45f357
20 changed files with 45 additions and 46 deletions
|
@ -84,9 +84,9 @@ public:
|
|||
virtual ~ISrsProtocolReader();
|
||||
// for protocol
|
||||
public:
|
||||
// Set the timeout tm in ms for recv bytes from peer.
|
||||
// Set the timeout tm in srs_utime_t for recv bytes from peer.
|
||||
// @remark Use SRS_UTIME_NO_TIMEOUT to never timeout.
|
||||
virtual void set_recv_timeout(int64_t tm) = 0;
|
||||
virtual void set_recv_timeout(srs_utime_t tm) = 0;
|
||||
// Get the timeout in ms for recv bytes from peer.
|
||||
virtual int64_t get_recv_timeout() = 0;
|
||||
// For handshake.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue