关于SurfaceTexture的使用问题
干啥都得学 2016-03-23 04:30:10 SurfaceTexture 可以不预览就从camera获取到帧数据
我想做一个分屏效果,
activity放两个TextView,把surfaceTexture传递给camera, 获取数据
然后在onFrameAvailable回调的时候 将surfaceTexture 通过setsurfaceTexture 显示到两个 TextView上
这条路通吗?? 关键是 setsurfaceTexture的时候, 不太懂。。 不会写
也查不到什么例子, 求指点