Skip to content

Commit

Permalink
fix: Fix mangled property in compiled mode in Content Steering (shaka…
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored and Rodolphe Breton committed Nov 30, 2023
1 parent 0df0dac commit 71f7c4b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/util/content_steering_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ shaka.util.ContentSteeringManager = class {
this.updateTimer_ = new shaka.util.Timer(() => {
this.requestInfo(uri);
});
if (manifest.TTL) {
this.lastTTL_ = manifest.TTL;
const newTTL = manifest['TTL'];
if (newTTL) {
this.lastTTL_ = newTTL;
}
this.updateTimer_.tickAfter(this.lastTTL_);
this.pathwayPriority_ = manifest['PATHWAY-PRIORITY'] || [];
Expand Down

0 comments on commit 71f7c4b

Please sign in to comment.