Adds config.adaptiveSimulcast, a new bool option that optionally enables simulcast adaptivity.

pull/189/head 241
George Politis 10 years ago
parent 74f158128e
commit ee44ed5749
  1. 1
      config.js
  2. 2
      index.html
  3. 6
      libs/colibri/colibri.focus.js

@ -21,6 +21,7 @@ var config = {
openSctp: true, // Toggle to enable/disable SCTP channels
channelLastN: -1, // The default value of the channel attribute last-n.
adaptiveLastN: false,
adaptiveSimulcast: false,
useRtcpMux: true,
useBundle: true,
enableRecording: false,

@ -22,7 +22,7 @@
<script src="libs/strophe/strophe.jingle.sessionbase.js?v=1"></script>
<script src="libs/strophe/strophe.jingle.session.js?v=2"></script>
<script src="libs/strophe/strophe.util.js"></script>
<script src="libs/colibri/colibri.focus.js?v=10"></script><!-- colibri focus implementation -->
<script src="libs/colibri/colibri.focus.js?v=11"></script><!-- colibri focus implementation -->
<script src="libs/colibri/colibri.session.js?v=1"></script>
<script src="libs/jquery-ui.js"></script>
<script src="libs/rayo.js?v=1"></script>

@ -299,6 +299,9 @@ ColibriFocus.prototype._makeConference = function (errorCallback) {
if (config.adaptiveLastN) {
elemAttrs['adaptive-last-n'] = 'true';
}
if (config.adaptiveSimulcast) {
elemAttrs['adaptive-simulcast'] = 'true';
}
}
}
@ -848,6 +851,9 @@ ColibriFocus.prototype.addNewParticipant = function (peer) {
if (config.adaptiveLastN) {
elemAttrs['adaptive-last-n'] = 'true';
}
if (config.adaptiveSimulcast) {
elemAttrs['adaptive-simulcast'] = 'true';
}
}
}

Loading…
Cancel
Save