Closed anyan131 closed 3 months ago
I discovered an error with the configuration file above, so I replaced the startup file, but the outcome remained unchanged. Below is my log.
askme@srs:~/SRS/srs/trunk$ sudo ./objs/srs -c conf/push.gb28181.conf
[2023-12-22 08:33:38.351][INFO][836489][l0ui8nst] XCORE-SRS/5.0.200(Bee)
[2023-12-22 08:33:38.351][INFO][836489][l0ui8nst] config parse complete
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config rtp_port_min for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config rtp_port_max for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config wait_keyframe for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config rtp_idle_timeout for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config audio_enable for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config auto_create_channel for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.serial for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.realm for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.ack_timeout for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.keepalive_timeout for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.auto_play for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.invite_port_fixed for GB is not used
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] transform: Config sip.query_catalog_interval for GB is not used
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] transform: Config move host to sip.candidate for GB
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] transform: Config move host to sip.candidate for GB
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] write log to console
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] SRS/5.0.200(Bee), MIT
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] authors: Winlin<winlin@vip.126.com> ZhaoWenjie<zhaowenjie@tal.com> ShiWei<shiwei05@kuaishou.com> XiaoZhihong<hondaxiao@tencent.com> WuPengqiang<pengqiang.wpq@alibaba-inc.com> XiaLixin<xialixin@kanzhun.com> LiPeng<mozhan.lp@alibaba-inc.com> ChenGuanghua<jinxue.cgh@alibaba-inc.com> ChenHaibo<nmgchenhaibo@foxmail.com> and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] cwd=/home/askme/SRS/srs/trunk, work_dir=./, build: 2023-12-22 07:36:26, configure: --gb28181=on, uname: Linux srs 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, env: 0, pkg:
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] configure detail: --prefix=/usr/local/srs --config=conf/srs.conf --osx=off --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-converter=on --http-api=on --utest=off --srt=on --sys-srt=off --rtc=on --gb28181=on --simulator=off --cxx11=on --cxx14=off --backtrace=on --ffmpeg-fit=on --sys-ffmpeg=off --ffmpeg-opus=off --nasm=on --srtp-nasm=on --sys-srtp=off --clean=on --gperf=off --gmc=off --gmd=off --gmp=off --gcp=off --gprof=off --static=off --shared-st=off --shared-srt=reserved --shared-ffmpeg=reserved --shared-srtp=reserved --log-verbose=off --log-info=off --log-trace=on --log-level_v2=on --gcov=off --apm=off --debug=off --debug-stats=off --cross-build=off --sanitizer=on --sanitizer-static=off --sanitizer-log=off --cygwin64=off --single-thread=off --generic-linux=off --build-cache=on --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] srs checking config...
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] ips, iface[0] ens160 ipv4 0x11043 192.168.1.165, iface[1] ens160 ipv6 0x11043 fe80::20c:29ff:fe61:ac3a%ens160
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] devices, intranet ens160 192.168.1.165, intranet ens160 fe80::20c:29ff:fe61:ac3a%ens160
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] stats network use index=0, ip=192.168.1.165, ifname=ens160
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] stats disk not configed, disk iops disabled.
[2023-12-22 08:33:38.352][INFO][836489][l0ui8nst] write log to console
[2023-12-22 08:33:38.353][INFO][836489][l0ui8nst] features, rch:on, dash:on, hls:on, hds:off, srt:on, hc:on, ha:on, hs:on, hp:on, dvr:on, trans:on, inge:on, stat:on, sc:on
[2023-12-22 08:33:38.353][INFO][836489][l0ui8nst] SRS on amd64 x86_64, conf:conf/push.gb28181.conf, limit:1000, writev:1024, encoding:little-endian, HZ:100
[2023-12-22 08:33:38.353][INFO][836489][l0ui8nst] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms
[2023-12-22 08:33:38.353][INFO][836489][l0ui8nst] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write)
[2023-12-22 08:33:38.353][INFO][836489][l0ui8nst] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000)
[2023-12-22 08:33:38.353][INFO][836489][l0ui8nst] start daemon mode...
[2023-12-22 08:33:38.354][INFO][836490][l0ui8nst] father process exit
[2023-12-22 08:33:38.354][INFO][836491][l0ui8nst] son(daemon) process running.
[2023-12-22 08:33:38.355][INFO][836491][l0ui8nst] write pid=836491 to ./objs/srs.pid success!
[2023-12-22 08:33:38.355][INFO][836491][l0ui8nst] Thread #1(primordial): init name=srs-master-1, interval=5000ms
[2023-12-22 08:33:38.356][INFO][836491][l0ui8nst] Pool: Start threads primordial=1, hybrids=1 ok
[2023-12-22 08:33:38.356][INFO][836491][6403ure3] Thread #2: run with tid=836493, entry=0x60c000000580, label=hybrid, name=srs-hybrid-2
[2023-12-22 08:33:38.365][INFO][836489][l0ui8nst] grandpa process exit.
[2023-12-22 08:33:38.369][INFO][836491][6403ure3] fingerprint=47:A5:86:D2:FB:62:A5:09:03:DA:F4:67:6B:37:86:14:66:9F:E4:A7:E1:DA:DB:FE:6C:FC:40:A7:71:13:38:04
[2023-12-22 08:33:38.369][INFO][836491][6403ure3] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99
[2023-12-22 08:33:38.369][INFO][836491][6403ure3] http flv live stream, vhost=__defaultVhost__, mount=[vhost]/[app]/[stream].flv
[2023-12-22 08:33:38.370][INFO][836491][6403ure3] http: root mount to ./objs/nginx/html
[2023-12-22 08:33:38.370][INFO][836491][6403ure3] server main cid=6403ure3, pid=836491, ppid=836490, asprocess=0
[2023-12-22 08:33:38.370][INFO][836491][6403ure3] RTMP listen at tcp://0.0.0.0:1935, fd=9
[2023-12-22 08:33:38.370][INFO][836491][6403ure3] HTTP-API listen at tcp://0.0.0.0:1985, fd=10
[2023-12-22 08:33:38.370][INFO][836491][6403ure3] HTTP-Server listen at tcp://0.0.0.0:8080, fd=11
[2023-12-22 08:33:38.371][INFO][836491][6403ure3] GB-TCP listen at tcp://0.0.0.0:9000, fd=12
[2023-12-22 08:33:38.371][INFO][836491][6403ure3] SIP-TCP listen at tcp://0.0.0.0:5060, fd=13
[2023-12-22 08:33:38.371][INFO][836491][6403ure3] signal installed, reload=1, reopen=10, fast_quit=15, grace_quit=3
[2023-12-22 08:33:38.371][INFO][836491][6403ure3] http: api mount /console to ./objs/nginx/html/console
[2023-12-22 08:33:38.372][INFO][836491][6403ure3] rtc listen at udp://0.0.0.0:8000, fd=14
[2023-12-22 08:33:38.372][INFO][836491][6446223n] Hybrid cpu=0.00%,32MB
[2023-12-22 08:33:38.372][WARN][836491][648f7x25][22] use private address as ip: 192.168.1.165, ifname=ens160
[2023-12-22 08:33:38.372][INFO][836491][648f7x25] Startup query id=vid-90y14v8, session=vid-47m2348, eip=192.168.1.165, wait=300s
[2023-12-22 08:33:38.372][INFO][836491][u71q6j0f] TCP: connection manager run, conns=0
[2023-12-22 08:33:38.373][INFO][836491][120wq123] GB: connection manager run, conns=0
[2023-12-22 08:33:38.373][INFO][836491][583w1k73] SRT: connection manager run, conns=0
[2023-12-22 08:33:38.373][INFO][836491][5up77097] UDP #14 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)
[2023-12-22 08:33:38.373][INFO][836491][76dd6781] RTC: connection manager run, conns=0
These [WARN] messages, I am not sure what caused them.
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config rtp_port_max for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config wait_keyframe for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config rtp_idle_timeout for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config audio_enable for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config auto_create_channel for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.serial for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.realm for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.ack_timeout for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.keepalive_timeout for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.auto_play for GB is not used
[2023-12-22 08:33:38.351][WARN][836489][l0ui8nst][22] transform: Config sip.invite_port_fixed for GB is not used
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] transform: Config sip.query_catalog_interval for GB is not used
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] transform: Config move host to sip.candidate for GB
[2023-12-22 08:33:38.352][WARN][836489][l0ui8nst][22] transform: Config move host to sip.candidate for GB
I would also appreciate your assistance in providing an answer.
TRANS_BY_GPT4
Could you please update me on the current progress?
TRANS_BY_GPT4
The auto_play
does not exist; please refer to the documentation.
This issue will be deleted; please read the documentation first: #2716.
TRANS_BY_GPT4
Describe the bug Modify auto_play in push.gb28181.conf is off; No changes were found after redeployment, and INVITE will still be sent to newly registered devices
Version v5.0-b7
To Reproduce
Expected behavior hope setting up auto_play can take effect
Screenshots this is my push.gb28181.conf file
and this is my server`s log
Additional context Add any other context about the problem here.