-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
Description
The following error is thrown by SdkImpl.prototype.onAddTrack:
videojs-ima/src/dai/sdk-impl.js
Lines 134 to 146 in 187056e
| SdkImpl.prototype.onAddTrack = function(event) { | |
| const track = event.track; | |
| if (track.kind === 'metadata') { | |
| track.mode = 'hidden'; | |
| track.addEventListener('cuechange', (e) => { | |
| for (const cue of track.activeCues_) { | |
| const metadata = {}; | |
| metadata[cue.value.key] = cue.value.data; | |
| this.streamManager.onTimedMetadata(metadata); | |
| } | |
| }); | |
| } | |
| }; |
And the root cause is a typo on this line:
videojs-ima/src/dai/sdk-impl.js
Line 139 in 187056e
| for (const cue of track.activeCues_) { |
where it should be track.activeCues instead.
Reactions are currently unavailable