RenderHeads / UnityPlugin-AVProVideo

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

Problem with AVPRO core in WebGL #1436

Closed vKlabe closed 1 year ago

vKlabe commented 1 year ago

hello, we would have a problem with AVpro core

we would like to buy it but we are doing tests with the trial version and to date it gives us this error:

avpro problem

we are using External Library: HLS

we are using webgl

What could be the problem?

thank you very much!

v

Chris-RH commented 1 year ago

We don't officially support WebGl.

It is most likely to be a CORS issue? https://www.renderheads.com/content/docs/AVProVideo/articles/feature-streaming.html#webgl

FedeGToto commented 1 year ago

We uploaded the test build on itch.io due to problems with CORS, but then that error showed up. When there are CORS errors it explicitly says that, at least on our previous builds

Chris-RH commented 1 year ago

What browsers have you tried it in? Is everything that you are trying to access on itch.io?

FedeGToto commented 1 year ago

We tried on Google Chrome, for now. On itch.io there was just a clean build with AVPro Trial

Chris-RH commented 1 year ago

So the videos that you are trying to access are on there too, or on a different server?

FedeGToto commented 1 year ago

Are on another server

Chris-RH commented 1 year ago

A 403 error indicates that it is either a CORS issue or that you are trying to get a file that does not exist. You need to make sure that the target URL is correct and that the cases used are correct. I can't quite make out the URL, but there seems to be some odd lettering in it. Is all of it standard ascii?

FedeGToto commented 1 year ago

In editor it works just fine

Chris-RH commented 1 year ago

Yes, running in Editor is different. You must treat URLs as case sensitive, so make sure they are correct. When you upload, are you using any compression? Which browsers have you tested on other than Chrome?

FedeGToto commented 1 year ago

We used a Twitch stream to play the video, to be honest

Chris-RH commented 1 year ago

AVPro Video doesn't officially support streaming from such platforms. This is because it tends to be against their terms & conditions, and the streaming URLs are protected by javascript and server obfuscation.

FedeGToto commented 1 year ago

So that may be the problem? Should we try with other streaming platforms?

Chris-RH commented 1 year ago

That may be the problem. https://www.renderheads.com/content/docs/AVProVideo/articles/feature-streaming.html