Skip to content

Commit

Permalink
fix(project): fix live stream duration check for ott plugin (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLantukh authored Mar 14, 2024
1 parent 6a291a7 commit 69eff3c
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 69eff3c

Please sign in to comment.