dekstopAudioStream --> desktopAudioStream
This commit is contained in:
Rokixy 2021-12-10 13:33:16 +08:00 committed by Дамян Минков
parent e6accd40e1
commit 076113940b
1 changed files with 3 additions and 3 deletions

View File

@ -1711,10 +1711,10 @@ export default {
= this._turnScreenSharingOff.bind(this, didHaveVideo); = this._turnScreenSharingOff.bind(this, didHaveVideo);
const desktopVideoStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.VIDEO); const desktopVideoStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.VIDEO);
const dekstopAudioStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.AUDIO); const desktopAudioStream = desktopStreams.find(stream => stream.getType() === MEDIA_TYPE.AUDIO);
if (dekstopAudioStream) { if (desktopAudioStream) {
dekstopAudioStream.on( desktopAudioStream.on(
JitsiTrackEvents.LOCAL_TRACK_STOPPED, JitsiTrackEvents.LOCAL_TRACK_STOPPED,
() => { () => {
logger.debug(`Local screensharing audio track stopped. ${this.isSharingScreen}`); logger.debug(`Local screensharing audio track stopped. ${this.isSharingScreen}`);