Removes unused and not working method.

This commit is contained in:
damencho 2016-01-15 13:51:07 -06:00
parent 0adc0e4333
commit d8d3fac1a5
1 changed files with 0 additions and 16 deletions

View File

@ -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 <tt>null</tt> 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;