Bläddra i källkod

Supports tcptype in jingle to sdp conversion.

j8
Boris Grozev 10 år sedan
förälder
incheckning
1148deef0d
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6
    0
      libs/strophe/strophe.jingle.sdp.util.js

+ 6
- 0
libs/strophe/strophe.jingle.sdp.util.js Visa fil

391
                 }
391
                 }
392
                 break;
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
         line += 'generation';
400
         line += 'generation';
395
         line += ' ';
401
         line += ' ';
396
         line += cand.getAttribute('generation') || '0';
402
         line += cand.getAttribute('generation') || '0';

Laddar…
Avbryt
Spara