mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-22 00:49:37 +08:00
mp3
This commit is contained in:
parent
36205d2bcc
commit
77765a6215
@ -383,7 +383,7 @@ Page({
|
|||||||
sampleRate: 16000, //采样率,有效值 8000/16000/44100
|
sampleRate: 16000, //采样率,有效值 8000/16000/44100
|
||||||
numberOfChannels: 1, //录音通道数,有效值 1/2
|
numberOfChannels: 1, //录音通道数,有效值 1/2
|
||||||
encodeBitRate: 96000, //编码码率
|
encodeBitRate: 96000, //编码码率
|
||||||
format: 'wav', //音频格式,wav 支持ios、android
|
format: 'mp3', //音频格式,
|
||||||
// frameSize: 50, //指定帧大小
|
// frameSize: 50, //指定帧大小
|
||||||
// audioSource: 'auto' //指定录音的音频输入源,可通过 wx.getAvailableAudioSources() 获取
|
// audioSource: 'auto' //指定录音的音频输入源,可通过 wx.getAvailableAudioSources() 获取
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user