mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine get_recv_timeout and is_never_timeout in time unit
This commit is contained in:
parent
d3dc45f357
commit
5a45fd98c3
9 changed files with 28 additions and 28 deletions
|
|
@ -309,7 +309,7 @@ void SrsProtocol::set_recv_timeout(srs_utime_t tm)
|
|||
return skt->set_recv_timeout(tm);
|
||||
}
|
||||
|
||||
int64_t SrsProtocol::get_recv_timeout()
|
||||
srs_utime_t SrsProtocol::get_recv_timeout()
|
||||
{
|
||||
return skt->get_recv_timeout();
|
||||
}
|
||||
|
|
@ -2215,7 +2215,7 @@ void SrsRtmpServer::set_recv_timeout(srs_utime_t tm)
|
|||
protocol->set_recv_timeout(tm);
|
||||
}
|
||||
|
||||
int64_t SrsRtmpServer::get_recv_timeout()
|
||||
srs_utime_t SrsRtmpServer::get_recv_timeout()
|
||||
{
|
||||
return protocol->get_recv_timeout();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue