|
@@ -269,7 +269,7 @@ class XfAsr:
|
|
|
# print("send end tag success")
|
|
|
|
|
|
def send_audio(self, chunk):
|
|
|
- self.logger.warn('xunfei.Asr.send_audio: call_id: %s, chunk:%s, %s', self.tid, len(chunk), chunk)
|
|
|
+ self.logger.info('xunfei.Asr.send_audio: call_id: %s, chunk:%s, %s', self.tid, len(chunk), chunk)
|
|
|
if self.ws:
|
|
|
self.ws.send(chunk)
|
|
|
|
|
@@ -291,7 +291,7 @@ class XfAsr:
|
|
|
self.logger.info("xunfei.Asr.recv: receive result end call_id: %s", self.tid)
|
|
|
break
|
|
|
|
|
|
- self.logger.warn("xunfei.Asr.recv: call_id: %s, message :%s", self.tid, message)
|
|
|
+ self.logger.info("xunfei.Asr.recv: call_id: %s, message :%s", self.tid, message)
|
|
|
if self.message_receiver:
|
|
|
self.message_receiver(self.convert_message(message))
|
|
|
|