由于我这几天有远程控制的需求,在试用远程控制产品的时候远控端没有声音,于是给该产品的售后发了工单,两天都没有解决,一气之下自己读日志解决了问题wdnmd
2021-02-23 11:48:42.874 - Info - version:11.0.0.33826 @ 1049
2021-02-23 11:48:42.934 - Info - Initialize OK
2021-02-23 11:48:42.935 - Info - CAcceptorRaw::set_listener
2021-02-23 11:48:42.935 - Info - Plugin soundv1 is starting...
2021-02-23 11:48:42.935 - Info - [audio] create audio ctrl raw
2021-02-23 11:48:42.935 - Info - attempt to connect server 127.0.0.1:64688(127.0.0.1:64688)
2021-02-23 11:48:42.936 - Info - [audio] run plugin: sound
2021-02-23 11:48:42.964 - Info - [audio] try initialize capture
2021-02-23 11:48:42.965 - Info - [audio] start capture voice.
2021-02-23 11:48:43.022 - Info - [audio] initialize caputre error, error: -2004287480
2021-02-23 11:49:00.429 - Info - [audio] stop capture voice.
2021-02-23 11:49:01.508 - Info - [audio] start capture voice.
2021-02-23 11:49:07.014 - Info - [audio] stop capture voice.
2021-02-23 11:49:07.972 - Info - [audio] start capture voice.
2021-02-23 11:49:17.481 - Info - [audio] stop capture voice.
2021-02-23 11:49:18.067 - Info - Plugin soundv1 is stoped
2021-02-23 11:49:18.067 - Info - [CUDPLibWrapper] map size: 0, value:
2021-02-23 11:49:18.068 - Info - Terminate OK
2021-02-23 11:49:18.068 - Info - Terminate OK
2021-02-23 11:49:18.069 - Info - [audio] destroy audio ctrl raw
这是一种常见的与音频有关的错误代码,通常来说是因为录音格式与程序要求不符合,可以通过改变音频输出格式来解决:
- 常见格式:
- framesize=480, samplerate=48000,bitspersample=16.