不再使用MPD中`pulishTime` (BBC的mpd不会更新这个参数)
This commit is contained in:
parent
093794cdd9
commit
db8751750c
|
@ -379,7 +379,7 @@ namespace N_m3u8DL_RE.Parser.Extractor
|
||||||
//直播的情况,需要自己计算totalNumber
|
//直播的情况,需要自己计算totalNumber
|
||||||
if (totalNumber == 0 && isLive)
|
if (totalNumber == 0 && isLive)
|
||||||
{
|
{
|
||||||
var now = publishTime == null ? DateTime.Now : DateTime.Parse(publishTime);
|
var now = DateTime.Now;
|
||||||
var availableTime = DateTime.Parse(availabilityStartTime!);
|
var availableTime = DateTime.Parse(availabilityStartTime!);
|
||||||
//可用时间+偏移量
|
//可用时间+偏移量
|
||||||
var offsetMs = TimeSpan.FromMilliseconds(Convert.ToInt64(presentationTimeOffsetStr) / 1000);
|
var offsetMs = TimeSpan.FromMilliseconds(Convert.ToInt64(presentationTimeOffsetStr) / 1000);
|
||||||
|
|
Loading…
Reference in New Issue