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

SRT: refine int to srs_utime_t in srt timeout config

This commit is contained in:
hondaxiao 2022-05-30 19:50:51 +08:00 committed by winlin
parent 26498a00fe
commit dd8ccfe5d8
3 changed files with 10 additions and 10 deletions

View file

@ -649,9 +649,9 @@ public:
// Get the srt SRTO_TLPKTDROP, Too-late Packet Drop, default is true.
virtual bool get_srto_tlpktdrop();
// Get the srt SRTO_CONNTIMEO, connection timeout, default is 3000ms.
virtual int get_srto_conntimeout();
virtual srs_utime_t get_srto_conntimeout();
// Get the srt SRTO_PEERIDLETIMEO, peer idle timeout, default is 10000ms.
virtual int get_srto_peeridletimeout();
virtual srs_utime_t get_srto_peeridletimeout();
// Get the srt SRTO_SNDBUF, send buffer, default is 8192 × (1500-28).
virtual int get_srto_sendbuf();
// Get the srt SRTO_RCVBUF, recv buffer, default is 8192 × (1500-28).