perchco / perchrtc

An iOS WebRTC demo using XirSys servers
MIT License
135 stars 34 forks source link

Toggle camera #40

Closed FieldSupport closed 8 years ago

FieldSupport commented 8 years ago

Hi anyone have any idea on how to toggle the camera from the main view controller, I have a button there, and know about PHCapturePreviewView, how do I make it work? Thanks

FieldSupport commented 8 years ago

done, just use a NSNotification to call selectCameraPosition