Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed Jun 22, 2020
1 parent 1724ceb commit 2657730
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/segment-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1465,6 +1465,10 @@ export default class SegmentLoader extends videojs.EventTarget {
changed = true;
}

// Note: if mux.js reports only audio or
// only video for a segment, when they are muxed
// we may trigger a trackinfo update that is only
// audio/video
if (changed) {
this.logger_('trackinfo update', trackInfo);
this.trigger('trackinfo');
Expand Down

0 comments on commit 2657730

Please sign in to comment.