Compare commits
No commits in common. "72a42c8836a32d6f64c48515184007f3a757b7eb" and "aa58f13e7ecb6ffe86bb53a73456a4d2a6085285" have entirely different histories.
72a42c8836
...
aa58f13e7e
|
|
@ -568,8 +568,7 @@ const Meeting: React.FC = () => {
|
||||||
reader.onload = async () => {
|
reader.onload = async () => {
|
||||||
const setting = await JSON.parse(storage.getItem('setting') as string)
|
const setting = await JSON.parse(storage.getItem('setting') as string)
|
||||||
const buffer = Buffer.from(reader.result);
|
const buffer = Buffer.from(reader.result);
|
||||||
const mp4Path = `${setting.recordingFilesPath}会议录制_${state.roomName}_${state.channelId}_${dayjs().format('YYYY年MM月DD日HH时mm分')}.webm`;
|
await fs.writeFile(`${setting.recordingFilesPath}会议录制_${state.roomName}_${state.channelId}_${+new Date()}.webm`, buffer, {});
|
||||||
await fs.writeFile(mp4Path, buffer, {});
|
|
||||||
confirm({
|
confirm({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
icon: <ExclamationCircleFilled />,
|
icon: <ExclamationCircleFilled />,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue