From d8d3fac1a5760205587831bd378d162282323433 Mon Sep 17 00:00:00 2001 From: damencho Date: Fri, 15 Jan 2016 13:51:07 -0600 Subject: [PATCH] Removes unused and not working method. --- modules/xmpp/xmpp.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/modules/xmpp/xmpp.js b/modules/xmpp/xmpp.js index 74514c916..4daec8f61 100644 --- a/modules/xmpp/xmpp.js +++ b/modules/xmpp/xmpp.js @@ -305,20 +305,4 @@ XMPP.prototype.disconnect = function () { this.connection.disconnect(); }; -/** - * Gets the SSRC of local media stream. - * @param mediaType the media type that tells whether we want to get - * the SSRC of local audio or video stream. - * @returns {*} the SSRC number for local media stream or null if - * not available. - */ -XMPP.prototype.getLocalSSRC = function (mediaType) { - if (this.connection.jingle.activecall && - this.connection.jingle.activecall.peerconnection) { - return this.connection.jingle.activecall.getLocalSSRC(mediaType); - } else { - return null; - } -}; - module.exports = XMPP;