我的所作所为:
1.我安装了kurento媒体服务器,并参考了链接https://www.kurento.org/docs/6.0.0/installation_guide.html
2.使用命令
启动Kurento Media Server sudo service kurento-media-server-6.0 start
3.在client-js中,我使用了链接https://github.com/Kurento/kurento-tutorial-js/kurento-hello-world
4.从 kurento-hello-world ,使用命令
bower install
http-server
5.在浏览器中加载页面
http://localhost:8080/index.html?ws_uri=ws://localhost:8888/kurento#
6.效果不错,但远程流中的图像质量与本地主机中的图像质量不一样
7.我还附上了两个样本
注意:
1.我在localhost中运行,因此可能不是带宽问题。我也在AWS服务器上尝试过,同样的问题也出现了。
2.我没有改变我在 client-utils 文件夹中传递给WebRtcPeer的约束
var MEDIA_CONSTRAINTS = {
audio: true,
video: {
width: 640,
framerate: 15
}
};
我必须知道的事情:
1.我需要做些什么来解决这个问题?
2.还有其他方法可以提高质量吗?
KMS-版本:
我使用的KMS版本是 6.4.0 。我发现它使用日志
$ kurento-media-server --version
Version: 6.4.0
Found modules:
Module: 'blurtheface' version '0.0.1~0.ga33e8af'
Module: 'core' version '6.4.0'
Module: 'crowddetector' version '6.4.0'
Module: 'detection' version '0.0.1~0.gfa1dc04'
Module: 'elements' version '6.4.0'
Module: 'facedetect' version '0.0.1~0.gfc2892d'
Module: 'filters' version '6.4.0'
Module: 'opencvpluginsample' version '0.0.1~7.g9db5b70'
答案 0 :(得分:0)
尝试更改约束以发送更高质量的视频。如果您只发送640和15 fps,您可能会发现远程视频质量明显低于您从相机获得的视频。