Community
cancel
Showing results for 
Search instead for 
Did you mean: 
张__俞
Beginner
58 Views

How to switch cameras in iOS

I initialize the local stream with ICSLocalStream,How to switch cameras ?thanks!

我是用ICSLocalStream初始化的本地流,并设置了ICSStreamConstraints      (self.constraints.video.devicePosition=AVCaptureDevicePositionBack;)

但是在切换摄像头时 改变self.constraints 不生效!

请问 怎么做才可以切换 摄像头?

0 Kudos
0 Replies
Reply