Display a gstreamer video feed into Google Cardboard SurfaceTexture
I'm using gstreamer to retrieve a video feed (sent from a RaspPi), and I need to display it into Google Cardboard. I based my work on the tutorial-3 example of gstreamer . I managed to display my video into a SurfaceView, by giving my Surface (retrieved from SurfaceView.SurfaceHolder.getSurface() , but I now need to connect it with the Google Cardboard. If I do not mistake, Google Cardboard relies on some SurfaceTexture. So I thought it would be easy to simply get the Surface from the SurfaceTexture using the Surface(SurfaceTexture) constructor. The problem is that it simply doesn't work. My