Updates app.bundle.js with latest sdp-interop module.

This commit is contained in:
George Politis 2015-03-09 11:09:16 +01:00
parent 17a6e360a2
commit e34a8e6b60
2 changed files with 18 additions and 8 deletions

View File

@ -19,7 +19,7 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib --> <script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib --> <script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=5"></script> <script src="interface_config.js?v=5"></script>
<script src="libs/app.bundle.js?v=29"></script> <script src="libs/app.bundle.js?v=30"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin --> <script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=6"/> <link rel="stylesheet" href="css/font.css?v=6"/>
<link rel="stylesheet" href="css/toastr.css?v=1"> <link rel="stylesheet" href="css/toastr.css?v=1">

View File

@ -25638,7 +25638,7 @@ module.exports = function arrayEquals(array) {
exports.Interop = require('./interop'); exports.Interop = require('./interop');
},{"./interop":81}],81:[function(require,module,exports){ },{"./interop":81}],81:[function(require,module,exports){
var transform = require('./sdp-transform'); var transform = require('./transform');
var arrayEquals = require('./array-equals'); var arrayEquals = require('./array-equals');
function Interop() { } function Interop() { }
@ -26029,17 +26029,27 @@ Interop.prototype.toPlanA = function(desc) {
}); });
} else { } else {
// Add all the m-lines that are in both the cached and the transformed // SDP offer/answer (and the JSEP spec) forbids removing an m-section
// SDP in the order of the cached SDP. We take the intersection because // under any circumstances. If we are no longer interested in sending a
// don't want to add m-lines from the cached SDP that have been removed // track, we just remove the msid and ssrc attributes and set it to
// from the transformed SDP. // either a=recvonly (as the reofferer, we must use recvonly if the
// other side was previously sending on the m-section, but we can also
// leave the possibility open if it wasn't previously in use), or
// a=inacive.
if (typeof cached !== 'undefined' && if (typeof cached !== 'undefined' &&
typeof cached.media !== 'undefined' && typeof cached.media !== 'undefined' &&
Array.isArray(cached.media)) { Array.isArray(cached.media)) {
cached.media.forEach(function(pm) { cached.media.forEach(function(pm) {
mids.push(pm.mid);
if (typeof media[pm.mid] !== 'undefined') { if (typeof media[pm.mid] !== 'undefined') {
mids.push(pm.mid);
session.media.push(media[pm.mid]); session.media.push(media[pm.mid]);
} else {
delete pm.msid;
delete pm.sources;
// TODO(gp) delete ssrc-groups
pm.direction = 'recvonly';
session.media.push(pm);
} }
}); });
} }
@ -26082,7 +26092,7 @@ Interop.prototype.toPlanA = function(desc) {
//#endregion //#endregion
}; };
},{"./array-equals":79,"./sdp-transform":82}],82:[function(require,module,exports){ },{"./array-equals":79,"./transform":82}],82:[function(require,module,exports){
var transform = require('sdp-transform'); var transform = require('sdp-transform');
exports.write = function(session, opts) { exports.write = function(session, opts) {