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