【问题标题】:Kurento Media Server ErrorKurento媒体服务器错误
【发布时间】:2015-07-08 14:55:38
【问题描述】:

我正在使用同一台 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视频,有时当我的视频标签上出现黑屏时,会出现上述错误。

不确定会发生什么?以及如何解决?

【问题讨论】:

  • 您应该迁移到 KMS v6.x。版本 5 不再受支持,并且存在无法修复的众所周知的错误。

标签: webrtc kurento


【解决方案1】:

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

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

【讨论】:

  • 你的意思是在getUserMedia函数中传递DTLS_SRTP?
  • 已更新解决方案,请查看上方
  • 我已经添加并让它运行一段时间,有时我仍然会收到我的问题中描述的错误。不稳定的网络连接是否也是导致所述错误的原因?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2018-07-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-06-12
相关资源
最近更新 更多