chore: mp3 converter exec load after init

This commit is contained in:
jialin
2024-12-12 19:33:02 +08:00
parent f6427c50f2
commit 5360c3dbaf
@@ -347,6 +347,7 @@ const AudioInput: React.FC<AudioInputProps> = (props) => {
useEffect(() => {
ffmpeg.current = new FFmpeg();
ffmpeg.current.load?.();
return () => {
ffmpeg.current = null;
};