Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有GVRView一个显示 OpenGL Surface,我有我想在上面显示的视频流。
GVRView
ipcam-view 使用 uses MjpegSurfaceView,如何扩展它以使其渲染到 GVRView 可以显示的 openGL 表面?
MjpegSurfaceView
您需要从每个视频帧创建纹理并将其绘制在 GvrView 上。我不确定这会有所帮助,但我制作了一个使用 GoogleVR SDK 的相机预览示例。它使用 SurfaceTexture 将相机预览图像用作 OpenGL ES 纹理并使用着色器绘制纹理。