Supports tcptype in jingle to sdp conversion.

This commit is contained in:
Boris Grozev 2014-10-14 13:52:32 +03:00
parent e380f88c77
commit 1148deef0d
1 changed files with 6 additions and 0 deletions

View File

@ -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';