|
@@ -77,7 +77,7 @@ class MyAudioMediaPort(pj.AudioMediaPort):
|
|
|
if self.asr: # 如果ASR实例存在,则发送音频数据
|
|
|
if self.first:
|
|
|
self.first = False
|
|
|
- self.logger.info("Received audio frame: %s %s", frame.buf, frame.size)
|
|
|
+ self.call.logger.info("Received audio frame: %s %s", frame.buf, frame.size)
|
|
|
self.asr.send_audio(frame.buf)
|
|
|
|
|
|
try:
|