fix: convert recording to mp3

This commit is contained in:
jialin
2024-12-16 18:35:03 +08:00
parent b16ae64105
commit 57a1af9392
5 changed files with 98 additions and 439 deletions
@@ -192,7 +192,6 @@ const GroundLeft: React.FC<MessageProps> = forwardRef((props, ref) => {
duration: number;
type: string;
}) => {
console.log('handleOnAudioData===========', data);
setAudioData(() => {
return {
url: data.url,
@@ -232,7 +231,6 @@ const GroundLeft: React.FC<MessageProps> = forwardRef((props, ref) => {
setAudioData(null);
setTokenResult(null);
setMessageList([]);
console.log('handleOnRecord============', val);
}, []);
const handleOnGenerate = async () => {