RenderHeads / UnityPlugin-AVProVideo

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

Unable to load video from buffer #1404

Closed sv955 closed 1 year ago

sv955 commented 1 year ago

Hi

There is an issue while loading video from buffer

This is working

var path ="path of mp4 video";
GetComponent<MediaPlayer>().OpenVideoFromFile( MediaPlayer.FileLocation.AbsolutePathOrURL, path, false );

but

var path ="path of mp4 video";
var file = File.ReadAllBytes(path);
GetComponent<MediaPlayer>().OpenVideoFromBuffer(file, false);

This is not working. I'm using AV Pro (Version 1.11.3)

Chris-RH commented 1 year ago

What platform is this for? You should update to the latest version of AVPro Video version 1 -> 1.11.7

Ste-RH commented 1 year ago

FYI @sv955. AVPro Video v1.x was deprecated almost 2 years ago and we stopped officially supporting it almost 18 months ago. Whilst we will always look to help where we can, we are not prioritising v1.x issues.

sv955 commented 1 year ago

Thanks for your quick response.