node.js - 没有找到kurento utils?
问题描述
我在 ubuntu 机器上安装了 kurento 媒体服务器。
我实例化了此处提供的 hello world 示例:https ://doc-kurento.readthedocs.io/en/latest/tutorials/node/tutorial-helloworld.html
在 Chrome 中运行应用程序时,出现以下错误,并且视频流未显示在浏览器中。
GET ipadress:8443/bower_components/kurento-utils/js/kurento-utils.js net::ERR_ABORTED 404(未找到)
有谁知道是否可能缺少任何模块?
谢谢
解决方案
我通过根据这个构建库 [kurento_utils] 的浏览器版本解决了这个问题 - https://doc-kurento.readthedocs.io/en/stable/features/kurento_utils_js.html#build-for-browser
此外,您需要安装grunt并更改/static/index.html中的 22 行
从
<script src="bower_components/kurento-utils/js/kurento-utils.js"></script>
至
<script src="bower_components/kurento-utils/dist/kurento-utils.js"></script>
推荐阅读
- ios - UIButton 上的 contextMenuInteraction
- python - 使用 xlsxwriter 在 dict 中迭代的问题
- linq - Entity Framework Core 中的日期操作
- c++ - Arduino:如何在不知道伺服需要移动到的确切位置的情况下移动伺服
- templates - 是否可以在 SharePoint 网站模板中包含 Flow/Power Automate?
- html - 在 GITHUB PAGES 上创建网站时出错
- azure - 使用 Postman 的 Azure 集线器通知 rest api 时未收到通知
- python - 一些 CSV 单元格包含在“引号”中,而另一些则没有
- c# - 用于传递文件名的 Windows shell 上下文菜单命令
- javascript - 如何将 amchart 与 jalali 日历一起使用?