Closed v5star closed 5 months ago
Hi @v5star
You probably need to install missing libraries. Notice that build is done on ubuntu, using centos may not work. On centos you may use snap or docker.
Best Regards, Michel.
Thank you ~!
Thank you for your help. I have installed a new Docker container in my CentOS 7.9.2009 x86_64 environment, and it can run properly. I can see the logs when making requests, but there is no video displayed on the webpage. When I refresh the page (the page is from https://github.com/mpromonet/webrtc-streamer-htmlwebrtcstreamer.html), it initially shows a spinning loading icon, and after a few seconds, the screen turns black with no video image. I have attached some screenshots during runtime. Could you please help me identify any misconfigurations and provide a solution? thanks (I have tested the same code on my local Windows platform, and it displays correctly, so I suspect the issue is related to the webrtc-streamer service).
Attachment:
Hi,
You should try starting docker with docker run --net=host
.
Best Regards, Michel.
Hi, Setting --net=host, the docker IP should be the same than host. Increasing log level may help you to understand the problem. Release 0.6.5 is quite old, better to use last one. Another could be Google stun server but this don't mind on LAN. Best Regards Michel
我在centos7上运行 ./webrtc-streamer -o 时,报错下面错误,请问大家有遇到吗?怎么解决这个问题。 ./webrtc-streamer: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory