Adds support for the openSctp and enableFirefoxHacks configuration params.

This commit is contained in:
George Politis 2014-12-05 16:29:59 +01:00
parent 5ba666de2e
commit cb8f57b3e3
1 changed files with 14 additions and 0 deletions

View File

@ -93,6 +93,20 @@ var Moderator = (function (my) {
{ name: 'adaptiveSimulcast', value: config.adaptiveSimulcast})
.up();
}
if (config.openSctp !== undefined)
{
elem.c(
'property',
{ name: 'openSctp', value: config.openSctp})
.up();
}
if (config.enableFirefoxSupport !== undefined)
{
elem.c(
'property',
{ name: 'enableFirefoxHacks', value: config.enableFirefoxSupport})
.up();
}
elem.up();
return elem;
};