Parcourir la source

ref(XMPPEvents): remove PEERCONNECTION_READY

dev1
paweldomas il y a 5 ans
Parent
révision
666c1400e0
2 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0
    1
      modules/xmpp/JingleSessionPC.js
  2. 0
    1
      service/xmpp/XMPPEvents.js

+ 0
- 1
modules/xmpp/JingleSessionPC.js Voir le fichier

@@ -549,7 +549,6 @@ export default class JingleSessionPC extends JingleSession {
549 549
             const state = this.peerconnection.signalingState;
550 550
             const remoteDescription = this.peerconnection.remoteDescription;
551 551
 
552
-            this.room.eventEmitter.emit(XMPPEvents.PEERCONNECTION_READY, this);
553 552
             if (browser.usesUnifiedPlan() && state === 'stable'
554 553
                 && remoteDescription && typeof remoteDescription.sdp === 'string') {
555 554
                 logger.debug(`onnegotiationneeded fired on ${this.peerconnection} in state: ${state}`);

+ 0
- 1
service/xmpp/XMPPEvents.js Voir le fichier

@@ -175,7 +175,6 @@ const XMPPEvents = {
175 175
      */
176 176
     PARTCIPANT_FEATURES_CHANGED: 'xmpp.partcipant_features_changed',
177 177
     PASSWORD_REQUIRED: 'xmpp.password_required',
178
-    PEERCONNECTION_READY: 'xmpp.peerconnection_ready',
179 178
 
180 179
     /**
181 180
      * Indicates that phone number changed.

Chargement…
Annuler
Enregistrer