直播时断开连接
确保您的广播计算机可以可靠地直播视频。 如果您的计算机或网络连接在将视频传输到互联网时遇到困难,观看者将会停留在缓冲状态。 如果需要,请降低广播设备上广播软件的比特率、分辨率和/或帧率。
注意任何丢帧情况,并调查造成这些丢帧的原因。 是您的本地 CPU 还是 GPU? 是您的本地网络吗? 还是 Owncast 服务器因硬件使用而丢帧?
例如,如果您的广播计算机的 GPU 达到最大负荷,那么它将无法保持帧渲染的速度。 如果您正在使用 OBS,判断这一点的一种方法是查看应用程序中的“统计信息”,看看是否出现了任何“渲染延迟”。
- 确保你的 Owncast 服务器上有支持的 ffmpeg 版本。 Owncast warns about anything older than 4.1.5, but that is only the minimum threshold. We recommend installing a current ffmpeg release.
- Look at your Owncast logs in the console or in the admin at
/admin/logs. 可能会有特定的错误信息告诉你下一步该怎么做。 - 查看
transcoder.log以获取详细日志,当你在 Owncast 日志中看不到任何内容时,可以提供这些信息来请求帮助。 - 确保你的 ffmpeg 不是通过 Snap 包安装的,因为 Snap 分发的软件的沙箱环境在这种情况下不兼容。 如果你在
transcoder.log中看到错误Error: unable to open display,这可能是你的问题。
Improve this page
See something missing or incorrect? Edit this page and improve the documentation for everyone.
Contributors to this documentation
