Commit 2361704a authored by wangxuelai's avatar wangxuelai

'录音时长5分钟修复'

parent c67d45cd
......@@ -42,7 +42,7 @@ Component({
time: 0,
upload: false
},
maxDuration: 180,
maxDuration: 300,
duration: 0,
voiceDuration: 0,
showAuthSettingDia: false
......@@ -153,7 +153,7 @@ Component({
wxAuthorize('scope.record').then(() => {
if (this.data.audioStatus.playStatus == 'no') {
recorderManager.start({
duration: 300000,
duration: that.data.maxDuration * 1000,
sampleRate: 8000,
numberOfChannels: 1,
encodeBitRate: 20000,
......
......@@ -43,7 +43,7 @@ Component({
time: 0,
upload: false
},
maxDuration: 180,
maxDuration: 300,
duration: 0,
voiceDuration: 0,
showAuthSettingDia: false
......@@ -138,7 +138,7 @@ Component({
wxAuthorize('scope.record').then(() => {
if (this.data.audioStatus.playStatus == 'no') {
recorderManager.start({
duration: 300000,
duration: that.data.maxDuration * 1000,
sampleRate: 8000,
numberOfChannels: 1,
encodeBitRate: 20000,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment