diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-11-25 14:36:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-25 14:36:29 +0300 |
commit | 8fef2a68e7dd2c6a5537ce50f5fb8bca91eed68f (patch) | |
tree | 59f264c791b728d0098a6835eadad5a8c2277fe6 | |
parent | 9e504eb408b019b027c810084e6ef51d4d212b1e (diff) | |
parent | 7a2f1feaf3dca895dbb957b951b8af399019a61b (diff) |
Merge pull request #6615 from nextcloud/backport/6605/stable23
[stable23] Fix pending device not requested once current request finishes
-rw-r--r-- | src/utils/media/pipeline/MediaDevicesSource.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/media/pipeline/MediaDevicesSource.js b/src/utils/media/pipeline/MediaDevicesSource.js index 94457bc65..685b156d6 100644 --- a/src/utils/media/pipeline/MediaDevicesSource.js +++ b/src/utils/media/pipeline/MediaDevicesSource.js @@ -218,7 +218,7 @@ export default class MediaDevicesSource extends TrackSource { this._pendingAudioInputIdChangedCount = 0 if (audioInputIdChangedAgain) { - this._handleAudioInputIdChanged(mediaDevicesManager.get('audioInputId')) + this._handleAudioInputIdChanged(mediaDevicesManager, mediaDevicesManager.get('audioInputId')) } } @@ -281,7 +281,7 @@ export default class MediaDevicesSource extends TrackSource { this._pendingVideoInputIdChangedCount = 0 if (videoInputIdChangedAgain) { - this._handleVideoInputIdChanged(mediaDevicesManager.get('videoInputId')) + this._handleVideoInputIdChanged(mediaDevicesManager, mediaDevicesManager.get('videoInputId')) } } |