Updates app.bundle.js with latest sdp-interop module.
This commit is contained in:
parent
17a6e360a2
commit
e34a8e6b60
|
@ -19,7 +19,7 @@
|
|||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||
<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 -->
|
||||
<link rel="stylesheet" href="css/font.css?v=6"/>
|
||||
<link rel="stylesheet" href="css/toastr.css?v=1">
|
||||
|
|
|
@ -25638,7 +25638,7 @@ module.exports = function arrayEquals(array) {
|
|||
exports.Interop = require('./interop');
|
||||
|
||||
},{"./interop":81}],81:[function(require,module,exports){
|
||||
var transform = require('./sdp-transform');
|
||||
var transform = require('./transform');
|
||||
var arrayEquals = require('./array-equals');
|
||||
|
||||
function Interop() { }
|
||||
|
@ -26029,17 +26029,27 @@ Interop.prototype.toPlanA = function(desc) {
|
|||
});
|
||||
} else {
|
||||
|
||||
// Add all the m-lines that are in both the cached and the transformed
|
||||
// SDP in the order of the cached SDP. We take the intersection because
|
||||
// don't want to add m-lines from the cached SDP that have been removed
|
||||
// from the transformed SDP.
|
||||
// SDP offer/answer (and the JSEP spec) forbids removing an m-section
|
||||
// under any circumstances. If we are no longer interested in sending a
|
||||
// track, we just remove the msid and ssrc attributes and set it to
|
||||
// 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' &&
|
||||
typeof cached.media !== 'undefined' &&
|
||||
Array.isArray(cached.media)) {
|
||||
cached.media.forEach(function(pm) {
|
||||
mids.push(pm.mid);
|
||||
if (typeof media[pm.mid] !== 'undefined') {
|
||||
mids.push(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
|
||||
};
|
||||
|
||||
},{"./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');
|
||||
|
||||
exports.write = function(session, opts) {
|
||||
|
|
Loading…
Reference in New Issue