Please check this demo: https://rtcmulticonnection.herokuapp.com/demos/Switch-Cameras.html To test it: Setup WebRTC connection among two tabs or computers, change camera from any tab and it will work. Currently it allows you change camera 2-3 times only i.e. you can switch between cameras only 2-3 times.
– Muaz KhanNov 22 '16 at 12:11
check this out - http://stackoverflow.com/questions/39385615/how-to-swap-camera-sources-in-webrtc-while-in-a-call-javascript-apis
– prerakNov 24 '16 at 09:43