Skip to content

Commit

Permalink
fix: getPresentationStartTimeAsDate() should return time unaffected…
Browse files Browse the repository at this point in the history
… by clock drift (#6790)

For our Seek To Date feature, we need the presentation start date
directly from the manifest since all of the client’s key play times are
based directly on the `availabilityStartTime` from the manifest
directly.
  • Loading branch information
tykus160 authored Jun 11, 2024
1 parent c72493a commit 0820491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/media/presentation_timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ shaka.media.PresentationTimeline = class {
this.startTimeLocked_ = false;

/** @private {?number} */
this.initialProgramDateTime_ = null;
this.initialProgramDateTime_ = presentationStartTime;
}


Expand Down

0 comments on commit 0820491

Please sign in to comment.