mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-237: Move to new getUserMedia method.
This commit is contained in:
@@ -183,11 +183,12 @@ Guacamole.RawAudioRecorder = function RawAudioRecorder(stream, mimetype) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A function which directly invokes the browser's implementation of
|
* A function which directly invokes the browser's implementation of
|
||||||
* navigator.getUserMedia() with all provided parameters.
|
* navigator.mediaDevices.getUserMedia() with all provided parameters.
|
||||||
*
|
*
|
||||||
* @type Function
|
* @type Function
|
||||||
*/
|
*/
|
||||||
var getUserMedia = (navigator.getUserMedia
|
var getUserMedia = (navigator.mediaDevices.getUserMedia
|
||||||
|
|| navigator.getUserMedia
|
||||||
|| navigator.webkitGetUserMedia
|
|| navigator.webkitGetUserMedia
|
||||||
|| navigator.mozGetUserMedia
|
|| navigator.mozGetUserMedia
|
||||||
|| navigator.msGetUserMedia).bind(navigator);
|
|| navigator.msGetUserMedia).bind(navigator);
|
||||||
|
Reference in New Issue
Block a user