Skip to content

Failing assertions during playback #954

Closed
@joeyparrish

Description

@joeyparrish

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.

Metadata

Metadata

Assignees

Labels

status: archivedArchived and locked; will not be updatedtype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions