This commit is contained in:
yaooo 2023-11-03 14:30:57 +08:00
parent 1df5fe5d53
commit 76b75f566d

View File

@ -216,6 +216,7 @@ class XunFeiController extends BaseApiController
if (!in_array($ext, $extArray)) {
return $this->fail('录音格式错误');
}
// ********** 临时方案 ********** //
$encoding = 'raw';
if ($ext == 'mp3') {
$encoding = 'lame';