瀏覽代碼

typo fix

dekstopAudioStream --> desktopAudioStream
master
Rokixy 3 年之前
父節點
當前提交
076113940b
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      conference.js

+ 3
- 3
conference.js 查看文件

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

Loading…
取消
儲存