1
0
Fork 0
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:
winlin 2015-03-19 21:08:42 +08:00
parent 0319e85f99
commit a4709a6439

View file

@ -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;
} }