不再使用MPD中`pulishTime` (BBC的mpd不会更新这个参数)

This commit is contained in:
nilaoda 2022-11-27 22:43:02 +08:00
parent 093794cdd9
commit db8751750c
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ namespace N_m3u8DL_RE.Parser.Extractor
//直播的情况需要自己计算totalNumber
if (totalNumber == 0 && isLive)
{
var now = publishTime == null ? DateTime.Now : DateTime.Parse(publishTime);
var now = DateTime.Now;
var availableTime = DateTime.Parse(availabilityStartTime!);
//可用时间+偏移量
var offsetMs = TimeSpan.FromMilliseconds(Convert.ToInt64(presentationTimeOffsetStr) / 1000);