mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine get_send_timeout in time unit
This commit is contained in:
parent
f4bee37e76
commit
38bbf6b111
9 changed files with 34 additions and 50 deletions
|
@ -76,7 +76,7 @@ void MockEmptyIO::set_send_timeout(srs_utime_t /*tm*/)
|
|||
{
|
||||
}
|
||||
|
||||
int64_t MockEmptyIO::get_send_timeout()
|
||||
srs_utime_t MockEmptyIO::get_send_timeout()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -162,7 +162,7 @@ void MockBufferIO::set_send_timeout(srs_utime_t tm)
|
|||
stm = tm;
|
||||
}
|
||||
|
||||
int64_t MockBufferIO::get_send_timeout()
|
||||
srs_utime_t MockBufferIO::get_send_timeout()
|
||||
{
|
||||
return stm;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue