mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #151, add comments for the audio overflow ratio.
This commit is contained in:
parent
0319e85f99
commit
a4709a6439
1 changed files with 1 additions and 0 deletions
|
@ -346,6 +346,7 @@ bool SrsHlsMuxer::is_segment_overflow()
|
||||||
|
|
||||||
bool SrsHlsMuxer::is_segment_absolutely_overflow()
|
bool SrsHlsMuxer::is_segment_absolutely_overflow()
|
||||||
{
|
{
|
||||||
|
// @see https://github.com/winlinvip/simple-rtmp-server/issues/151#issuecomment-83553950
|
||||||
srs_assert(current);
|
srs_assert(current);
|
||||||
return current->duration >= hls_aof_ratio * hls_fragment;
|
return current->duration >= hls_aof_ratio * hls_fragment;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue