msc.cfg 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. ## Copyright (C) 2001-2010 iFLYTEK.
  2. ## Use ';' and '#' character for notation
  3. ## Note: Commands in this cfg file is case sensitive
  4. [local]
  5. timeout = 15000
  6. pre_connect = 0
  7. search_best_url = 0
  8. upload_info = 1
  9. [aiui]
  10. #aiui_sync_url = http://172.16.154.43:8080/sync/v1/upload.do
  11. #aiui_third_url = http://172.16.154.10:8080/sync/v1/syncthird.do
  12. #aiui_prs_url = http://172.16.154.17:1289/aiui/prs/app/v1/upload.do
  13. #aiui_opsync_url = https://172.16.154.21:443/athena/opsync
  14. ##����
  15. #aiui_up_url = http://aiui.openspeech.cn:1032/aiui/v1/upload.do
  16. #aiui_pushnode_url = http://aiui.openspeech.cn:80/aiui/v1/pushnode.do
  17. #aiui_chid_url = https://aiui.openspeech.cn:443/v1.1/server/register
  18. ##���Ի���
  19. #aiui_up_url = http://172.16.154.43:1032/aiui/v1/upload.do
  20. #aiui_pushnode_url = http://172.16.154.43:80/aiui/v1/pushnode.do
  21. #aiui_chid_url = http://172.16.154.43:443/v1.1/server/register
  22. ##aiui��־
  23. #no_sessinfodata = 1
  24. sessinfodata = sessinfo.txt
  25. ##�����ʱʱ��
  26. rslt_timeout = 5000
  27. ##��ȡchid��ʱ
  28. chid_timeout = 3000
  29. ##��ȡpushnode��ʱ
  30. pushnode_timeout = 3000
  31. ##������������û���յ���������Ӧ������ʱ��
  32. down_stream_timeout = 20000
  33. ##��������һ��ʱ��û��������Ͽ�����
  34. up_stream_req_timeout = 50000
  35. ##��������һ��ʱ��û���յ���Ӧ�����������ӵ���Ϣ�����л�����Ϣ�ڵȴ���Ӧ���ؽ�����
  36. up_stream_resp_timeout = 3000
  37. ##����������ʱ��һ��ʱ��û�����ݣ�����һ��������
  38. heart_beat_timeout = 15000
  39. ##׼����ʱ����������һ��ʱ��֮�ڣ���ʹ�Ѿ�׼�����ˣ�Ҳ��ҵ�����Ϊû��׼���ã����ڲ����װ���ѹ����
  40. ready_delay_timeout = 1
  41. ##��ȡchid�쳣ʱ����ʱһ��ʱ���ٴ�����
  42. chid_delay_reset_timeout = 3000
  43. ##��ȡpushnode�쳣ʱ����ʱһ��ʱ���ٴ�����
  44. pushnode_delay_reset_timeout = 3000
  45. ##��������һ��ʱ��û�����������»�ȡchid��pushnode��Ĭ��ֵ42000000��11Сʱ40���ӣ�
  46. reset_chid_pushnode_timeout = 42000000
  47. ##stmid_q�е�Ԫ�س�����ֵʱ����ǰ�濪ʼɾ�������������ô�����ͬ��stmidͬʱ������Ĭ��ֵ20
  48. stmid_q_max = 20
  49. [tts]
  50. ##�ϳ����������ı����ȣ���Χ(0, 4096]��Ĭ��ֵ1024��
  51. max_text_size = 1024
  52. ##��Ƶ��������С�����ڱ��غϳ�ʱ��Ч��Ϊÿ�η��ص���Ƶ���ݴ�С��
  53. buff_size = 8192
  54. [asr]
  55. ##�����Ƶ���ȣ���λByte����Χ(0, 1MB]��Ĭ��ֵ256KB
  56. max_audio_size = 262144
  57. ##��С��Ƶ���볤�ȣ���λByte����Χ(0, max_audio_size]��Ĭ��ֵ5KB
  58. coding_chunk_size = 5120
  59. ##�Ƿ�ʹ��VAD���ж˵�����߽���
  60. vad_enable = true
  61. ##��Ƶ�����㷨��ģʽ��audio_coding��coding_levelȡֵ��Χ���±���ʾ��Ĭ��ֵ�ֱ�Ϊspeex-wb��7��
  62. # ----------------------------------
  63. # | audio_coding | coding_level |
  64. # ----------------------------------
  65. # | speex | 0-10 |
  66. # | speex-wb | 0-10 |
  67. # | raw | ��Ч |
  68. # ----------------------------------
  69. audio_coding = speex-wb
  70. coding_level = 7
  71. [hcr]
  72. ##������ݳ��ȣ���λByte����Χ(0, 16KB]��Ĭ��ֵ8KB
  73. max_data_size = 8192
  74. [isv]
  75. ##�����Ƶ���ȣ���λByte����Χ(0, 2MB]��Ĭ��ֵ512KB
  76. max_audio_size = 524288
  77. ##��С��Ƶ���볤�ȣ���λByte����Χ(0, max_audio_size]��Ĭ��ֵ5KB
  78. coding_chunk_size = 5120
  79. ##��Ƶ�����㷨��ģʽ��audio_coding��coding_levelȡֵ��Χ���Բο�asr��
  80. audio_coding = speex-wb
  81. coding_level = 7
  82. [logger]
  83. ##����û�ָ������־�ļ�·����Ч����ôMSC�������н������¼��־��Ϣ
  84. file = msc.log
  85. title = Mobile Speech Client
  86. level = -1
  87. output = 1
  88. filter = -1
  89. style = -1
  90. flush = 0
  91. maxsize = 104857600
  92. overwrite = 1
  93. maxfile =