Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Webrtc Kurento媒体服务器错误_Webrtc_Kurento - Fatal编程技术网

Webrtc Kurento媒体服务器错误

Webrtc Kurento媒体服务器错误,webrtc,kurento,Webrtc,Kurento,我使用同一台PC/笔记本电脑和同一台服务器测试Kurento媒体服务器: Version: 5.1.3 Found modules: Module: 'core' version '5.1.5' Module: 'elements' version '5.1.4' Module: 'filters' version '5.1.1' 我有时会出现以下错误: 2015-07-08 22:44:31.860340 9559 [140269295921

我使用同一台PC/笔记本电脑和同一台服务器测试Kurento媒体服务器:

Version: 5.1.3
Found modules:
        Module: 'core' version '5.1.5'
        Module: 'elements' version '5.1.4'
        Module: 'filters' version '5.1.1' 
我有时会出现以下错误:

2015-07-08 22:44:31.860340 9559 [140269295921280]   error KurentoMediaPipelineImpl  MediaPipelineImpl.cpp:71 busMessage() Error on bus: error message: 0x7f92e01eec30, time 99:99:99.999999999, seq-num 422016, element 'dtlsdec42', GstMessageError, gerror=(GError)NULL, debug=(string)"/build/kms-elements-rKurus/kms-elements-5.1.4/src/gst-plugins/dtls-plugins/gstdtlsdec.c\(227\):\ gst_dtls_dec_loop\ \(\):\ /GstPipeline:pipeline15/KmsWebrtcEndpoint:kmswebrtcendpoint45/GstDtlsSrtpDec:dtlssrtpdec42/GstDtlsDec:dtlsdec42:\012Error\ decrypting\ DTLS\ stream:\ Error\ reading\ data\ from\ TLS\ socket:\ The\ operation\ timed\ out";
有时我可以成功连接并获取WebRTC视频,有时当我的视频标签上出现一个黑屏时,会出现上述错误


不知道会发生什么事?以及如何修复它?

您需要启用DTLS-SRTP chrome的示例:

if (chrome) {
    new RTCPeerConnection(ICE_Servers, {
        optional: [{
                DtlsSrtpKeyAgreement: true
            }
        ]
    });
}

您应该迁移到KMS v6.x。版本5不再受支持,并且它有众所周知的无法修复的错误。您的意思是在getUserMedia函数中传递DTLS_SRTP?更新的解决方案,请检查上面我添加的并让它运行一段时间,有时我仍然会遇到问题中描述的错误。不稳定的网络连接是否也是所述错误的原因?