mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +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
|
||||
* navigator.getUserMedia() with all provided parameters.
|
||||
* navigator.mediaDevices.getUserMedia() with all provided parameters.
|
||||
*
|
||||
* @type Function
|
||||
*/
|
||||
var getUserMedia = (navigator.getUserMedia
|
||||
var getUserMedia = (navigator.mediaDevices.getUserMedia
|
||||
|| navigator.getUserMedia
|
||||
|| navigator.webkitGetUserMedia
|
||||
|| navigator.mozGetUserMedia
|
||||
|| navigator.msGetUserMedia).bind(navigator);
|
||||
|
Reference in New Issue
Block a user