From 1148deef0da886801fa5d44c7c44b5d80f299000 Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Tue, 14 Oct 2014 13:52:32 +0300 Subject: [PATCH] Supports tcptype in jingle to sdp conversion. --- libs/strophe/strophe.jingle.sdp.util.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/strophe/strophe.jingle.sdp.util.js b/libs/strophe/strophe.jingle.sdp.util.js index c7b244038..9585f23fe 100644 --- a/libs/strophe/strophe.jingle.sdp.util.js +++ b/libs/strophe/strophe.jingle.sdp.util.js @@ -391,6 +391,12 @@ SDPUtil = { } break; } + if (cand.getAttribute('protocol').toLowerCase() == 'tcp') { + line += 'tcptype'; + line += ' '; + line += cand.getAttribute('tcptype'); + line += ' '; + } line += 'generation'; line += ' '; line += cand.getAttribute('generation') || '0';