Software Archive
Read-only legacy content
17061 Discussions

How to switch cameras in iOS

张__俞
Beginner
292 Views

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