概述
使用kurento进行视频通话的时候,手机端的视频会在几秒后卡主。
错误日志如下
2020-09-17 20:02:38,622262 28868 [0x00007f9902ffd700] debug rtpjitterbuffer gstrtpjitterbuffer.c:1510 gst_rtp_jitter_buffer_src_event() <rtpjitterbuffer0> received custom-upstream
2020-09-17 20:02:38,622317 28868 [0x00007f9902ffd700] debug agnosticbin kmsagnosticbin.c:969 kms_agnostic_bin2_src_reconfigure_probe() <kmsagnosticbin2-1:src_0> Received reconfigure event
2020-09-17 20:02:38,622334 28868 [0x00007f9902ffd700] debug agnosticbin kmsagnosticbin.c:754 kms_agnostic_bin2_process_pad() <kmsagnosticbin2-1> Processing pad: <kmsagnosticbin2-1:src_0>
2020-09-17 20:02:38,622350 28868 [0x00007f9902ffd700] info agnosticbin kmsagnosticbin.c:708 kms_agnostic_bin2_link_pad() <kmsagnosticbin2-1> Linking: <kmsagnosticbin2-1:src_0>
2020-09-17 20:02:38,622370 28868 [0x00007f9902ffd700] debug agnosticbin kmsagnosticbin.c:716 kms_agnostic_bin2_link_pad() Query caps are: video/x-vp8
2020-09-17 20:02:38,622451 28868 [0x00007f9902ffd700] debug agnosticbin kmsagnosticbin.c:204 remove_on_unlinked_blocked() <tee4:src_2> Unlinking pad
2020-09-17 20:02:38,622576 28868 [0x00007f9902ffd700] debug rtpjitterbuffer gstrtpjitterbuffer.c:1510 gst_rtp_jitter_buffer_src_event() <rtpjitterbuffer0> received custom-upstream
2020-09-17 20:02:38,632013 28868 [0x00007f995cfd0700] warning srtpdec gstsrtpdec.c:1149 gst_srtp_dec_decode_buffer() <srtp-decoder:rtp_sink> Unable to unprotect buffer (unprotect failed code 9)
2020-09-17 20:02:38,632053 28868 [0x00007f995cfd0700] warning srtpdec gstsrtpdec.c:1178 gst_srtp_dec_decode_buffer() <srtp-decoder> Other error, dropping
2020-09-17 20:02:38,637366 28868 [0x00007f995cfd0700] debug rtpjitterbuffer gstrtpjitterbuffer.c:2504 gst_rtp_jitter_buffer_chain() <rtpjitterbuffer0> Received packet #14926 at time 0:00:07.077516724, discont 0
2020-09-17 20:02:38,637396 28868 [0x00007f995cfd0700] debug rtpjitterbuffer gstrtpjitterbuffer.c:2584 gst_rtp_jitter_buffer_chain() <rtpjitterbuffer0> expected #14926, got #14926, gap of 0
2020-09-17 20:02:38,637410 28868 [0x00007f995cfd0700] debug rtpjitterbuffer gstrtpjitterbuffer.c:2713 gst_rtp_jitter_buffer_chain() <rtpjitterbuffer0> Clearing gap packets
2020-09-17 20:02:38,637423 28868 [0x00007f995cfd0700] debug rtpjitterbuffer rtpjitterbuffer.c:457 calculate_skew() extrtp 1287913942, gstrtp 3:58:30.154911111, base 3:58:24.712911111, send_diff 0:00:05.442000000
2020-09-17 20:02:38,637437 28868 [0x00007f995cfd0700] debug rtpjitterbuffer rtpjitterbuffer.c:612 calculate_skew() skew 0, out 0:00:07.096150851
2020-09-17 20:02:38,637449 28868 [0x00007f995cfd0700] debug rtpjitterbuffer gstrtpjitterbuffer.c:2050 update_timers() <rtpjitterbuffer0> 0, 0, #14924<->#14926 gap 2
2020-09-17 20:02:38,637462 28868 [0x00007f995cfd0700] debug rtpjitterbuffer gstrtpjitterbuffer.c:2809 gst_rtp_jitter_buffer_chain() <rtpjitterbuffer0> Pushed packet #14926, now 2 packets, head: 0, percent -1
libSRTP error code 9 (source code) 表示已激活用于重放攻击的自动检测(和预防)机制,并且libSRTP库已丢弃该数据包。
这个错误在kurento 6.12.0版本中被正式修复。
只需要升级到6.12.0即可
相关链接
https://github.com/Kurento/bugtracker/issues/246
https://groups.google.com/g/kurento/c/cKzgDVrAch4/discussion
Webrtc交流学习群,更多关于kurento的问题解答
最后
以上就是天真未来为你收集整理的使用kurento视频在几秒后卡死记录的全部内容,希望文章能够帮你解决使用kurento视频在几秒后卡死记录所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复