瀏覽代碼

Remove broken isScreenSharing function. (#2057)

dev1
bgrozev 2 年之前
父節點
當前提交
c6d05e5b6c
No account linked to committer's email address
共有 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,14 +387,6 @@ export default class JitsiTrack extends EventEmitter {
387 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 391
      * Returns id of the track.
400 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,11 +196,6 @@ export default class JitsiTrack extends EventEmitter {
196 196
      * @returns {Promise}
197 197
      */
198 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 200
      * Returns id of the track.
206 201
      * @returns {string|null} id of the track or null if this is fake track.

Loading…
取消
儲存