kurento 的远程流不起作用 [英] kurento's remote stream is not working

查看:39
本文介绍了kurento 的远程流不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 kurento-media-server-6.0 并打开了媒体服务器和 Hello World!(教程 1,版本 - node.js).但是当我单击开始按钮时,远程流不起作用.

I installed kurento-media-server-6.0 and I turn on media-server and Hello World!(Tutorial 1, Version - node.js). But when I click a start button, Remote stream does not work.

控制台 >>> 类型错误:videoStream.addEventListener 不是函数

Console >>> TypeError: videoStream.addEventListener is not a function

请帮帮我,谁知道为什么会发生这个错误.

Please give help to me, who knows why this error happens.

推荐答案

您在浏览器端缺少相应的 js 依赖项.在全新安装的情况下,这应该在教程的根文件夹(如相应的教程文档中指定)中执行bower install"来修复;或者如果您之前安装了教程,请执行凉亭更新".

You are missing the appropriate js dependencies at the browser side. This should be fixed executing 'bower install' in the root folder of the tutorial (as specified in the corresponding tutorial documentation), in case of a fresh installation; or executing 'bower update' in case you had the tutorial installed previously.

此外,请仔细检查该教程是否在适当的版本(6.0.0 标记)中.有时将 5.x 客户端代码与 6.x 媒体服务器混合会产生这种类型的依赖问题.

In addition, double check that tht tutorial is in the appropriate version (6.0.0 tag). Sometimes mixing 5.x client code with 6.x media server generates that type of problems with dependencies.

这篇关于kurento 的远程流不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆