Bläddra i källkod

fix(JitsiTrack): Remove func that's no longer used.

release-8443
Jaya Allamsetty 1 år sedan
förälder
incheckning
a419b4ebc8

+ 0
- 8
modules/RTC/JitsiLocalTrack.js Visa fil

@@ -518,14 +518,6 @@ export default class JitsiLocalTrack extends JitsiTrack {
518 518
      */
519 519
     _setStream(stream) {
520 520
         super._setStream(stream);
521
-
522
-        if (stream) {
523
-            // Store the MSID for video mute/unmute purposes.
524
-            this.storedMSID = this.getMSID();
525
-            logger.debug(`Setting new MSID: ${this.storedMSID} on ${this}`);
526
-        } else {
527
-            logger.debug(`Setting 'null' stream on ${this}`);
528
-        }
529 521
     }
530 522
 
531 523
     /**

+ 0
- 11
modules/RTC/JitsiTrack.js Visa fil

@@ -276,17 +276,6 @@ export default class JitsiTrack extends EventEmitter {
276 276
         return this.getStreamId();
277 277
     }
278 278
 
279
-    /**
280
-     * Returns the msid of the stream attached to the JitsiTrack object or null
281
-     * if no stream is attached.
282
-     */
283
-    getMSID() {
284
-        const streamId = this.getStreamId();
285
-        const trackId = this.getTrackId();
286
-
287
-        return streamId && trackId ? `${streamId} ${trackId}` : null;
288
-    }
289
-
290 279
     /**
291 280
      * Returns the WebRTC MediaStream instance.
292 281
      */

+ 0
- 1
types/hand-crafted/modules/RTC/JitsiTrack.d.ts Visa fil

@@ -27,7 +27,6 @@ export default class JitsiTrack extends EventEmitter {
27 27
   getId: () => string | null;
28 28
   isActive: () => boolean;
29 29
   setAudioLevel: ( audioLevel: number, tpc: TraceablePeerConnection ) => void;
30
-  getMSID: () => string | null;
31 30
   setAudioOutput: ( audioOutputDeviceId: '' | string ) => Promise<unknown>; // TODO: what will this promise contain?
32 31
   addEventListener: (type: string, listener: (event: any) => void) => void;
33 32
 }

Laddar…
Avbryt
Spara