chore: mp3 converter exec load after init
This commit is contained in:
@@ -347,6 +347,7 @@ const AudioInput: React.FC<AudioInputProps> = (props) => {
|
||||
|
||||
useEffect(() => {
|
||||
ffmpeg.current = new FFmpeg();
|
||||
ffmpeg.current.load?.();
|
||||
return () => {
|
||||
ffmpeg.current = null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user