Skip to content

Commit

Permalink
Fix calculation of thumbnail timestamp for multiple periods (#3881)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy authored Feb 16, 2022
1 parent a854eef commit 9684cb2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/streaming/MediaPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1683,8 +1683,7 @@ function MediaPlayer() {
return;
}

const timeInPeriod = streamController.getTimeRelativeToStreamId(s, stream.getId());
return thumbnailController.provide(timeInPeriod, callback);
return thumbnailController.provide(s, callback);
}

/*
Expand Down

0 comments on commit 9684cb2

Please sign in to comment.