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

Migrate is_never_timeout to utility.

This commit is contained in:
winlin 2019-05-09 08:42:53 +08:00
parent 1b37b90b8f
commit ccba55cdd8
8 changed files with 8 additions and 42 deletions

View file

@ -54,8 +54,6 @@
* +--+-----------------------------+-+
* | IProtocolReadWriter |
* +----------------------------------+
* | + is_never_timeout() |
* +----------------------------------+
*/
/**
@ -121,10 +119,6 @@ class ISrsProtocolReadWriter : virtual public ISrsProtocolReader, virtual public
public:
ISrsProtocolReadWriter();
virtual ~ISrsProtocolReadWriter();
// For protocol
public:
// Whether the specified tm in srs_utime_t is never timeout.
virtual bool is_never_timeout(srs_utime_t tm) = 0;
};
#endif