Skip to content

Commit

Permalink
fix(project): fix live stream duration check for ott plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLantukh committed Mar 12, 2024
1 parent 6a291a7 commit 44666c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions platforms/web/public/jwpltx.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,9 @@ window.jwpltx = window.jwpltx || {};
return;
}

// 0 or negative vd means live stream
if (vd < 1) {
// 0 or negative vd - Live Stream with DVR
// Infinity -> Live Stream without DVR
if (vd < 1 || vd === Infinity) {
// Initial tick means play() event
if (!uri.pw) {
uri.vd = 0;
Expand Down

0 comments on commit 44666c5

Please sign in to comment.