We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6739b1f commit 2fa803eCopy full SHA for 2fa803e
lib/dash/dash_parser.js
@@ -136,9 +136,11 @@ shaka.dash.DashParser = class {
136
this.contentSteeringManager_.configure(this.config_);
137
}
138
139
- this.periodCombiner_.setAllowMultiTypeVariants(
140
- this.config_.dash.multiTypeVariantsAllowed &&
141
- shaka.media.Capabilities.isChangeTypeSupported());
+ if (this.periodCombiner_) {
+ this.periodCombiner_.setAllowMultiTypeVariants(
+ this.config_.dash.multiTypeVariantsAllowed &&
142
+ shaka.media.Capabilities.isChangeTypeSupported());
143
+ }
144
145
146
/**
0 commit comments