wekko Posted April 14, 2023 Share Posted April 14, 2023 This real-time video can be played automatically after I click "Run", but it will not play automatically when I convert it into an APP and send it to the headset and mobile phone. Why is that?I think it's probably due to openXR plugin, because the APP I built on the 3D platform can play remote live video on the phone, but play it in 2D format in the headset. 6c8c89b144024a877f265c62269f3831.mp4 Link to comment Share on other sites More sharing options...
Alex_HTC Posted April 17, 2023 Share Posted April 17, 2023 @wekko it plays it in 2d format in the headset So if i understand correctly, the goal is to play a 360 video and allow the user to move their head around. There are a few ways to do this using unity's movie player package - https://docs.unity3d.com/Manual/class-VideoPlayer.html and a tutorial is here Set up your xr rig (make sure that it's not just a 2d unity camera) put a 10m inverted sphere surrounding the xr rig (i think there's a shader for this by default in the unity sample) deploy the app to the device 2) another approach is to use another plugin like avpro, and an example project is here https://github.com/hardcoded2/AVProTest Link to comment Share on other sites More sharing options...
wekko Posted April 27, 2023 Author Share Posted April 27, 2023 I found that was due to the platform.It works.But new problem comes out。The bottom of 360 video can't be played in the headset.Do you know the reason?I am very urgent to get your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now