Browse Source

ref(XMPPEvents): remove PEERCONNECTION_READY

dev1
paweldomas 5 years ago
parent
commit
666c1400e0
2 changed files with 0 additions and 2 deletions
  1. 0
    1
      modules/xmpp/JingleSessionPC.js
  2. 0
    1
      service/xmpp/XMPPEvents.js

+ 0
- 1
modules/xmpp/JingleSessionPC.js View File

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

+ 0
- 1
service/xmpp/XMPPEvents.js View File

175
      */
175
      */
176
     PARTCIPANT_FEATURES_CHANGED: 'xmpp.partcipant_features_changed',
176
     PARTCIPANT_FEATURES_CHANGED: 'xmpp.partcipant_features_changed',
177
     PASSWORD_REQUIRED: 'xmpp.password_required',
177
     PASSWORD_REQUIRED: 'xmpp.password_required',
178
-    PEERCONNECTION_READY: 'xmpp.peerconnection_ready',
179
 
178
 
180
     /**
179
     /**
181
      * Indicates that phone number changed.
180
      * Indicates that phone number changed.

Loading…
Cancel
Save