hvr streaming server
Answeredhelp me with instructions on how to setup hvr streaming server so that I can stream hvr files directly from the online server without downloading into mobiles phones. If I can stream files from the server then I can maintain the size of the android app
-
Hi Tarun,
You should be able to change the data mode in HvrActor component to "Path" and specify an HTTP URL of the hvr content you want to stream, like that:
Also, make sure the Internet access in player settings in Unity is switched to "required".
Alternatively, you can download the .hvrs file yourself and store it into a public storage. Then call HvrActor.SetAssetData() to load the content.
-
hello, I did try the same method you have provided but it did not work.
However, I'm able to store the files in local storage and display into the application
But I do not want to store into my application or local storage, I just want to stream the content directly from the cloud to the app and your HTTP Url solution didn't work.
Please Help me with the solution
-
Hi,
I can confirm from my side if the http/https server is up and serving the right .hvrs file(note we don't support using a folder of .hvr in a URL), the content can be properly streamed. Note you need the Internet permission turned on.
The first step you probably want to check, is whether the URL is working in Unity editor or not.
If it's working in the editor while not on device, can you please post the logcat output from your Android device? Along with that, if you can provide the version of Unity and the version of 8i Unity plugin, that would be very helpful.
-
Hi, you can get some sample .hvrs files from our web site: https://8i.com/developers/downloads/
Scroll to the very bottom you'll find some sample assets to download. These are all in .hvrs format.
Please sign in to leave a comment.
Comments
6 comments