mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-04-04 12:40:55 +08:00
HLS: 合并hls m3u8刷新延时相关pr(#1281)
This commit is contained in:
@@ -200,7 +200,7 @@ float HlsPlayer::delaySecond() {
|
||||
targetOffset = HlsParser::getTotalDuration();
|
||||
}
|
||||
// 根据规范为一半的时间
|
||||
if(targetOffset / 2 > 1.0f) {
|
||||
if (targetOffset / 2 > 1.0f) {
|
||||
return targetOffset / 2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user