|
|
@@ -445,38 +445,6 @@ export default {
|
|
445
|
445
|
return getActiveAudioDevice();
|
|
446
|
446
|
},
|
|
447
|
447
|
|
|
448
|
|
- /**
|
|
449
|
|
- * Checks if its possible to enumerate available cameras/microphones.
|
|
450
|
|
- *
|
|
451
|
|
- * @returns {Promise<boolean>} a Promise which will be resolved only once
|
|
452
|
|
- * the WebRTC stack is ready, either with true if the device listing is
|
|
453
|
|
- * available available or with false otherwise.
|
|
454
|
|
- * @deprecated use JitsiMeetJS.mediaDevices.isDeviceListAvailable instead
|
|
455
|
|
- */
|
|
456
|
|
- isDeviceListAvailable() {
|
|
457
|
|
- logger.warn('This method is deprecated, use '
|
|
458
|
|
- + 'JitsiMeetJS.mediaDevices.isDeviceListAvailable instead');
|
|
459
|
|
-
|
|
460
|
|
- return this.mediaDevices.isDeviceListAvailable();
|
|
461
|
|
- },
|
|
462
|
|
-
|
|
463
|
|
- /**
|
|
464
|
|
- * Returns true if changing the input (camera / microphone) or output
|
|
465
|
|
- * (audio) device is supported and false if not.
|
|
466
|
|
- *
|
|
467
|
|
- * @param {string} [deviceType] - type of device to change. Default is
|
|
468
|
|
- * {@code undefined} or 'input', 'output' - for audio output device change.
|
|
469
|
|
- * @returns {boolean} {@code true} if available; {@code false}, otherwise.
|
|
470
|
|
- * @deprecated use JitsiMeetJS.mediaDevices.isDeviceChangeAvailable instead
|
|
471
|
|
- */
|
|
472
|
|
- isDeviceChangeAvailable(deviceType) {
|
|
473
|
|
- logger.warn('This method is deprecated, use '
|
|
474
|
|
- + 'JitsiMeetJS.mediaDevices.isDeviceChangeAvailable instead');
|
|
475
|
|
-
|
|
476
|
|
- return this.mediaDevices.isDeviceChangeAvailable(deviceType);
|
|
477
|
|
- },
|
|
478
|
|
-
|
|
479
|
|
-
|
|
480
|
448
|
/**
|
|
481
|
449
|
* Checks if the current environment supports having multiple audio
|
|
482
|
450
|
* input devices in use simultaneously.
|
|
|
@@ -496,18 +464,6 @@ export default {
|
|
496
|
464
|
return Statistics.audioLevelsEnabled && LocalStatsCollector.isLocalStatsSupported();
|
|
497
|
465
|
},
|
|
498
|
466
|
|
|
499
|
|
- /**
|
|
500
|
|
- * Executes callback with list of media devices connected.
|
|
501
|
|
- *
|
|
502
|
|
- * @param {function} callback
|
|
503
|
|
- * @deprecated use JitsiMeetJS.mediaDevices.enumerateDevices instead
|
|
504
|
|
- */
|
|
505
|
|
- enumerateDevices(callback) {
|
|
506
|
|
- logger.warn('This method is deprecated, use '
|
|
507
|
|
- + 'JitsiMeetJS.mediaDevices.enumerateDevices instead');
|
|
508
|
|
- this.mediaDevices.enumerateDevices(callback);
|
|
509
|
|
- },
|
|
510
|
|
-
|
|
511
|
467
|
/**
|
|
512
|
468
|
* Informs lib-jitsi-meet about the current network status.
|
|
513
|
469
|
*
|