Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
1.34k
stars
491
forks
source link
getUserMedia constraints #677
Closed
jorginius closed 4 years ago
This PR (choose one or more, ✏️ delete others)
Please include a summary in Change Log: Unreleased and thank yourself.
Describe the changes below:
This patch allows to pass constraint arguments to getUserMedia() via startMediaStream():
https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints