jmessage-react-plugin icon indicating copy to clipboard operation
jmessage-react-plugin copied to clipboard

语音消息上传后扩展名丢失

Open hiscc opened this issue 5 years ago • 1 comments

录音插件是 'react-native-audio-recorder-player' 在录制时我指定文件类型为 m4a , 调用 JMessage.sendVoiceMessage 上传文件后扩展名消失了,导致文件类型不可知,无法播放成功

在目前的文档中也没有看到指定文件类型的参数

百度

hiscc avatar Feb 02 '20 08:02 hiscc

录音插件是 'react-native-audio-recorder-player' 在录制时我指定文件类型为 m4a , 调用 JMessage.sendVoiceMessage 上传文件后扩展名消失了,导致文件类型不可知,无法播放成功

在目前的文档中也没有看到指定文件类型的参数

百度

image

录音文件是这样的,修改类型后就是可以播放了,是因为我播放器不对还是说一开始录音就有问题呢?

hiscc avatar Feb 03 '20 09:02 hiscc