Skip to content

Commit

Permalink
fix: make isWebCodecsSupported return a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnsgn committed Apr 14, 2023
1 parent 0693ad0 commit e8420b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const isWebCodecsSupported = () =>
const isWebCodecsSupported =
typeof window !== "undefined" && typeof window.VideoEncoder === "function";

let link;
Expand Down

0 comments on commit e8420b9

Please sign in to comment.