Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

MCU3.3下连接RTSP流黑屏问题

alun_a_
Beginner
220 Views

您好,我在局域网内安装了Conference_Server_MCU.v3.3,IP为192.168.1.30,网内有一IP camera,RTSP地址为:rtsp://admin:admin@192.168.1.88:554,在VLC下访问正常,但是访问https://192.168.1.30:3004/?url=rtsp://admin:admin@192.168.1.88:554&audio=false时黑屏

参考https://software.intel.com/en-us/forums/intel-collaboration-suite-for-webrtc/topic/711107,做了相应的修改,不管audio=false or audio=true都是黑屏

求各位大神帮忙看看logs,问题出在哪里,谢谢!!!thank you!!!!

0 Kudos
8 Replies
Lei_Z_Intel1
Employee
220 Views

根据log显示,1080p  H.264的摄像头,rtsp收包的延时太大,导致图像出不来。请尝试以下方式:

  1. 使用rtsp tcp连接

https://192.168.1.30:3004/?url=rtsp://admin:admin@192.168.1.88:554&video=true&audio=false&transport=...

  1. 打开MCU TRACE log查看更详细的出错原因,修改Release-v3.3/access_agent/log4cxx.properties 
    1. log4j.logger.woogeen.RtspIn=TRACE
alun_a_
Beginner
220 Views

1、加上&transport=tcp参数后问题依旧,应该是script2.js脚本中没有对transport参数的接收处理?

2、更改参数log4j.logger.woogeen.RtspIn=TRACE后,restart-all.sh失败。重启服务器后再start-all成功,继续访问http://xxx:3001/?url=xxx&video=true&audio=false&transport=tcp。测试结果logs见附件(测试前清理过logs目录)

每隔5秒刷新下页面,JS报错脚本都不一样,有如下几种JS报错:

ERROR: MCU reports connection failed for stream: 214027665322646500

ERROR: server connection failed: Participant NYeotr_mAOcXIcgIAAAA join session 58b8d9866c6e5f29cdb176f8 failed

ERROR: publish failed: Timeout to make rpc to webrtc.ca0d71af-eac8-b136-29cb-a7fbdb59c474.0.publish

ERROR: 58b8d9866c6e5f29cdb176f8 subscribe failed: Timeout to make rpc to webrtc.ca0d71af-eac8-b136-29cb-

a7fbdb59c474.0.subscribe


INFO: stream 58b8d9866c6e5f29cdb176f8 VideoLayoutChanged
ICE failed, see about:webrtc for more details
INFO: Will trigger server-disconnect

Lei_Z_Intel1
Employee
220 Views

需要再次更新script2.js文件,transport参数才能起作用,请再次尝试。用户也可以自行修改script2.js文件。

alun_a_
Beginner
220 Views

万分感谢Lei Zhai大神的解答和帮助,可以连接了,只是不稳定的问题依旧存在,比如服务重启后,需要刷新多次页面才会正常,每次页面的JS报错内容也不一样,详情参见上一次回答。

各配置文件都是默认设置没有改动过,查遍帮助文档也找不到类似错误该如何处理。我仅在内网环境测试,目前不发布在internet,所以无须配置SSL证书和stun/turn server,是否默认的其他设置里需要修改某些内容呢?

Lei_Z_Intel1
Employee
220 Views

请先停止MCU,清空当前log,然后再次启动,重现不稳定现象,把新的log打包发给我们分析。

yongtao_x_
Beginner
220 Views

大家好: 

我验证接入 rtsp 流 和rtmp 流,MCU 合成画面增长,本地显示没图像, 无论是rtmp 还是rtsp 好像都出现了丢帧情况。

 

2017-03-06 16:02:25,373  - ERROR: mcu.media.DisplayGetter - create new display
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: User requested driver 'i965'
libva info: Trying to open /opt/Release-v3.3/video_agent/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
2017-03-06 16:02:25.375  - INFO: VideoNode - Video engine init OK
2017-03-06 16:02:25,564  - ERROR: woogeen.VideoStream - (1920, 1080), set bitrate to 4000000
2017-03-06 16:02:31,669  - ERROR: woogeen.VideoStream - (1280, 720), set bitrate to 2000000
2017-03-06 16:02:34,895  - ERROR: woogeen.VideoStream - (1280, 720), set bitrate to 2000000
2017-03-06 16:02:35,056  - ERROR: woogeen.VideoStream - onFrame, request key = 0
2017-03-06 16:02:35,088  - ERROR: woogeen.VideoStream - onFrame, request key = 0
2017-03-06 16:02:35,121  - ERROR: woogeen.VideoStream - onFrame, request key = 0

Lei_Z_Intel1
Employee
220 Views

正在准备RTSP接入模块的增强patch,稍后发布。

Lei_Z_Intel1
Employee
220 Views

解压附件中的文件,替换MCU安装包下的avstream.node文件,测试一下是否能解决问题。

Reply