Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法上传录音 #4

Closed
wc7086 opened this issue Dec 26, 2022 · 1 comment
Closed

无法上传录音 #4

wc7086 opened this issue Dec 26, 2022 · 1 comment

Comments

@wc7086
Copy link

wc7086 commented Dec 26, 2022

开共有读写都没用,上传录音都是失败,以下是相关日志

[2022-12-26 23:46:08.283] [I]-[audioTask] wait LIB_AUDIO_PLAY_ENTRY
[2022-12-26 23:46:08.766] [I]-[reacrdStart] 正在通话中, 开始录音 result: nil
[2022-12-26 23:46:08.766] [I]-[record.delete]
[2022-12-26 23:46:08.797] [I]-[record.start] 50 FILE 2
[2022-12-26 23:46:12.186] [I]-[ril.proatc] +CIEV: "CALL",0
[2022-12-26 23:46:12.186] [I]-[ril.defurc] +CIEV: "CALL",0
[2022-12-26 23:46:12.186] 
[2022-12-26 23:46:12.186] +CIEV: "CALL",0
[2022-12-26 23:46:12.186] [I]-[ril.proatc] +CIEV: "SOUNDER",0
[2022-12-26 23:46:12.186] [I]-[ril.defurc] +CIEV: "SOUNDER",0
[2022-12-26 23:46:12.186] 
[2022-12-26 23:46:12.186] +CIEV: "SOUNDER",0
[2022-12-26 23:46:12.246] [I]-[ril.proatc] NO CARRIER
[2022-12-26 23:46:12.246] [I]-[ril.sendat] AT+CLCC
[2022-12-26 23:46:12.246] 
[2022-12-26 23:46:12.246] NO CARRIER
[2022-12-26 23:46:12.292] [I]-[ril.proatc] OK
[2022-12-26 23:46:12.292] [I]-[电话挂断回调] 挂断原因: NO CARRIER
[2022-12-26 23:46:12.292] [I]-[record.stop]
[2022-12-26 23:46:12.292] [I]-[audio.stop] nil
[2022-12-26 23:46:12.292] [I]-[record.MSG_RECORD] true nil FILE
[2022-12-26 23:46:12.292] [I]-[audio.stop] nil
[2022-12-26 23:46:12.292] [I]-[ril.sendat] AT+CHUP
[2022-12-26 23:46:12.292] [I]-[录音结束回调] 录音成功, 时长满足要求 result: true size: 55724 55724
[2022-12-26 23:46:12.356] [I]-[http path] /voice/record/86***********/2022/12/26/23-46-13/***********_1672069573.wav
[2022-12-26 23:46:12.356] [I]-[socket:connect-coreid,prot,addr,port,cert,timeout] 0 TCPSSL test-**********.cos.ap-*.myqcloud.com 443 nil 50
[2022-12-26 23:46:12.356] [I]-[ril.proatc] *CGEV: DEACT,6
[2022-12-26 23:46:12.356] [I]-[link.cgevurc] *CGEV: DEACT,6
[2022-12-26 23:46:12.356] 
[2022-12-26 23:46:12.356] *CGEV: DEACT,6
[2022-12-26 23:46:12.356] [I]-[ril.proatc] OK
[2022-12-26 23:46:12.356] [I]-[ril.sendat] AT+CLCC
[2022-12-26 23:46:12.417] [I]-[ril.proatc] OK
[2022-12-26 23:46:12.417] [I]-[电话挂断回调] 挂断原因: CHUP
[2022-12-26 23:46:12.417] [I]-[audio.stop] nil
[2022-12-26 23:46:13.040] [I]-[socket:on_response:] 0 SOCKET_CONNECT 0
[2022-12-26 23:46:13.040] [I]-[socket:connect: connect ok]
[2022-12-26 23:46:13.166] [I]-[socket:on_response:] 0 SOCKET_SEND 0
[2022-12-26 23:46:13.411] [I]-[socket:on_response:] 0 SOCKET_SEND 0
[2022-12-26 23:46:13.657] [I]-[socket:on_response:] 0 SOCKET_SEND 0
[2022-12-26 23:46:13.689] [I]-[socket.rtos.MSG_SOCK_CLOSE_IND]
[2022-12-26 23:46:13.689] [I]-[socket:send] send fail CLOSED
[2022-12-26 23:46:13.689] [E]-[http.response] false send file fail
[2022-12-26 23:46:13.689] [E]-[HTTP回调] 录音上传失败 https://test-**********.cos.ap-*.myqcloud.com/voice/record/86***********/2022/12/26
[2022-12-26 23:46:13.689] /23-46-13/***********_1672069573.wav false send file fail nil nil

还有储存桶配置

image

@wc7086
Copy link
Author

wc7086 commented Dec 26, 2022

: ) 原来是授权资源后面要加通配符,我蠢了

@wc7086 wc7086 closed this as completed Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant