|
|
@@ -54,15 +54,13 @@ module.exports = function(XMPP, eventEmitter) {
|
|
54
|
54
|
this.connection.disco.addFeature('urn:ietf:rfc:4588');
|
|
55
|
55
|
}
|
|
56
|
56
|
|
|
57
|
|
- // this is dealt with by SDP O/A so we don't need to annouce this
|
|
|
57
|
+ // this is dealt with by SDP O/A so we don't need to announce this
|
|
58
|
58
|
//this.connection.disco.addFeature('urn:xmpp:jingle:apps:rtp:rtcp-fb:0'); // XEP-0293
|
|
59
|
59
|
//this.connection.disco.addFeature('urn:xmpp:jingle:apps:rtp:rtp-hdrext:0'); // XEP-0294
|
|
60
|
|
- if (config.useRtcpMux) {
|
|
61
|
|
- this.connection.disco.addFeature('urn:ietf:rfc:5761'); // rtcp-mux
|
|
62
|
|
- }
|
|
63
|
|
- if (config.useBundle) {
|
|
64
|
|
- this.connection.disco.addFeature('urn:ietf:rfc:5888'); // a=group, e.g. bundle
|
|
65
|
|
- }
|
|
|
60
|
+
|
|
|
61
|
+ this.connection.disco.addFeature('urn:ietf:rfc:5761'); // rtcp-mux
|
|
|
62
|
+ this.connection.disco.addFeature('urn:ietf:rfc:5888'); // a=group, e.g. bundle
|
|
|
63
|
+
|
|
66
|
64
|
//this.connection.disco.addFeature('urn:ietf:rfc:5576'); // a=ssrc
|
|
67
|
65
|
}
|
|
68
|
66
|
this.connection.addHandler(this.onJingle.bind(this), 'urn:xmpp:jingle:1', 'iq', 'set', null, null);
|