首页 > 解决方案 > 没有找到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(未找到)

有谁知道是否可能缺少任何模块?

谢谢

标签: node.jskurento-media-server

解决方案


我通过根据这个构建库 [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>


推荐阅读