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:
parent
a1398892d0
commit
f4bee37e76
14 changed files with 34 additions and 34 deletions
|
@ -396,10 +396,10 @@ int64_t SimpleSocketStream::get_recv_bytes()
|
|||
}
|
||||
|
||||
// ISrsProtocolWriter
|
||||
void SimpleSocketStream::set_send_timeout(int64_t tm)
|
||||
void SimpleSocketStream::set_send_timeout(srs_utime_t tm)
|
||||
{
|
||||
srs_assert(io);
|
||||
srs_hijack_io_set_send_timeout(io, tm);
|
||||
srs_hijack_io_set_send_timeout(io, srsu2ms(tm));
|
||||
}
|
||||
|
||||
int64_t SimpleSocketStream::get_send_timeout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue