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