...
|
...
|
@@ -625,9 +625,9 @@ class Almighty extends Api |
|
|
public function asrJson($filename){
|
|
|
define('DEMO_CURL_VERBOSE', false); // 打印curl debug信息
|
|
|
# 填写网页上申请的appkey 如 $apiKey="g8eBUMSokVB1BHGmgxxxxxx"
|
|
|
$API_KEY = "uY0rsLOomzKViI5n7EECQTIH";
|
|
|
$API_KEY = "Y1pLrrAmxDK2Kbqt2Tu1acIN";
|
|
|
# 填写网页上申请的APP SECRET 如 $secretKey="94dc99566550d87f8fa8ece112xxxxx"
|
|
|
$SECRET_KEY = "OBFNTUcia6IK70qNDmNzAwi4thYQr88l";
|
|
|
$SECRET_KEY = "0Vd4fXj2LObG30ui0QzYKKLVauGjQDET";
|
|
|
# 需要识别的文件
|
|
|
$AUDIO_FILE = preg_match("/^http(s)?:\\/\\/.+/",$filename) ? $filename : cdnurl($filename,true);
|
|
|
# 文件格式
|
...
|
...
|
|