Coder Social home page Coder Social logo

Comments (9)

cdfmlr avatar cdfmlr commented on July 28, 2024

分析了日志。注意到其中包含一次服务组重启,并且缺失 audioview 连接到 controller 的标志性日志:

muvtuber-muvtuberdriver-1  | 2023/06/02 02:49:27 INFO audioController websocket client connected remoteAddr=172.19.0.1:43926

推测是重启后前端的 audioview 因故未能自动重连服务器。可以尝试在 OBS 上,点击 来源 > audioview,然后刷新,强制其重新连接。


如果仍然无效,那我暂时无法判断问题来源,需要你帮助:

  1. externalsayer 是否有正确配置?
  2. 如果使用浏览器打开 http://127.0.0.1:51082/?controller=ws://127.0.0.1:51081/ 是否能正常播放声音?

关于日志中发现的其他问题:

  1. 你在日志中泄漏了 OpenAI key,如非有意为之,请尽快重置。
  2. ChatGPT 代理未正确配置。可以参考 README 相关部分进行配置。

from muvtuber.

darkpulie avatar darkpulie commented on July 28, 2024

extrenalsayer应该是正确配置了的
extrenalsayer内的config.yaml配置如下
image
muvtuberdriver内的config.yaml配置如下
image


1.OpenAI的Key和代理应该无关紧要,因为已经过期了,并且我看项目好像有另外一个聊天机器人是可以回复信息的,所以我没有去解决这个问题
2.我访问 http://127.0.0.1:51082/?controller=ws://127.0.0.1:51081/ 并不能听到声音
我的测试方式是:

进入直播间,发送一条弹幕
image
看到有回显之后,网页也没有听到声音

from muvtuber.

cdfmlr avatar cdfmlr commented on July 28, 2024

访问 http://127.0.0.1:51082/?controller=ws://127.0.0.1:51081/ 并不能听到声音

对 audioview 进行调试操作一般如下:

  1. 在浏览器访问该地址;
  2. 打开开发者工具(右键 > 检查);
  3. 开发者工具中选择「网络」,勾选「停用缓存」;
  4. 刷新页面;
  5. 看到一项名称 127.0.0.1,状态 101,类型 WebSocket 的请求,点击查看;
  6. 选择「消息」可以看到 WebSocket 通信的消息;
  7. 尝试发送弹幕,出发语音,观察是否收到 WebSocket 消息,同时注意「控制台」是否有错误日志输出。

如果一切正常,应该观察到的结果类似于:

websocket 消息流截图 控制台日志截图

1.OpenAI的Key和代理应该无关紧要,因为已经过期了,并且我看项目好像有另外一个聊天机器人是可以回复信息的,所以我没有去解决这个问题

如果不使用 ChatGPT,可以在配置中将其禁用:

    chatgpt:
        ...
        disabled: true

from muvtuber.

darkpulie avatar darkpulie commented on July 28, 2024

打开调试,发送弹幕之后,并没有看到有report操作
image
image


以下是muvtuberdriver容器的日志
image

from muvtuber.

cdfmlr avatar cdfmlr commented on July 28, 2024

你的 audioview 接收到的 websocket 播放消息是空的耶。你看那个 data base64 啥的后面就没了,如果正常的话这里应该是很长的一大段音频文件的二进制内容的。

所以应该还是这个 extrenalsayer 的问题。会不会是 role 不能用啥的,可能不同地区可用的角色不一样?😫


焯,这里一点日志都没有。不知道当时写的时候咋想的 🤬 实在不行等我先加一些日志点方便调试。

from muvtuber.

darkpulie avatar darkpulie commented on July 28, 2024

行叭,那就等大佬操作,我换了地区,好像也没解决

from muvtuber.

cdfmlr avatar cdfmlr commented on July 28, 2024

我已经加了很多日志了,你可以拉最新的代码试试

😭 就很奇怪我这边一直都可以的

from muvtuber.

darkpulie avatar darkpulie commented on July 28, 2024

那我试试叭

from muvtuber.

cdfmlr avatar cdfmlr commented on July 28, 2024

Review: #44, #47 & #49 are the same issue. It is finally fixed by 269b6b9 (v0.3.6).

from muvtuber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.