You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
# The $CANDIDATE means fetch from env, if not configed, use * as default.
#
# The * means retrieving server IP automatically, from all network interfaces,
# @seeossrs/srs#307 (comment)
candidate 192.168.41.8;
}
编译运行之后日志正常但是sip和rtc的端口都未启动,以服务形式运行则不能正常启动,但是没有有效的错误日志
SRS版本(Version):
SRS/5.0.26(Leo), MIT
SRS的日志如下(Log):
[2022-06-15 13:32:26.260][Trace][3366][64qy7h14] XCORE-SRS/5.0.26(Leo)
[2022-06-15 13:32:26.261][Trace][3366][64qy7h14] config parse complete
[2022-06-15 13:32:26.261][Warn][3366][64qy7h14][22] transform: vhost.rtc.bframe to vhost.rtc.keep_bframe off
[2022-06-15 13:32:26.261][Trace][3366][64qy7h14] write log to console
[2022-06-15 13:32:26.261][Trace][3366][64qy7h14][MAIN] SRS/5.0.26(Leo), MIT
[2022-06-15 13:32:26.261][Trace][3366][64qy7h14] authors: Winlinwinlin@vip.126.com ZhaoWenjiezhaowenjie@tal.com ShiWeishiwei05@kuaishou.com XiaoZhihonghondaxiao@tencent.com WuPengqiangpengqiang.wpq@alibaba-inc.com XiaLixinxialixin@kanzhun.com LiPengmozhan.lp@alibaba-inc.com ChenGuanghuajinxue.cgh@alibaba-inc.com ChenHaibonmgchenhaibo@foxmail.com Johzzyhellojinqiang@gmail.com Zhouxiaojun2008279686030@qq.com Pengfei.mapengfei.ma.chn@outlook.com ZhangJunqinzhangjunqin@jd.com and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors
[2022-06-15 13:32:26.261][Trace][3366][64qy7h14] cwd=/home/srs-gb28181-feature-gb28181/trunk, work_dir=./, build: 2022-06-15 13:27:19, configure: --x86-x64 --with-gb28181, uname: Linux localhost.localdomain 3.10.0-957.el7.x86_64 GB28181: fixed crash when deleting gb28181 channel #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, pkg: , region: , source:
[2022-06-15 13:32:26.261][Trace][3366][64qy7h14] configure detail: --prefix=/usr/local/srs --config=conf/srs.conf --hls=on --hds=off --dvr=on --ssl=on --https=on --ssl-1-0=off --ssl-local=off --sys-ssl=off --transcode=on --ingest=on --stat=on --http-callback=on --http-server=on --stream-caster=on --http-api=on --utest=off --cherrypy=off --srt=off --rtc=on --simulator=off --gb28181=on --iconv=off --cxx11=on --cxx14=off --ffmpeg-fit=on --nasm=on --srtp-nasm=on --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=off --shared-ffmpeg=off --log-verbose=off --log-info=off --log-trace=on --gcov=off --debug=off --debug-stats=off --cross-build=off --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2022-06-15 13:32:26.261][Trace][3366][64qy7h14] srs checking config...
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] ips, iface[0] ens192 ipv4 0x11043 192.168.41.8, iface[1] ens192 ipv6 0x11043 fe80::e655:86af:184e:9d09%ens192, iface[2] ens192 ipv6 0x11043 fe80::8dba:e362:bb62:4d51%ens192, iface[3] ens192 ipv6 0x11043 fe80::b501:2507:c9d2:5971%ens192
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] devices, intranet ens192 192.168.41.8, intranet ens192 fe80::e655:86af:184e:9d09%ens192, intranet ens192 fe80::8dba:e362:bb62:4d51%ens192, intranet ens192 fe80::b501:2507:c9d2:5971%ens192
[2022-06-15 13:32:26.263][Warn][3366][64qy7h14][22] stats network use index=0, ip=192.168.41.8, ifname=ens192
[2022-06-15 13:32:26.263][Warn][3366][64qy7h14][22] stats disk not configed, disk iops disabled.
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] write log to console
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] features, rch:on, dash:on, hls:on, hds:off, srt:off, hc:on, ha:on, hs:on, hp:on, dvr:on, trans:on, inge:on, stat:on, sc:on
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] SRS on amd64 x86_64, conf:conf/push.gb28181.conf, limit:1000, writev:1024, encoding:little-endian, HZ:100
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write)
[2022-06-15 13:32:26.263][Trace][3366][64qy7h14] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000)
[2022-06-15 13:32:26.263][Warn][3366][64qy7h14][22] SRS/5.0.26 is not stable
[2022-06-15 13:32:26.269][Trace][3366][64qy7h14] fingerprint=D7:C7:E2:AA:4D:CC:02:D9:82:92:83:5C:67:A6:9A:12:F2:61:6B:32:C4:1C:0D:2F:C9:C5:6E:84:FB:60:C9:56
[2022-06-15 13:32:26.269][Trace][3366][64qy7h14] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99
[2022-06-15 13:32:26.269][Trace][3366][64qy7h14] http flv live stream, vhost=defaultVhost, mount=[vhost]/[app]/[stream].flv
[2022-06-15 13:32:26.269][Trace][3366][64qy7h14] http: root mount to ./objs/nginx/html
[2022-06-15 13:32:26.269][Trace][3366][64qy7h14] server main cid=64qy7h14, pid=3366, ppid=6498, asprocess=0
[2022-06-15 13:32:26.269][Trace][3366][64qy7h14] write pid=3366 to ./objs/srs.pid success!
[2022-06-15 13:32:26.270][Trace][3366][64qy7h14] RTMP listen at tcp://0.0.0.0:1935, fd=7
[2022-06-15 13:32:26.270][Trace][3366][64qy7h14] HTTP-API listen at tcp://0.0.0.0:1985, fd=8
[2022-06-15 13:32:26.270][Trace][3366][64qy7h14] HTTP-Server listen at tcp://0.0.0.0:8080, fd=9
[2022-06-15 13:32:26.272][Trace][3366][64qy7h14] UDP GB28181:DVR失败,只有48B;重新初始化摄像头后会好用, 但过一段时间重现 #2705 #10 LISTEN at 0.0.0.0:5060, SO_SNDBUF(default=212992, expect=10485760, actual=425984, r0=0), SO_RCVBUF(default=212992, expect=10485760, actual=425984, r0=0)
[2022-06-15 13:32:26.272][Trace][3366][64qy7h14] GB28181-SIP over UDP listen at udp://0.0.0.0:5060, fd=10
[2022-06-15 13:32:26.278][Trace][3366][64qy7h14] signal installed, reload=1, reopen=10, fast_quit=15, grace_quit=3
[2022-06-15 13:32:26.278][Trace][3366][64qy7h14] http: api mount /console to ./objs/nginx/html/console
[2022-06-15 13:32:26.278][Trace][3366][64qy7h14] rtc listen at udp://0.0.0.0:8000, fd=12
[2022-06-15 13:32:26.279][Trace][3366][647u8487] Hybrid cpu=0.00%,13MB
[2022-06-15 13:32:26.279][Warn][3366][93x860os][22] use private address as ip: 192.168.41.8, ifname=ens192
[2022-06-15 13:32:26.279][Trace][3366][93x860os] Startup query id=8a4ef526ec6c11ec9dd7f7feefe43c6a, eip=192.168.41.8, wait=542s
[2022-06-15 13:32:26.279][Trace][3366][s0488umj] GB28181: connection manager run, conns=0
[2022-06-15 13:32:26.279][Trace][3366][x10o9m30] GB28181TCP: connection manager run, conns=0
[2022-06-15 13:32:26.279][Trace][3366][29058m18] TCP: connection manager run, conns=0
[2022-06-15 13:32:26.280][Trace][3366][94u69208] UDP GB28181: SRS 60路摄像头推流转发为hls后频繁奔溃 #2624 #12 LISTEN at 0.0.0.0:8000, SO_SNDBUF(default=212992, expect=10485760, actual=425984, r0=0), SO_RCVBUF(default=212992, expect=10485760, actual=425984, r0=0)
[2022-06-15 13:32:26.280][Trace][3366][2k64fs3s] RTC: connection manager run, conns=0
SRS的配置如下(Config):
push gb28181 stream to SRS.
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
http_api {
enabled on;
listen 1985;
}
http_server {
enabled on;
listen 8080;
}
stats {
network 0;
}
stream_caster {
enabled on;
caster gb28181;
}
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
#
# The $CANDIDATE means fetch from env, if not configed, use * as default.
#
# The * means retrieving server IP automatically, from all network interfaces,
# @see ossrs/srs#307 (comment)
candidate 192.168.41.8;
}
vhost defaultVhost {
rtc {
enabled on;
bframe discard;
}
}
The text was updated successfully, but these errors were encountered: