ios语音合成sdk 离线引擎设置问题
Ta的回复 :fang4096: 使用开放平台申请的appid,传入离线引擎,通过启动函数。 回复fang4096: 我在文档里面看到离线引擎设置 NSError* ret=[[BDSSpeechSynthesizer sharedInstance] loadOfflineEngine: @"text data file path" speechDataPath:@”speech data file path” licenseFilePath:@ "license file path" withAppCode: @"your-appcode" ]; 我对demo进行两种修改: 1、license file path设为开放平台申请的appid,提示License does not exist。Invalid license file path or app ID; 2、license file path设为nil,your-appcode设为开放平台申请的appid,但是提示get offline TTS license from server failed with error 2; 能否提供正确设置离线引擎的代码示例?