浏览代码

Remove broken isScreenSharing function. (#2057)

dev1
bgrozev 2 年前
父节点
当前提交
c6d05e5b6c
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 0 次插入13 次删除
  1. 0
    8
      modules/RTC/JitsiTrack.js
  2. 0
    5
      types/auto/modules/RTC/JitsiTrack.d.ts

+ 0
- 8
modules/RTC/JitsiTrack.js 查看文件

387
         return Promise.resolve();
387
         return Promise.resolve();
388
     }
388
     }
389
 
389
 
390
-    /**
391
-     * Returns true if this is a video track and the source of the video is a
392
-     * screen capture as opposed to a camera.
393
-     */
394
-    isScreenSharing() {
395
-        // FIXME: Should be fixed or removed.
396
-    }
397
-
398
     /**
390
     /**
399
      * Returns id of the track.
391
      * Returns id of the track.
400
      * @returns {string|null} id of the track or null if this is fake track.
392
      * @returns {string|null} id of the track or null if this is fake track.

+ 0
- 5
types/auto/modules/RTC/JitsiTrack.d.ts 查看文件

196
      * @returns {Promise}
196
      * @returns {Promise}
197
      */
197
      */
198
     dispose(): Promise<any>;
198
     dispose(): Promise<any>;
199
-    /**
200
-     * Returns true if this is a video track and the source of the video is a
201
-     * screen capture as opposed to a camera.
202
-     */
203
-    isScreenSharing(): void;
204
     /**
199
     /**
205
      * Returns id of the track.
200
      * Returns id of the track.
206
      * @returns {string|null} id of the track or null if this is fake track.
201
      * @returns {string|null} id of the track or null if this is fake track.

正在加载...
取消
保存