1
0
Fork 0
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:
winlin 2019-04-17 08:23:15 +08:00
parent f4bee37e76
commit 38bbf6b111
9 changed files with 34 additions and 50 deletions

View file

@ -319,7 +319,7 @@ void SrsProtocol::set_send_timeout(srs_utime_t tm)
return skt->set_send_timeout(tm);
}
int64_t SrsProtocol::get_send_timeout()
srs_utime_t SrsProtocol::get_send_timeout()
{
return skt->get_send_timeout();
}
@ -2225,7 +2225,7 @@ void SrsRtmpServer::set_send_timeout(srs_utime_t tm)
protocol->set_send_timeout(tm);
}
int64_t SrsRtmpServer::get_send_timeout()
srs_utime_t SrsRtmpServer::get_send_timeout()
{
return protocol->get_send_timeout();
}