|
@@ -312,7 +312,13 @@ SDPUtil = {
|
312
|
312
|
line += ' ';
|
313
|
313
|
line += cand.getAttribute('component');
|
314
|
314
|
line += ' ';
|
315
|
|
- line += cand.getAttribute('protocol'); //.toUpperCase(); // chrome M23 doesn't like this
|
|
315
|
+
|
|
316
|
+ var protocol = cand.getAttribute('protocol');
|
|
317
|
+ // use tcp candidates for FF
|
|
318
|
+ if (RTCBrowserType.isFirefox() && protocol.toLowerCase() == 'ssltcp') {
|
|
319
|
+ protocol = 'tcp';
|
|
320
|
+ }
|
|
321
|
+
|
316
|
322
|
line += ' ';
|
317
|
323
|
line += cand.getAttribute('priority');
|
318
|
324
|
line += ' ';
|
|
@@ -339,7 +345,7 @@ SDPUtil = {
|
339
|
345
|
}
|
340
|
346
|
break;
|
341
|
347
|
}
|
342
|
|
- if (cand.getAttribute('protocol').toLowerCase() == 'tcp') {
|
|
348
|
+ if (protocol.toLowerCase() == 'tcp') {
|
343
|
349
|
line += 'tcptype';
|
344
|
350
|
line += ' ';
|
345
|
351
|
line += cand.getAttribute('tcptype');
|