Parcourir la source

Supports tcptype in jingle to sdp conversion.

j8
Boris Grozev il y a 10 ans
Parent
révision
1148deef0d
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6
    0
      libs/strophe/strophe.jingle.sdp.util.js

+ 6
- 0
libs/strophe/strophe.jingle.sdp.util.js Voir le fichier

@@ -391,6 +391,12 @@ SDPUtil = {
391 391
                 }
392 392
                 break;
393 393
         }
394
+        if (cand.getAttribute('protocol').toLowerCase() == 'tcp') {
395
+            line += 'tcptype';
396
+            line += ' ';
397
+            line += cand.getAttribute('tcptype');
398
+            line += ' ';
399
+        }
394 400
         line += 'generation';
395 401
         line += ' ';
396 402
         line += cand.getAttribute('generation') || '0';

Chargement…
Annuler
Enregistrer