阅读背景:

Unity3D。访问相机手电筒/闪光灯问题 - 手电筒工作但在流式传输网络摄像头时无法访问

来源:互联网 

I am developing an app in unity in which the user can take photos using their device camera. This is working great using Unity's webcamtexture. However, there is no flash support for webcamtexture, so I have written my own code to access the device Torch. The code WORKS - However it doesn't work while streaming the webcamtexture (the camera is in use so the java service call returns an error). Does anyone have any suggestions for how to get around this issue? Is there any way to use Unity's WebCamTexture to activate the camera torch? Here is my code for activating the camera torch:I am developing an app in unity in which the us




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: