Skip to content

Commit

Permalink
hotfix: 멀티스레딩 개수 제한
Browse files Browse the repository at this point in the history
  • Loading branch information
milk717 committed Feb 24, 2024
1 parent 3bdc227 commit ebe0d48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SelectedQuestion } from '@/atoms/interviewSetting';
import React, { MutableRefObject } from 'react';
import { toast } from '@foundation/Toast/toast';
import { FFmpeg } from '@ffmpeg/ffmpeg';
import { toBlobURL, fetchFile } from '@ffmpeg/util';
import { fetchFile, toBlobURL } from '@ffmpeg/util';
import { isAndroid, isIOSUser } from '@/utils/userAgent';
import { FFMPEG_URL } from '@constants/api';

Expand Down Expand Up @@ -191,6 +191,8 @@ export const EncodingWebmToMp4 = async (blob: Blob, recordTime: string) => {
'640x360',
'-r',
'30', // 프레임 레이트 설정: 30fps
'-threads',
'4',
'output.mp4', // 출력 파일
]);

Expand Down

0 comments on commit ebe0d48

Please sign in to comment.