Skip to content

Commit

Permalink
fix: seek to live action
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Sep 19, 2024
1 parent fa6ac52 commit b90880f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/media-store/request-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const requestMap: RequestMap = {
const key = 'mediaCurrentTime';
const value = stateMediator.mediaSeekable.get(stateOwners)?.[1];
// If we don't have a known seekable end (which represents the live edge), bail early
if (!Number.isNaN(Number(value))) return;
if (Number.isNaN(Number(value))) return;
stateMediator[key].set(value, stateOwners);
},
// Text Tracks state change requests
Expand Down

0 comments on commit b90880f

Please sign in to comment.