RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
226 stars 28 forks source link

live mpegts streams just freeze on the first picture #332

Closed englishdz closed 4 years ago

englishdz commented 4 years ago

Describe the bug when I try to play a live mpegts stream it just freezes on the first picture Your Setup (please complete the following information):

AndrewRH commented 4 years ago

Hi, the platform/OS is really important information to help us work out what the issue could be - which OS is the editor running in?

Also could you give more information about the stream? Is it HLS? Do you have a sample URL?

Thanks,

englishdz commented 4 years ago

yeah it s mpeg because it's faster than hls using windows http://serversdz.com:25461/sofiane/f9iRUmVtqD/689

AndrewRH commented 4 years ago

I have replicated the issue. I'm not sure why this is happening. It could be that Media Foundation doesn't support MPEG-TS

I have also tried on our yet-unreleased AVPro Video 2.0 which uses the newer WinRT video API, and it's working in that.

Thanks for providing the example, I will dig a bit further to see about the Media Foundation API support, and will get back to you.

Thanks,

AndrewRH commented 4 years ago

@serversdz could you confirm whether you're using the DirectShow or Media Foundation API ? It should log this in the console window, but you can also check your settings on the MediaPlayer Component > Windows > Video API

Thanks,

AndrewRH commented 4 years ago

Hi @serversdz We found the issue (it was a bug in our software). We'll have a fix out shortly in the next version (1.11.0) Thanks,

englishdz commented 4 years ago

thanks a lot Looking forward to the new updates

englishdz commented 4 years ago

preferred video API Media Foundation

AndrewRH commented 4 years ago

I will close this now. The new version with the fix will be out next week. Thanks,