webrtc WebRTC simple examples


getUserMedia() ParamtersDescription
ConstraintsIt consist of array which allows us to specify which media devices to use i.e audio or video or both
Success callbackCreate a function for success callback which will provide you the stream which you get from your media devices
Error callbackThis callback get invoked when there is problem like there are no media devices, or user has denied the permission to use them