Closed
Description
Using latest master
branch, we are failing these assertions in player.js
on Chrome Linux with the default test asset ("Angel One"):
if (streams[ContentType.AUDIO] || streams[ContentType.VIDEO]) {
var audio = streams[ContentType.AUDIO] || null;
var video = streams[ContentType.VIDEO] || null;
variant = this.findVariantByStreams_(period, audio, video);
goog.asserts.assert(variant != null, 'Should not be null!');
}
var playerActive = this.activeStreamsByPeriod_[currentPeriodIndex] || {};
for (var type in streamingActive) {
var activeId = streamingActive[type].id;
if (this.deferredSwitches_[type])
activeId = this.deferredSwitches_[type].stream.id;
goog.asserts.assert(activeId == playerActive[type],
'Inconsistent active stream');
}
This is not happening in v2.1.5.