Hi,
I wanted to mod the DJI drone example in order to display two video streams to test my google cardboard as a "poor man" FPV DJI Googles.
I tried to display twice the video :
But does not work...
I tried to create a second camera :
As you can see only right image is there...
So please if you have an idea how I could do it... that's would be great !
Thanks in advance
I wanted to mod the DJI drone example in order to display two video streams to test my google cardboard as a "poor man" FPV DJI Googles.
I tried to display twice the video :
B4X:
pnlCamera.AddView(camera.CreateVideoView, 0, 25%y, pnlCamera.Width/2, pnlCamera.Height/2)
pnlCamera.AddView(camera.CreateVideoView, 50%x,25%y, pnlCamera.Width/2, pnlCamera.Height/2)
But does not work...
I tried to create a second camera :
B4X:
camera.Initialize("camera", aircraft)
camera2.Initialize("camera2", aircraft)
pnlCamera.AddView(camera.CreateVideoView, 0, 25%y, pnlCamera.Width/2, pnlCamera.Height/2)
pnlCamera.AddView(camera2.CreateVideoView, 50%x,25%y, pnlCamera.Width/2, pnlCamera.Height/2)
As you can see only right image is there...
So please if you have an idea how I could do it... that's would be great !
Thanks in advance