Open lilei-John opened 1 month ago
rtc.externIp needs to be configured as a public network IP (the IP that the client can access)
rtc.externIp 需要配置为公网IP(客户端可以访问到的IP)
TRANS_BY_GITHUB_AI_ASSISTANT
I am a LAN test, I use ubuntu, my ubuntu and PC browser are on the same LAN, my ubuntu can ping google
我是局域网测试,我使用的ubuntu,我的ubuntu和PC浏览器在同一个局域网,我的ubuntu可以ping,通google,我的PC可以ping通ubuntu
TRANS_BY_GITHUB_AI_ASSISTANT
I am a LAN test, I use ubuntu, my ubuntu and PC browser are on the same LAN, my ubuntu can ping google
我是局域网测试,我使用的ubuntu,我的ubuntu和PC浏览器在同一个局域网,我的ubuntu可以ping,通google,我的PC可以ping通ubuntu
TRANS_BY_GITHUB_AI_ASSISTANT
检查防火墙,是否端口未开放?
Phenomenon Description
Unable to play WebRTC video in Chrome
How to reproduce?
Always reproducible
Related logs or screenshots
./MediaServer -s ./default.pem 2024-09-18 09:46:13.438 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: H264 2024-09-18 09:46:13.438 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: H265 2024-09-18 09:46:13.439 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: JPEG 2024-09-18 09:46:13.439 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: mpeg4-generic 2024-09-18 09:46:13.439 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: opus 2024-09-18 09:46:13.440 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: PCMA 2024-09-18 09:46:13.440 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: PCMU 2024-09-18 09:46:13.440 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: L16 2024-09-18 09:46:13.441 I [MediaServer] [73658-MediaServer] System.cpp:192 systemSetup | core file size set to: 18446744073709551615 2024-09-18 09:46:13.441 I [MediaServer] [73658-MediaServer] System.cpp:201 systemSetup | maximum file descriptor count set to: 1048576 2024-09-18 09:46:13.441 I [MediaServer] [73658-MediaServer] main.cpp:256 start_main | ZLMediaKit(git hash:7c5ba5a/2024-09-10T10:59:44+08:00,branch:master,build time:2024-09-12T18:36:57) 2024-09-18 09:46:13.445 D [MediaServer] [73658-MediaServer] SSLBox.cpp:174 setContext | Add certificate of: default.zlmediakit.com 2024-09-18 09:46:13.446 D [MediaServer] [73658-stamp thread] util.cpp:366 operator() | Stamp thread started 2024-09-18 09:46:13.456 I [MediaServer] [73658-MediaServer] EventPoller.cpp:594 EventPollerPool | EventPoller created size: 2 2024-09-18 09:46:13.456 I [MediaServer] [73658-MediaServer] main.cpp:360 start_main | HTTP API interface started 2024-09-18 09:46:13.456 I [MediaServer] [73658-MediaServer] main.cpp:362 start_main | HTTP hook interface started 2024-09-18 09:46:13.457 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 554 2024-09-18 09:46:13.457 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 1935 2024-09-18 09:46:13.457 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 80 2024-09-18 09:46:13.458 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 443 2024-09-18 09:46:13.459 I [MediaServer] [73658-MediaServer] UdpServer.cpp:123 start_l | UDP server bind to [192.168.1.104]: 10000 2024-09-18 09:46:13.460 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 10000 2024-09-18 09:46:13.460 I [MediaServer] [73658-MediaServer] UdpServer.cpp:123 start_l | UDP server bind to [192.168.1.104]: 9000 2024-09-18 09:47:04.956 W [MediaServer] [73658-event poller 0] SSLBox.cpp:128 findCertificate | Can not find any certificate of host: 192.168.1.104, select default certificate of: default.zlmediakit.com
Expand to view detailed logs
Configuration
Please expand to view detailed configuration
Various environment information
ubuntu 18.04
现象描述
无法在chrome中播放webrtc视频 ## 如何复现? 必现 ## 相关日志或截图 ./MediaServer -s ./default.pem 2024-09-18 09:46:13.438 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: H264 2024-09-18 09:46:13.438 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: H265 2024-09-18 09:46:13.439 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: JPEG 2024-09-18 09:46:13.439 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: mpeg4-generic 2024-09-18 09:46:13.439 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: opus 2024-09-18 09:46:13.440 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: PCMA 2024-09-18 09:46:13.440 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: PCMU 2024-09-18 09:46:13.440 I [MediaServer] [73658-MediaServer] Factory.cpp:41 registerPlugin | Load codec: L16 2024-09-18 09:46:13.441 I [MediaServer] [73658-MediaServer] System.cpp:192 systemSetup | core文件大小设置为:18446744073709551615 2024-09-18 09:46:13.441 I [MediaServer] [73658-MediaServer] System.cpp:201 systemSetup | 文件最大描述符个数设置为:1048576 2024-09-18 09:46:13.441 I [MediaServer] [73658-MediaServer] main.cpp:256 start_main | ZLMediaKit(git hash:7c5ba5a/2024-09-10T10:59:44+08:00,branch:master,build time:2024-09-12T18:36:57) 2024-09-18 09:46:13.445 D [MediaServer] [73658-MediaServer] SSLBox.cpp:174 setContext | Add certificate of: default.zlmediakit.com 2024-09-18 09:46:13.446 D [MediaServer] [73658-stamp thread] util.cpp:366 operator() | Stamp thread started 2024-09-18 09:46:13.456 I [MediaServer] [73658-MediaServer] EventPoller.cpp:594 EventPollerPool | EventPoller created size: 2 2024-09-18 09:46:13.456 I [MediaServer] [73658-MediaServer] main.cpp:360 start_main | 已启动http api 接口 2024-09-18 09:46:13.456 I [MediaServer] [73658-MediaServer] main.cpp:362 start_main | 已启动http hook 接口 2024-09-18 09:46:13.457 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 554 2024-09-18 09:46:13.457 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 1935 2024-09-18 09:46:13.457 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 80 2024-09-18 09:46:13.458 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 443 2024-09-18 09:46:13.459 I [MediaServer] [73658-MediaServer] UdpServer.cpp:123 start_l | UDP server bind to [192.168.1.104]: 10000 2024-09-18 09:46:13.460 I [MediaServer] [73658-MediaServer] TcpServer.cpp:221 start_l | TCP server listening on [192.168.1.104]: 10000 2024-09-18 09:46:13.460 I [MediaServer] [73658-MediaServer] UdpServer.cpp:123 start_l | UDP server bind to [192.168.1.104]: 9000 2024-09-18 09:47:04.956 W [MediaServer] [73658-event poller 0] SSLBox.cpp:128 findCertificate | Can not find any certificate of host: 192.168.1.104, select default certificate of: default.zlmediakit.com展开查看详细日志
展开查看详细配置
各种环境信息
ubuntu 18.04 * **代码提交记录/git commit hash**: * **操作系统及版本**: * **硬件信息**: * **crash backtrace**: ``` commit 7c5ba5a09964ef3f9a17e0c9acd869eccd18e8c6 (grafted, HEAD -> master, origin/master, origin/HEAD) Author: alex