Skip to content

Commit

Permalink
Remove progress event
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanseddon committed Nov 28, 2024
1 parent 6bdbf3c commit f95f41d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/ffmpeg-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ export const FFmpegProvider: React.FC<{

try {
const ffmpeg = await loadFFmpeg();
ffmpeg.on("progress", ({ progress, time }) => {
console.log(time, progress);
});

ffmpeg.on("log", ({ type, message }) => {
console.log(type, message);
});
Expand All @@ -59,7 +57,6 @@ export const FFmpegProvider: React.FC<{
const objURL = URL.createObjectURL(
new Blob([data.buffer], { type: fileType })
);
console.log(objURL);

return objURL;
};
Expand Down

0 comments on commit f95f41d

Please sign in to comment.