Create a cardboard video preview by video texture in android

I am trying to render a cardboard view (stereoscopic view) in an android application. Currently I can show a live video using a textured image, but I don't know how to combine it with a cardboard view.

As I understand it, when displaying video in cardboard view, I need to use Surfacetexture, so I just initialize that and use getsurfacetexture () method in texture methods, but it doesn't work. Can anyone give me some advice?

+3


source to share





All Articles