I have large videos in an asset bundle that I need to play using AV Pro in an Oculus GO.
Right now I have the bundle created (with uncompressed videos), and can load it using
In order to fetch a video from the bundle, I’m using
bundle.LoadAsset, which returns a VideoClip.
The issue is that AV pro needs an absolute path in order to play the video, and I’m struggling to find the path of the loaded asset.
The other option is to convert the VideoClip into a byte, as AV Pro can open videos from byte as well.
Does anyone know where the path of the loaded asset is, or how to convert a VideoClip into a byte?