Closed kodai100 closed 3 years ago
Can you try switching the Video API to WinRT instead of the default Media Foundation?
Thanks,
Thank you for your reply.
I switched the video API to WinRT and it seems to work!
However, the year parsing seems to be wrong like as follows. (2021 is expected, but displayed 2390)
this is unity's log
and this is AWS's m3u8 file detail
Thanks,
OH that's interesting...we'll take a look
Our date-time conversion calculate was off by 11644473600 seconds (approx 369 days) due to using the Windows NT epoch date 1601 instead of Unix epoch 1970.
This has now been fixed and will be in the next release.
Thanks for submitting this issue report.
Thank you for your quick support !
@kodai100 AVPro Video 2.2.4 has just been released and should resolve the issue you reported. Thanks,
Describe the issue Cannot get value of HLS live streaming's #EXT-X-PROGRAM-DATE-TIME through
mediaPlayer.Control.GetProgramDateTime()
API.https://www.renderheads.com/content/docs/AVProVideo/articles/feature-streaming.html In the document, clearly we can get a #EXT-X-PROGRAM-DATE-TIME tag value through
mediaPlayer.Control.GetProgramDateTime()
API.Your Setup (please complete the following information):
To Reproduce
Logs
Screenshots Here is get a video stream of AWS IVS on AVProVideo MediaPlayer (logging 0001/01/01 0:00:00)
And here is AWS IVS's m3u8 index file (clearly included #EXT-X-PROGRAM-DATE-TIME tags)
Videos it will be reproduce any live streaming video.
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us unitysupport@renderheads.com