Unity 获取外接摄像机WebCamTexture卡顿(low fps)

WebCamDevice[] devices = WebCamTexture.devices;
string devicename = devices[0].name;
webTex = new WebCamTexture(devicename, 1920, 1080);

哔哔!不要向上面这样创建webTex

webTex = new WebCamTexture();

世界瞬间流畅,但是分辨率没发搞,会模糊,而且无法选择设备


别折腾了,还是用插件吧

AVProLiveCamera

 


版权声明:本文为lvcoc原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。