Added utcoffset field to metadata to display VoD program time if supported by output

This commit is contained in:
Marco van Dijk 2021-10-28 16:28:37 +02:00 committed by Thulinma
parent 19d7c9fe07
commit 684df4b23d
4 changed files with 23 additions and 2 deletions

View file

@ -746,6 +746,7 @@ namespace Mist{
}
tsStream.clear();
// set bootMsOffset in order to display the program time correctly in the player
meta.setUTCOffset(streamOffset + (Util::unixMS() - Util::bootMS()));
meta.setBootMsOffset(streamOffset);
return true;
}
@ -837,8 +838,8 @@ namespace Mist{
}
// set bootMsOffset in order to display the program time correctly in the player
meta.setUTCOffset(streamOffset + (Util::unixMS() - Util::bootMS()));
meta.setBootMsOffset(streamOffset);
if (streamIsLive || isLiveDVR){return true;}
// Set local vars used for parsing existing headers