Provide a way to control the WebRTC input device programatically
Opened this issue · 1 comments
bpulito commented
Came from this WASdev post:
May be as simple as providing access to the MediaStreamTrack API.
swgraham commented
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.