We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1becadf commit 48433abCopy full SHA for 48433ab
lib/media/streaming_engine.js
@@ -1672,7 +1672,7 @@ shaka.media.StreamingEngine = class {
1672
// See DASH sec. 5.10.3.3.1
1673
// If a DASH client detects an event message box with a scheme that is not
1674
// defined in MPD, the client is expected to ignore it.
1675
- if (emsgSchemeIdUris.includes(schemeId) ||
+ if ((emsgSchemeIdUris && emsgSchemeIdUris.includes(schemeId)) ||
1676
this.config_.dispatchAllEmsgBoxes) {
1677
// See DASH sec. 5.10.4.1
1678
// A special scheme in DASH used to signal manifest updates.
0 commit comments