|
@@ -353,7 +353,9 @@
|
|
navigator.mediaDevices.getDisplayMedia({
|
|
navigator.mediaDevices.getDisplayMedia({
|
|
displaySurface: 'monitor',
|
|
displaySurface: 'monitor',
|
|
logicalSurface: true,
|
|
logicalSurface: true,
|
|
- cursor: 'always'
|
|
|
|
|
|
+ cursor: 'always',
|
|
|
|
+ video: true,
|
|
|
|
+ audio: true
|
|
}).then(function(camera) {
|
|
}).then(function(camera) {
|
|
callback(camera);
|
|
callback(camera);
|
|
}).catch(function(error) {
|
|
}).catch(function(error) {
|