WASdev/lib.rtcomm.clientjs

Provide a way to control the WebRTC input device programatically

Opened this issue · 1 comments

Came from this WASdev post:

https://developer.ibm.com/answers/questions/195477/how-set-rear-camera-stream-in-webrtc-video-chat.html#answer-195497

May be as simple as providing access to the MediaStreamTrack API.

In order to support this, we need to add an option to 'enable' that will let users pass in a config object for 'getUserMedia()' They can determine the stream on their own with MediaStreamTrack API because it is exposed in the browser globally. It might be useful to generate a helper class for that.
This is the link that discusses the 'optional' parameters and what can be done with them. http://stackoverflow.com/questions/18625007/enable-rear-camera-with-html5

Also, this appears to be a recent addition to the standard and has not always been supported.