Open lixuande opened 2 years ago
在局域网做级联测试时,摄像头连接下级srs,下级srs配置remote到上级srs。
SRS版本(Version): 5.0.26
下级SRS的报错日志如下:
[2022-05-10 16:47:49.484][Trace][30651][1u718737] gb28181: client id=34020000001320000004@34020000001320000003, ssrc=0xba9f08, peer(10.4.7.76, 15060), rtmp muxer is alive [2022-05-10 16:47:50.421][Trace][30651][70d695bi] Hybrid cpu=1.00%,15MB, cid=1,0, timer=62,0,0, clock=0,42,6,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) [2022-05-10 16:47:52.362][Trace][30651][cf274722] HTTP #37 10.1.120.93:56593 GET http://10.4.7.85:1985/api/v1/streams/?callback=angular.callbacks._12, content-length=-1 [2022-05-10 16:47:52.497][Trace][30651][i9590178] complex handshake success. [2022-05-10 16:47:52.497][Trace][30651][i9590178] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 16:47:52.540][Trace][30651][i9590178] connected, version=5.0.26.0, ip=10.4.7.120, pid=22780, id=0, dsu=1 [2022-05-10 16:47:52.541][Trace][30651][i9590178] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 16:47:55.422][Trace][30651][70d695bi] Hybrid cpu=1.00%,15MB, cid=2,0, timer=62,0,0, clock=0,44,4,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) [2022-05-10 16:47:55.880][Trace][30651][cf274722] HTTP #38 10.1.120.93:56593 GET http://10.4.7.85:1985/api/v1/streams/?callback=angular.callbacks._13, content-length=-1 [2022-05-10 16:47:57.544][Warn][30651][i9590178][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [30651][i9590178]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [30651][i9590178]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [30651][i9590178]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [30651][i9590178]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [30651][i9590178]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [30651][i9590178]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 16:47:58.377][Trace][30651][03sx421b] gb28181: sip session=34020000001320000004 peer(10.4.7.76, 15060) status(RegisterOk,AliveOk) duration(185,0) [2022-05-10 16:47:59.486][Trace][30651][1u718737] gb28181: client id=34020000001320000004@34020000001320000003, ssrc=0xba9f08, peer(10.4.7.76, 15060), rtmp muxer is alive [2022-05-10 16:47:59.879][Trace][30651][cf274722] HTTP #39 10.1.120.93:56593 GET http://10.4.7.85:1985/api/v1/streams/?callback=angular.callbacks._14, content-length=-1 [2022-05-10 16:48:00.422][Trace][30651][70d695bi] Hybrid cpu=1.00%,15MB, cid=2,0, timer=62,0,0, clock=0,44,4,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) [2022-05-10 16:48:00.548][Trace][30651][i9590178] complex handshake success.
上级
# push gb28181 stream to SRS. listen 1935; max_connections 1000; #daemon off; #srs_log_tank console; srs_log_tank file; srs_log_file ./objs/srs.log; daemon on; http_api { enabled on; listen 1985; } http_server { enabled on; listen 8091; } stats { network 0; } stream_caster { enabled on; caster gb28181; # 转发流到rtmp服务器地址与端口 # TODO: https://github.com/ossrs/srs/pull/1679/files#r400875104 # [stream] is VideoChannelCodecID(视频通道编码ID) for sip # 自动创建的道通[stream] 是‘chid[ssrc]’ [ssrc]是rtp的ssrc # [ssrc] rtp中的ssrc output rtmp://127.0.0.1:1935/live/[stream]; # 接收设备端rtp流的多路复用端口 listen 9000; # 多路复用端口类型,on为tcp,off为udp # 默认:on tcp_enable on; # rtp接收监听端口范围,最小值 rtp_port_min 58200; # rtp接收监听端口范围,最大值 rtp_port_max 58300; # 是否等待关键帧之后,再转发, # off:不需等待,直接转发 # on:等第一个关键帧后,再转发 wait_keyframe on; # rtp包空闲等待时间,如果指定时间没有收到任何包 # rtp监听连接自动停止,发送BYE命令 rtp_idle_timeout 30; # 是否转发音频流 # 目前只支持aac格式,所以需要设备支持aac格式 # on:转发音频 # off:不转发音频,只有视频 # *注意*!!!:flv 只支持11025 22050 44100 三种 # 如果设备端没有三种中任何一个,转发时为自动选择一种格式 # 同时也会将adts的头封装在flv aac raw数据中 # 这样的话播放器为自动通过adts头自动选择采样频率 # 像ffplay, vlc都可以,但是flash是没有声音, # 因为flash,只支持11025 22050 44100 audio_enable off; # 服务器主机号,可以域名或ip地址 # 也就是设备端将媒体发送的地址,如果是服务器是内外网 # 需要写外网地址, # 调用api创建stream session时返回ip地址也是host # $CANDIDATE 是系统环境变量,从环境变量获取地址,如果没有配置,用* # *代表指定stats network 的网卡号地址,如果没有配置network,默认则是第0号网卡地址 # TODO: https://github.com/ossrs/srs/pull/1679/files#r400917594 host 10.4.7.120; #根据收到ps rtp包自带创建rtmp媒体通道,不需要api接口创建 #rtmp地址参数[stream] 就是通道id 格式chid[ssrc] auto_create_channel off; sip { # 是否启用srs内部sip信令 # 为on信令走srs, off 只转发ps流 enabled on; # sip监听udp端口 #listen 5060; listen 15063; # SIP server ID(SIP服务器ID). # 设备端配置编号需要与该值一致,否则无法注册 serial 34020000002000000001; # SIP server domain(SIP服务器域) realm 3402000000; # 服务端发送ack后,接收回应的超时时间,单位为秒 # 如果指定时间没有回应,认为失败 ack_timeout 30; # 设备心跳维持时间,如果指定时间内(秒)没有接收一个心跳 # 认为设备离线 keepalive_timeout 120; # 注册之后是否自动给设备端发送invite # on: 是 off 不是,需要通过api控制 auto_play on; # 设备将流发送的端口,是否固定 # on 发送流到多路复用端口 如9000 # off 自动从rtp_mix_port - rtp_max_port 之间的值中 # 选一个可以用的端口 invite_port_fixed on; # 向设备或下级域查询设备列表的间隔,单位(秒) # 默认60秒 query_catalog_interval 60; } } 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 https://github.com/ossrs/srs/issues/307#issuecomment-599028124 candidate 10.4.7.120; } vhost __defaultVhost__ { rtc { enabled on; bframe discard; } http_remux { enabled on; mount [vhost]/[app]/[stream].flv; } }
下级
# 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; # 转发流到rtmp服务器地址与端口 # TODO: https://github.com/ossrs/srs/pull/1679/files#r400875104 # [stream] is VideoChannelCodecID(视频通道编码ID) for sip # 自动创建的道通[stream] 是‘chid[ssrc]’ [ssrc]是rtp的ssrc # [ssrc] rtp中的ssrc output rtmp://127.0.0.1:1935/live/[stream]; # 接收设备端rtp流的多路复用端口 listen 9000; # 多路复用端口类型,on为tcp,off为udp # 默认:on tcp_enable on; # rtp接收监听端口范围,最小值 rtp_port_min 58200; # rtp接收监听端口范围,最大值 rtp_port_max 58300; # 是否等待关键帧之后,再转发, # off:不需等待,直接转发 # on:等第一个关键帧后,再转发 wait_keyframe on; # rtp包空闲等待时间,如果指定时间没有收到任何包 # rtp监听连接自动停止,发送BYE命令 rtp_idle_timeout 30; # 是否转发音频流 # 目前只支持aac格式,所以需要设备支持aac格式 # on:转发音频 # off:不转发音频,只有视频 # *注意*!!!:flv 只支持11025 22050 44100 三种 # 如果设备端没有三种中任何一个,转发时为自动选择一种格式 # 同时也会将adts的头封装在flv aac raw数据中 # 这样的话播放器为自动通过adts头自动选择采样频率 # 像ffplay, vlc都可以,但是flash是没有声音, # 因为flash,只支持11025 22050 44100 audio_enable off; # 服务器主机号,可以域名或ip地址 # 也就是设备端将媒体发送的地址,如果是服务器是内外网 # 需要写外网地址, # 调用api创建stream session时返回ip地址也是host # $CANDIDATE 是系统环境变量,从环境变量获取地址,如果没有配置,用* # *代表指定stats network 的网卡号地址,如果没有配置network,默认则是第0号网卡地址 # TODO: https://github.com/ossrs/srs/pull/1679/files#r400917594 host 10.4.7.85; #根据收到ps rtp包自带创建rtmp媒体通道,不需要api接口创建 #rtmp地址参数[stream] 就是通道id 格式chid[ssrc] auto_create_channel off; sip { # 是否启用srs内部sip信令 # 为on信令走srs, off 只转发ps流 enabled on; # sip监听udp端口 listen 5060; # SIP server ID(SIP服务器ID). # 设备端配置编号需要与该值一致,否则无法注册 serial 34020000002000000005; # SIP server domain(SIP服务器域) realm 3402000000; # 服务端发送ack后,接收回应的超时时间,单位为秒 # 如果指定时间没有回应,认为失败 ack_timeout 30; # 设备心跳维持时间,如果指定时间内(秒)没有接收一个心跳 # 认为设备离线 keepalive_timeout 120; # 注册之后是否自动给设备端发送invite # on: 是 off 不是,需要通过api控制 auto_play on; # 设备将流发送的端口,是否固定 # on 发送流到多路复用端口 如9000 # off 自动从rtp_mix_port - rtp_max_port 之间的值中 # 选一个可以用的端口 invite_port_fixed on; # 向设备或下级域查询设备列表的间隔,单位(秒) # 默认60秒 query_catalog_interval 60; } } 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 https://github.com/ossrs/srs/issues/307#issuecomment-599028124 candidate 10.4.7.85; } vhost __defaultVhost__ { rtc { enabled on; bframe discard; } http_remux { enabled on; mount [vhost]/[app]/[stream].flv; } cluster { mode remote; origin 10.4.7.120:1935; } }
4 上级srs和下级srs上的全量日志如下: 下级
[2022-05-10 17:03:43.856][Trace][21694][g68s776t] XCORE-SRS/5.0.26(Leo) [2022-05-10 17:03:43.863][Trace][21694][g68s776t] config parse complete [2022-05-10 17:03:43.863][Warn][21694][g68s776t][22] transform: vhost.rtc.bframe to vhost.rtc.keep_bframe off [2022-05-10 17:03:43.864][Trace][21694][g68s776t] write log to console [2022-05-10 17:03:43.865][Trace][21694][g68s776t][MAIN] SRS/5.0.26(Leo), MIT [2022-05-10 17:03:43.865][Trace][21694][g68s776t] 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> Johzzy<hellojinqiang@gmail.com> Zhouxiaojun2008<279686030@qq.com> Pengfei.ma<pengfei.ma.chn@outlook.com> ZhangJunqin<zhangjunqin@jd.com> and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors [2022-05-10 17:03:43.866][Trace][21694][g68s776t] cwd=/home/eb_edge/baiqixiang/gb28281_srs/trunk, work_dir=./, build: 2022-04-27 09:49:32, configure: --x86-x64 --with-gb28181, uname: Linux localhost.localdomain 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, pkg: , region: , source: [2022-05-10 17:03:43.866][Trace][21694][g68s776t] 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-05-10 17:03:43.867][Trace][21694][g68s776t] srs checking config... [2022-05-10 17:03:43.868][Trace][21694][g68s776t] ips, iface[0] enp1s0 ipv4 0x11043 10.4.7.85, iface[1] enp1s0 ipv6 0x11043 fe80::b9bc:731f:cca7:29b6%enp1s0 [2022-05-10 17:03:43.869][Trace][21694][g68s776t] devices, intranet enp1s0 10.4.7.85, intranet enp1s0 fe80::b9bc:731f:cca7:29b6%enp1s0 [2022-05-10 17:03:43.870][Warn][21694][g68s776t][22] stats network use index=0, ip=10.4.7.85, ifname=enp1s0 [2022-05-10 17:03:43.871][Warn][21694][g68s776t][22] stats disk not configed, disk iops disabled. [2022-05-10 17:03:43.871][Trace][21694][g68s776t] write log to console [2022-05-10 17:03:43.872][Trace][21694][g68s776t] 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-05-10 17:03:43.872][Trace][21694][g68s776t] SRS on amd64 x86_64, conf:./conf/push.gb28181.conf, limit:1000, writev:1024, encoding:little-endian, HZ:100 [2022-05-10 17:03:43.873][Trace][21694][g68s776t] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms [2022-05-10 17:03:43.873][Trace][21694][g68s776t] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write) [2022-05-10 17:03:43.873][Trace][21694][g68s776t] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000) [2022-05-10 17:03:43.874][Warn][21694][g68s776t][22] SRS/5.0.26 is not stable [2022-05-10 17:03:43.899][Trace][21694][g68s776t] fingerprint=5A:02:4D:36:4F:C9:9F:9D:53:DE:C8:6B:C9:65:C9:11:A2:91:5F:11:FF:2F:5B:BD:CC:D6:D7:9C:C7:E5:96:C3 [2022-05-10 17:03:43.899][Trace][21694][g68s776t] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99 [2022-05-10 17:03:43.900][Trace][21694][g68s776t] http flv live stream, vhost=__defaultVhost__, mount=[vhost]/[app]/[stream].flv [2022-05-10 17:03:43.900][Trace][21694][g68s776t] http: root mount to ./objs/nginx/html [2022-05-10 17:03:43.900][Trace][21694][g68s776t] server main cid=g68s776t, pid=21694, ppid=11565, asprocess=0 [2022-05-10 17:03:43.901][Trace][21694][g68s776t] write pid=21694 to ./objs/srs.pid success! [2022-05-10 17:03:43.902][Trace][21694][g68s776t] RTMP listen at tcp://0.0.0.0:1935, fd=7 [2022-05-10 17:03:43.902][Trace][21694][g68s776t] HTTP-API listen at tcp://0.0.0.0:1985, fd=8 [2022-05-10 17:03:43.903][Trace][21694][g68s776t] HTTP-Server listen at tcp://0.0.0.0:8080, fd=9 [2022-05-10 17:03:43.908][Trace][21694][g68s776t] UDP #10 LISTEN at 0.0.0.0:5060, SO_SNDBUF(default=212992, expect=10485760, actual=20971520, r0=0), SO_RCVBUF(default=212992, expect=10485760, actual=20971520, r0=0) [2022-05-10 17:03:43.909][Trace][21694][g68s776t] GB28181-SIP over UDP listen at udp://0.0.0.0:5060, fd=10 [2022-05-10 17:03:43.913][Trace][21694][g68s776t] signal installed, reload=1, reopen=10, fast_quit=15, grace_quit=3 [2022-05-10 17:03:43.919][Trace][21694][g68s776t] http: api mount /console to ./objs/nginx/html/console [2022-05-10 17:03:43.920][Trace][21694][g68s776t] rtc listen at udp://0.0.0.0:8000, fd=12 [2022-05-10 17:03:43.925][Trace][21694][3885jum7] Hybrid cpu=0.00%,13MB [2022-05-10 17:03:43.926][Warn][21694][p7v1bsh3][22] use private address as ip: 10.4.7.85, ifname=enp1s0 [2022-05-10 17:03:43.926][Trace][21694][p7v1bsh3] Startup query id=17e52534d04011ec864873dc94b5c2cf, eip=10.4.7.85, wait=320s [2022-05-10 17:03:43.927][Trace][21694][pi751498] GB28181: connection manager run, conns=0 [2022-05-10 17:03:43.927][Trace][21694][7eip54h0] GB28181TCP: connection manager run, conns=0 [2022-05-10 17:03:43.928][Trace][21694][2990t459] TCP: connection manager run, conns=0 [2022-05-10 17:03:43.930][Trace][21694][3t7u8q27] UDP #12 LISTEN at 0.0.0.0:8000, SO_SNDBUF(default=212992, expect=10485760, actual=20971520, r0=0), SO_RCVBUF(default=212992, expect=10485760, actual=20971520, r0=0) [2022-05-10 17:03:43.931][Trace][21694][p9209156] RTC: connection manager run, conns=0 [2022-05-10 17:03:44.865][Trace][21694][g68s776t] gb28181: request client id=34020000001320000004 peer(10.4.7.76, 15060) [2022-05-10 17:03:44.866][Trace][21694][g68s776t] gb28181: request method=REGISTER, uri=sip:34020000002000000005@3402000000, version=SIP/2.0 expires=3600 [2022-05-10 17:03:46.356][Trace][21694][668j0a5r] RTMP client ip=10.4.7.85:41552, fd=13 [2022-05-10 17:03:46.358][Trace][21694][668j0a5r] simple handshake success. [2022-05-10 17:03:46.389][Trace][21694][82ej2tap] RTMP client ip=10.4.7.85:41554, fd=14 [2022-05-10 17:03:46.390][Trace][21694][82ej2tap] simple handshake success. [2022-05-10 17:03:46.397][Trace][21694][668j0a5r] connect app, tcUrl=rtmp://10.4.7.85/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.85, port=1935, app=live, args=null [2022-05-10 17:03:46.397][Trace][21694][668j0a5r] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:03:46.429][Trace][21694][82ej2tap] connect app, tcUrl=rtmp://10.4.7.85/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.85, port=1935, app=live, args=null [2022-05-10 17:03:46.430][Trace][21694][82ej2tap] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:03:46.438][Trace][21694][668j0a5r] client identified, type=rtmp-play, vhost=10.4.7.85, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:03:46.439][Trace][21694][668j0a5r] connected stream, tcUrl=rtmp://10.4.7.85/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=null [2022-05-10 17:03:46.439][Trace][21694][668j0a5r] new source, stream_url=/live/livestream_{i} [2022-05-10 17:03:46.440][Trace][21694][668j0a5r] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=1, source_id=/ [2022-05-10 17:03:46.442][Trace][21694][668j0a5r] ignore disabled exec for vhost=__defaultVhost__ [2022-05-10 17:03:46.443][Trace][21694][668j0a5r] http: mount flv stream for sid=/live/livestream_{i}, mount=/live/livestream_{i}.flv [2022-05-10 17:03:46.444][Trace][21694][668j0a5r] dispatch cached gop success. count=0, duration=-1 [2022-05-10 17:03:46.445][Trace][21694][668j0a5r] create consumer, active=1, queue_size=0.00, jitter=30000000 [2022-05-10 17:03:46.446][Trace][21694][668j0a5r] set fd=13, SO_SNDBUF=2626560=>175000, buffer=350ms [2022-05-10 17:03:46.446][Trace][21694][668j0a5r] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:03:46.447][Trace][21694][668j0a5r] update source_id=pq09053a/668j0a5r [2022-05-10 17:03:46.448][Trace][21694][h233r464] RTMP client ip=10.4.7.85:41556, fd=16 [2022-05-10 17:03:46.449][Trace][21694][h233r464] simple handshake success. [2022-05-10 17:03:46.462][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:03:46.463][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:03:46.471][Trace][21694][82ej2tap] client identified, type=rtmp-play, vhost=10.4.7.85, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:03:46.472][Trace][21694][82ej2tap] connected stream, tcUrl=rtmp://10.4.7.85/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=null [2022-05-10 17:03:46.472][Trace][21694][82ej2tap] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=1, source_id=pq09053a/668j0a5r [2022-05-10 17:03:46.473][Trace][21694][82ej2tap] dispatch cached gop success. count=0, duration=-1 [2022-05-10 17:03:46.474][Trace][21694][82ej2tap] create consumer, active=1, queue_size=0.00, jitter=30000000 [2022-05-10 17:03:46.474][Trace][21694][82ej2tap] set fd=14, SO_SNDBUF=2626560=>175000, buffer=350ms [2022-05-10 17:03:46.475][Trace][21694][82ej2tap] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:03:46.488][Trace][21694][h233r464] connect app, tcUrl=rtmp://10.4.7.85/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.85, port=1935, app=live, args=null [2022-05-10 17:03:46.489][Trace][21694][h233r464] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:03:46.507][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:03:46.508][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:03:46.508][Trace][21694][pq09053a] edge change from 100 to state 101 (pull). [2022-05-10 17:03:46.529][Trace][21694][h233r464] client identified, type=rtmp-play, vhost=10.4.7.85, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:03:46.529][Trace][21694][h233r464] connected stream, tcUrl=rtmp://10.4.7.85/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=null [2022-05-10 17:03:46.529][Trace][21694][h233r464] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=1, source_id=pq09053a/668j0a5r [2022-05-10 17:03:46.529][Trace][21694][h233r464] dispatch cached gop success. count=0, duration=-1 [2022-05-10 17:03:46.529][Trace][21694][h233r464] create consumer, active=1, queue_size=0.00, jitter=30000000 [2022-05-10 17:03:46.529][Trace][21694][h233r464] set fd=16, SO_SNDBUF=2626560=>175000, buffer=350ms [2022-05-10 17:03:46.529][Trace][21694][h233r464] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:03:48.852][Trace][21694][3885jum7] Hybrid cpu=0.00%,13MB [2022-05-10 17:03:48.867][Trace][21694][7iuk0844] gb28181: sip session=34020000001320000004 peer(10.4.7.76, 15060) status(RegisterOk,AliveOk) duration(3,0) [2022-05-10 17:03:49.867][Trace][21694][7iuk0844] gb28181: generate ssrc id=34020000001320000004@34020000001320000003, ssrc=12230414 [2022-05-10 17:03:49.867][Trace][21694][7iuk0844] new source, stream_url=/live/34020000001320000004@34020000001320000003 [2022-05-10 17:03:49.867][Trace][21694][7iuk0844] new source, stream_url=/live/34020000001320000004@34020000001320000003 [2022-05-10 17:03:49.867][Trace][21694][7iuk0844] RTC bridge from RTMP, rtmp2rtc=0, keep_bframe=0, merge_nalus=0 [2022-05-10 17:03:49.868][Trace][21694][7iuk0844] ignore disabled exec for vhost= [2022-05-10 17:03:49.868][Trace][21694][7iuk0844] gb28181: create new stream channel id:34020000001320000004@34020000001320000003 rtmp url=rtmp://127.0.0.1:1935/live/34020000001320000004@34020000001320000003 [2022-05-10 17:03:49.869][Trace][21694][g68s776t] gb28181: request client id=34020000001320000003, peer(10.4.7.76, 15060) [2022-05-10 17:03:49.869][Trace][21694][g68s776t] gb28181: respone method=INVITE, uri=34020000002000000005@3402000000, version=SIP/2.0 [2022-05-10 17:03:49.870][Trace][21694][g68s776t] gb28181: INVITE response 34020000001320000003 client status=100 [2022-05-10 17:03:49.872][Trace][21694][g68s776t] gb28181: ssrc in y line is 12230414:ba9f0e [2022-05-10 17:03:49.872][Trace][21694][g68s776t] gb28181: request client id=34020000001320000003, peer(10.4.7.76, 15060) [2022-05-10 17:03:49.872][Trace][21694][g68s776t] gb28181: respone method=INVITE, uri=34020000002000000005@3402000000, version=SIP/2.0 [2022-05-10 17:03:49.872][Trace][21694][g68s776t] gb28181: INVITE response 34020000001320000003 client status=200 [2022-05-10 17:03:49.872][Trace][21694][g68s776t] gb28181: device unique id is 34020000001320000004@34020000001320000003 [2022-05-10 17:03:49.874][Trace][21694][7q4r0at6] gb28181 new connect by rtp-tcp from: 10.4.7.76:15060 [2022-05-10 17:03:49.976][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27357328 [2022-05-10 17:03:49.979][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:90000, prevBuffer:27357328, _buffer:27388016 [2022-05-10 17:03:49.985][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:210000, prevBuffer:27388016, _buffer:-282001392 [2022-05-10 17:03:50.063][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27388016 [2022-05-10 17:03:50.103][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27418032 [2022-05-10 17:03:50.143][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27448048 [2022-05-10 17:03:50.184][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27478064 [2022-05-10 17:03:50.224][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27508080 [2022-05-10 17:03:50.264][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27538096 [2022-05-10 17:03:50.305][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27568112 [2022-05-10 17:03:50.345][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27598128 [2022-05-10 17:03:50.386][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27628144 [2022-05-10 17:03:50.426][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27658160 [2022-05-10 17:03:50.466][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27688176 [2022-05-10 17:03:50.507][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27718192 [2022-05-10 17:03:50.547][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27748208 [2022-05-10 17:03:50.587][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27778224 [2022-05-10 17:03:50.602][Trace][21694][r77519v1] RTP: jitbuffer key=34020000001320000004@34020000001320000003 reallocate a frame buffer size(107500>0) resize(137500) [2022-05-10 17:03:50.602][Trace][21694][r77519v1] gb28181: ps map video es_type=h264(1b), es_id=e0, es_info_length=28 [2022-05-10 17:03:50.603][Trace][21694][r77519v1] 69B video sh, codec(7, profile=Main, level=3.1, 1280x720, 0kbps, 0.0fps, 0.0s) [2022-05-10 17:03:50.867][Trace][21694][7iuk0844] gb28181: 34020000001320000004 clients device=34020000001320000003 send invite code=0 [2022-05-10 17:03:51.212][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:30000, prevBuffer:0, _buffer:27808240 [2022-05-10 17:03:51.515][Warn][21694][pq09053a][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [21694][pq09053a]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [21694][pq09053a]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [21694][pq09053a]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [21694][pq09053a]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [21694][pq09053a]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [21694][pq09053a]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 17:03:53.853][Trace][21694][3885jum7] Hybrid cpu=1.00%,15MB [2022-05-10 17:03:54.526][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:03:54.526][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:03:54.568][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:03:54.569][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:03:55.070][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:90000, prevBuffer:27778224, _buffer:28118256 [2022-05-10 17:03:55.077][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:210000, prevBuffer:28118256, _buffer:-282353648 [2022-05-10 17:03:56.370][Trace][21694][r77519v1] gb28181: client id=34020000001320000004@34020000001320000003, ssrc=0xba9f0e, peer(10.4.7.76, 15060), rtmp muxer is alive [2022-05-10 17:03:58.853][Trace][21694][3885jum7] Hybrid cpu=0.00%,15MB, cid=8,2, timer=62,0,0, clock=0,44,4,0,1,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:30,oth:0,buf:0) [2022-05-10 17:03:59.571][Warn][21694][pq09053a][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [21694][pq09053a]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [21694][pq09053a]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [21694][pq09053a]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [21694][pq09053a]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [21694][pq09053a]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [21694][pq09053a]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 17:04:00.114][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:90000, prevBuffer:27658160, _buffer:28004784 [2022-05-10 17:04:00.120][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:210000, prevBuffer:28004784, _buffer:28094800 [2022-05-10 17:04:02.578][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:04:02.578][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:02.619][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:04:02.620][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:04:03.854][Trace][21694][3885jum7] Hybrid cpu=1.00%,15MB, cid=8,2, timer=62,0,0, clock=0,44,4,0,1,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:30,oth:0,buf:0) [2022-05-10 17:04:05.162][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:90000, prevBuffer:27538096, _buffer:28003552 [2022-05-10 17:04:05.169][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:210000, prevBuffer:28003552, _buffer:28304816 [2022-05-10 17:04:06.375][Trace][21694][7q4r0at6] <- GBS gb28181: client_id , peer(10.4.7.76, 15060) ps rtp packet 364B, age=22523686, vt=2/96, sts=707/1450800/0xba9f0e, paylod=352B [2022-05-10 17:04:07.622][Warn][21694][pq09053a][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [21694][pq09053a]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [21694][pq09053a]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [21694][pq09053a]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [21694][pq09053a]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [21694][pq09053a]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [21694][pq09053a]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 17:04:08.854][Trace][21694][3885jum7] Hybrid cpu=1.00%,15MB, cid=8,2, timer=62,0,0, clock=0,44,4,0,1,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:30,oth:0,buf:0) [2022-05-10 17:04:10.195][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:90000, prevBuffer:27418032, _buffer:28000544 [2022-05-10 17:04:10.201][Trace][21694][7q4r0at6] RTP: jitbuffer VerifyAndAllocate:newSize:210000, prevBuffer:28000544, _buffer:-282566640 [2022-05-10 17:04:10.630][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:04:10.630][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:10.672][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:04:10.673][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:04:13.854][Trace][21694][3885jum7] Hybrid cpu=2.00%,16MB, cid=2,0, timer=61,0,0, clock=0,42,6,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:50,oth:0,buf:0) [2022-05-10 17:04:15.676][Warn][21694][pq09053a][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [21694][pq09053a]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [21694][pq09053a]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [21694][pq09053a]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [21694][pq09053a]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [21694][pq09053a]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [21694][pq09053a]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 17:04:16.383][Trace][21694][r77519v1] gb28181: client id=34020000001320000004@34020000001320000003, ssrc=0xba9f0e, peer(10.4.7.76, 15060), rtmp muxer is alive [2022-05-10 17:04:18.691][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:04:18.692][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:18.695][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:04:18.736][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:04:18.855][Trace][21694][3885jum7] Hybrid cpu=0.00%,16MB, cid=2,0, timer=61,0,0, clock=0,42,6,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:50,oth:0,buf:0) [2022-05-10 17:04:23.742][Warn][21694][pq09053a][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [21694][pq09053a]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [21694][pq09053a]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [21694][pq09053a]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [21694][pq09053a]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [21694][pq09053a]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [21694][pq09053a]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 17:04:23.856][Trace][21694][3885jum7] Hybrid cpu=0.00%,16MB, cid=2,0, timer=62,0,0, clock=0,42,5,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) [2022-05-10 17:04:26.410][Trace][21694][r77519v1] gb28181: client id=34020000001320000004@34020000001320000003, ssrc=0xba9f0e, peer(10.4.7.76, 15060), rtmp muxer is alive [2022-05-10 17:04:26.769][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:04:26.769][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:26.812][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:04:26.814][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:04:28.857][Trace][21694][3885jum7] Hybrid cpu=0.00%,16MB, cid=2,0, timer=62,0,0, clock=0,42,5,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) [2022-05-10 17:04:31.818][Warn][21694][pq09053a][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [21694][pq09053a]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [21694][pq09053a]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [21694][pq09053a]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [21694][pq09053a]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [21694][pq09053a]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [21694][pq09053a]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 17:04:33.857][Trace][21694][3885jum7] Hybrid cpu=1.00%,16MB, cid=1,0, timer=61,0,0, clock=0,43,4,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) [2022-05-10 17:04:34.827][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:04:34.827][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:34.872][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:04:34.873][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:04:36.398][Trace][21694][r77519v1] gb28181: client id=34020000001320000004@34020000001320000003, ssrc=0xba9f0e, peer(10.4.7.76, 15060), rtmp muxer is alive [2022-05-10 17:04:38.858][Trace][21694][3885jum7] Hybrid cpu=1.00%,16MB, cid=1,0, timer=61,0,0, clock=0,43,4,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) [2022-05-10 17:04:39.917][Warn][21694][pq09053a][62] EdgeIngester: Ignore error, code=1011 : recv message : recv interlaced message : read basic header : basic header requires 1 bytes : read bytes : timeout 5000 ms thread [21694][pq09053a]: ingest() [src/app/srs_app_edge.cpp:566][errno=62] thread [21694][pq09053a]: recv_message() [src/protocol/srs_rtmp_stack.cpp:372][errno=62] thread [21694][pq09053a]: recv_interlaced_message() [src/protocol/srs_rtmp_stack.cpp:859][errno=62] thread [21694][pq09053a]: read_basic_header() [src/protocol/srs_rtmp_stack.cpp:954][errno=62] thread [21694][pq09053a]: grow() [src/protocol/srs_protocol_stream.cpp:162][errno=62] thread [21694][pq09053a]: read() [src/protocol/srs_service_st.cpp:522][errno=62] [2022-05-10 17:04:42.931][Trace][21694][pq09053a] complex handshake success. [2022-05-10 17:04:42.931][Trace][21694][pq09053a] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:42.972][Trace][21694][pq09053a] connected, version=5.0.26.0, ip=10.4.7.120, pid=31798, id=0, dsu=1 [2022-05-10 17:04:42.974][Trace][21694][pq09053a] edge-pull publish url rtmp://10.4.7.120:1935/live/livestream_{i}, stream=livestream_{i} as livestream_{i} [2022-05-10 17:04:43.858][Trace][21694][3885jum7] Hybrid cpu=1.00%,16MB, cid=1,0, timer=61,0,0, clock=0,43,4,0,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:49,oth:0,buf:0) ^C[2022-05-10 17:04:44.188][Trace][21694][g68s776t] sig=2, user terminate program, fast quit ^C^C[2022-05-10 17:04:44.890][Trace][21694][g68s776t] cleanup for quit signal fast=1, grace=0
[2022-05-10 17:03:32.622][Trace][31796][z18d40as][MAIN] SRS/5.0.26(Leo), MIT [2022-05-10 17:03:32.622][Trace][31796][z18d40as] 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> Johzzy<hellojinqiang@gmail.com> Zhouxiaojun2008<279686030@qq.com> Pengfei.ma<pengfei.ma.chn@outlook.com> ZhangJunqin<zhangjunqin@jd.com> and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors [2022-05-10 17:03:32.622][Trace][31796][z18d40as] cwd=/root/luoxingyu/videoStream/my28181/srs-gb28181-feature-gb28181/trunk, work_dir=./, build: 2022-04-14 18:40:13, configure: --x86-x64 --with-gb28181, uname: Linux localhost.localdomain 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, pkg: , region: , source: [2022-05-10 17:03:32.622][Trace][31796][z18d40as] 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-05-10 17:03:32.622][Trace][31796][z18d40as] srs checking config... [2022-05-10 17:03:32.624][Trace][31796][z18d40as] ips, iface[0] enp0s3 ipv4 0x11043 10.4.7.120, iface[1] enp0s3 ipv6 0x11043 fe80::1714:fdb6:cd58:831f%enp0s3 [2022-05-10 17:03:32.624][Trace][31796][z18d40as] devices, intranet enp0s3 10.4.7.120, intranet enp0s3 fe80::1714:fdb6:cd58:831f%enp0s3 [2022-05-10 17:03:32.624][Warn][31796][z18d40as][22] stats network use index=0, ip=10.4.7.120, ifname=enp0s3 [2022-05-10 17:03:32.624][Warn][31796][z18d40as][22] stats disk not configed, disk iops disabled. [2022-05-10 17:03:32.624][Trace][31796][z18d40as] you can check log by: tail -n 30 -f ./objs/srs.log [2022-05-10 17:03:32.624][Trace][31796][z18d40as] please check SRS by: ./etc/init.d/srs status [2022-05-10 17:03:32.624][Trace][31796][z18d40as] 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-05-10 17:03:32.624][Trace][31796][z18d40as] SRS on amd64 x86_64, conf:./conf/push.gb28181.conf, limit:1000, writev:1024, encoding:little-endian, HZ:100 [2022-05-10 17:03:32.624][Trace][31796][z18d40as] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms [2022-05-10 17:03:32.624][Trace][31796][z18d40as] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write) [2022-05-10 17:03:32.624][Trace][31796][z18d40as] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000) [2022-05-10 17:03:32.624][Warn][31796][z18d40as][22] SRS/5.0.26 is not stable [2022-05-10 17:03:32.624][Trace][31796][z18d40as] start daemon mode... [2022-05-10 17:03:32.626][Trace][31797][z18d40as] father process exit [2022-05-10 17:03:32.627][Trace][31796][z18d40as] grandpa process exit. [2022-05-10 17:03:32.630][Trace][31798][z18d40as] son(daemon) process running. [2022-05-10 17:03:32.639][Trace][31798][z18d40as] fingerprint=28:19:E6:C7:CE:3B:D4:04:9F:ED:C7:59:19:48:48:20:2B:4A:DA:E2:F4:C6:7D:80:26:92:07:41:A2:0A:32:AA [2022-05-10 17:03:32.639][Trace][31798][z18d40as] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99 [2022-05-10 17:03:32.639][Trace][31798][z18d40as] http flv live stream, vhost=__defaultVhost__, mount=[vhost]/[app]/[stream].flv [2022-05-10 17:03:32.639][Trace][31798][z18d40as] http: root mount to ./objs/nginx/html [2022-05-10 17:03:32.639][Trace][31798][z18d40as] server main cid=z18d40as, pid=31798, ppid=1, asprocess=0 [2022-05-10 17:03:32.639][Trace][31798][z18d40as] write pid=31798 to ./objs/srs.pid success! [2022-05-10 17:03:32.639][Trace][31798][z18d40as] RTMP listen at tcp://0.0.0.0:1935, fd=8 [2022-05-10 17:03:32.639][Trace][31798][z18d40as] HTTP-API listen at tcp://0.0.0.0:1985, fd=9 [2022-05-10 17:03:32.639][Trace][31798][z18d40as] HTTP-Server listen at tcp://0.0.0.0:8091, fd=10 [2022-05-10 17:03:32.641][Trace][31798][z18d40as] UDP #11 LISTEN at 0.0.0.0:15063, SO_SNDBUF(default=212992, expect=10485760, actual=425984, r0=0), SO_RCVBUF(default=212992, expect=10485760, actual=425984, r0=0) [2022-05-10 17:03:32.641][Trace][31798][z18d40as] GB28181-SIP over UDP listen at udp://0.0.0.0:15063, fd=11 [2022-05-10 17:03:32.642][Trace][31798][z18d40as] signal installed, reload=1, reopen=10, fast_quit=15, grace_quit=3 [2022-05-10 17:03:32.642][Trace][31798][z18d40as] http: api mount /console to ./objs/nginx/html/console [2022-05-10 17:03:32.642][Trace][31798][z18d40as] rtc listen at udp://0.0.0.0:8000, fd=13 [2022-05-10 17:03:32.643][Trace][31798][5r8n0l16] Hybrid cpu=0.00%,12MB [2022-05-10 17:03:32.643][Warn][31798][8515xlnk][22] use private address as ip: 10.4.7.120, ifname=enp0s3 [2022-05-10 17:03:32.643][Trace][31798][8515xlnk] Startup query id=112ea184d04011ec8389cb87fd021f8c, eip=10.4.7.120, wait=536s [2022-05-10 17:03:32.643][Trace][31798][78696826] GB28181: connection manager run, conns=0 [2022-05-10 17:03:32.643][Trace][31798][ov237141] GB28181TCP: connection manager run, conns=0 [2022-05-10 17:03:32.643][Trace][31798][7753q724] TCP: connection manager run, conns=0 [2022-05-10 17:03:32.643][Trace][31798][f10b375v] UDP #13 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-05-10 17:03:32.643][Trace][31798][5r01zd7o] RTC: connection manager run, conns=0 [2022-05-10 17:03:37.615][Trace][31798][5r8n0l16] Hybrid cpu=2.00%,12MB [2022-05-10 17:03:42.616][Trace][31798][5r8n0l16] Hybrid cpu=1.00%,12MB [2022-05-10 17:03:43.964][Trace][31798][mkj40418] RTMP client ip=10.4.7.85:37602, fd=14 [2022-05-10 17:03:43.979][Trace][31798][mkj40418] complex handshake success [2022-05-10 17:03:43.980][Trace][31798][mkj40418] connect app, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.120, port=1935, app=live, args=(obj) [2022-05-10 17:03:43.980][Trace][31798][mkj40418] edge-srs ip=10.4.7.85, version=5.0.26, pid=21694, id=0 [2022-05-10 17:03:43.980][Trace][31798][mkj40418] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:03:44.024][Trace][31798][mkj40418] client identified, type=rtmp-play, vhost=10.4.7.120, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:03:44.024][Trace][31798][mkj40418] connected stream, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=(obj) [2022-05-10 17:03:44.024][Trace][31798][mkj40418] new source, stream_url=/live/livestream_{i} [2022-05-10 17:03:44.025][Trace][31798][mkj40418] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=0, source_id=/ [2022-05-10 17:03:44.026][Trace][31798][mkj40418] create consumer, active=0, queue_size=0.00, jitter=30000000 [2022-05-10 17:03:44.026][Trace][31798][mkj40418] set fd=14, SO_SNDBUF=332800=>175000, buffer=350ms [2022-05-10 17:03:44.026][Trace][31798][mkj40418] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:03:47.618][Trace][31798][5r8n0l16] Hybrid cpu=1.01%,12MB, cid=1,1, timer=61,0,0, clock=1,38,9,1,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:03:52.033][Trace][31798][mkj40418] TCP: before dispose resource(RtmpConn)(0x1b582b0), conns=1, zombies=0, ign=0, inz=0, ind=0 [2022-05-10 17:03:52.033][Warn][31798][mkj40418][104] client disconnect peer. ret=1007 [2022-05-10 17:03:52.033][Trace][31798][7753q724] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0 [2022-05-10 17:03:52.033][Trace][31798][mkj40418] TCP: disposing #0 resource(RtmpConn)(0x1b582b0), conns=1, disposing=1, zombies=0 [2022-05-10 17:03:52.033][Trace][31798][1muj3w7f] RTMP client ip=10.4.7.85:37604, fd=14 [2022-05-10 17:03:52.042][Trace][31798][1muj3w7f] complex handshake success [2022-05-10 17:03:52.042][Trace][31798][1muj3w7f] connect app, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.120, port=1935, app=live, args=(obj) [2022-05-10 17:03:52.042][Trace][31798][1muj3w7f] edge-srs ip=10.4.7.85, version=5.0.26, pid=21694, id=0 [2022-05-10 17:03:52.042][Trace][31798][1muj3w7f] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:03:52.084][Trace][31798][1muj3w7f] client identified, type=rtmp-play, vhost=10.4.7.120, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:03:52.085][Trace][31798][1muj3w7f] connected stream, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=(obj) [2022-05-10 17:03:52.085][Trace][31798][1muj3w7f] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=0, source_id=/ [2022-05-10 17:03:52.085][Trace][31798][1muj3w7f] create consumer, active=0, queue_size=0.00, jitter=30000000 [2022-05-10 17:03:52.085][Trace][31798][1muj3w7f] set fd=14, SO_SNDBUF=332800=>175000, buffer=350ms [2022-05-10 17:03:52.085][Trace][31798][1muj3w7f] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:03:52.620][Trace][31798][5r8n0l16] Hybrid cpu=0.00%,12MB, cid=1,1, timer=61,0,0, clock=1,38,9,1,0,0,0,0,0, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:03:57.620][Trace][31798][5r8n0l16] Hybrid cpu=1.00%,13MB, cid=3,1, timer=61,0,0, clock=0,36,10,1,1,0,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:04:00.088][Trace][31798][1muj3w7f] TCP: before dispose resource(RtmpConn)(0x1b582b0), conns=1, zombies=0, ign=0, inz=0, ind=0 [2022-05-10 17:04:00.088][Warn][31798][1muj3w7f][104] client disconnect peer. ret=1007 [2022-05-10 17:04:00.088][Trace][31798][7753q724] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0 [2022-05-10 17:04:00.088][Trace][31798][1muj3w7f] TCP: disposing #0 resource(RtmpConn)(0x1b582b0), conns=1, disposing=1, zombies=0 [2022-05-10 17:04:00.089][Trace][31798][8g1994xg] RTMP client ip=10.4.7.85:37606, fd=14 [2022-05-10 17:04:00.094][Trace][31798][8g1994xg] complex handshake success [2022-05-10 17:04:00.094][Trace][31798][8g1994xg] connect app, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.120, port=1935, app=live, args=(obj) [2022-05-10 17:04:00.094][Trace][31798][8g1994xg] edge-srs ip=10.4.7.85, version=5.0.26, pid=21694, id=0 [2022-05-10 17:04:00.094][Trace][31798][8g1994xg] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:00.136][Trace][31798][8g1994xg] client identified, type=rtmp-play, vhost=10.4.7.120, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:04:00.136][Trace][31798][8g1994xg] connected stream, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=(obj) [2022-05-10 17:04:00.136][Trace][31798][8g1994xg] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=0, source_id=/ [2022-05-10 17:04:00.136][Trace][31798][8g1994xg] create consumer, active=0, queue_size=0.00, jitter=30000000 [2022-05-10 17:04:00.137][Trace][31798][8g1994xg] set fd=14, SO_SNDBUF=332800=>175000, buffer=350ms [2022-05-10 17:04:00.137][Trace][31798][8g1994xg] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:04:00.137][Trace][31798][8g1994xg] -> PLA time=0, msgs=0, okbps=594,0,0, ikbps=480,0,0, mw=350/8 [2022-05-10 17:04:02.621][Trace][31798][5r8n0l16] Hybrid cpu=1.00%,13MB, cid=3,1, timer=61,0,0, clock=0,36,10,1,1,0,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:04:07.621][Trace][31798][5r8n0l16] Hybrid cpu=0.00%,13MB, cid=3,1, timer=61,0,0, clock=0,37,9,1,1,0,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:04:08.139][Trace][31798][8g1994xg] TCP: before dispose resource(RtmpConn)(0x1b582b0), conns=1, zombies=0, ign=0, inz=0, ind=0 [2022-05-10 17:04:08.139][Warn][31798][8g1994xg][104] client disconnect peer. ret=1007 [2022-05-10 17:04:08.140][Trace][31798][7753q724] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0 [2022-05-10 17:04:08.140][Trace][31798][8g1994xg] TCP: disposing #0 resource(RtmpConn)(0x1b582b0), conns=1, disposing=1, zombies=0 [2022-05-10 17:04:08.140][Trace][31798][kdx536w2] RTMP client ip=10.4.7.85:37608, fd=14 [2022-05-10 17:04:08.146][Trace][31798][kdx536w2] complex handshake success [2022-05-10 17:04:08.146][Trace][31798][kdx536w2] connect app, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.120, port=1935, app=live, args=(obj) [2022-05-10 17:04:08.146][Trace][31798][kdx536w2] edge-srs ip=10.4.7.85, version=5.0.26, pid=21694, id=0 [2022-05-10 17:04:08.146][Trace][31798][kdx536w2] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:08.189][Trace][31798][kdx536w2] client identified, type=rtmp-play, vhost=10.4.7.120, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:04:08.189][Trace][31798][kdx536w2] connected stream, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=(obj) [2022-05-10 17:04:08.189][Trace][31798][kdx536w2] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=0, source_id=/ [2022-05-10 17:04:08.190][Trace][31798][kdx536w2] create consumer, active=0, queue_size=0.00, jitter=30000000 [2022-05-10 17:04:08.190][Trace][31798][kdx536w2] set fd=14, SO_SNDBUF=332800=>175000, buffer=350ms [2022-05-10 17:04:08.190][Trace][31798][kdx536w2] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:04:12.622][Trace][31798][5r8n0l16] Hybrid cpu=0.00%,13MB, cid=3,1, timer=61,0,0, clock=0,37,9,1,1,0,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:04:16.192][Trace][31798][kdx536w2] TCP: before dispose resource(RtmpConn)(0x1b583c0), conns=1, zombies=0, ign=0, inz=0, ind=0 [2022-05-10 17:04:16.193][Warn][31798][kdx536w2][104] client disconnect peer. ret=1007 [2022-05-10 17:04:16.193][Trace][31798][7753q724] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0 [2022-05-10 17:04:16.193][Trace][31798][kdx536w2] TCP: disposing #0 resource(RtmpConn)(0x1b583c0), conns=1, disposing=1, zombies=0 [2022-05-10 17:04:16.200][Trace][31798][5z656hh9] RTMP client ip=10.4.7.85:37610, fd=14 [2022-05-10 17:04:16.208][Trace][31798][5z656hh9] complex handshake success [2022-05-10 17:04:16.208][Trace][31798][5z656hh9] connect app, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.120, port=1935, app=live, args=(obj) [2022-05-10 17:04:16.209][Trace][31798][5z656hh9] edge-srs ip=10.4.7.85, version=5.0.26, pid=21694, id=0 [2022-05-10 17:04:16.209][Trace][31798][5z656hh9] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:16.255][Trace][31798][5z656hh9] client identified, type=rtmp-play, vhost=10.4.7.120, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:04:16.255][Trace][31798][5z656hh9] connected stream, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=(obj) [2022-05-10 17:04:16.255][Trace][31798][5z656hh9] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=0, source_id=/ [2022-05-10 17:04:16.255][Trace][31798][5z656hh9] create consumer, active=0, queue_size=0.00, jitter=30000000 [2022-05-10 17:04:16.255][Trace][31798][5z656hh9] set fd=14, SO_SNDBUF=332800=>175000, buffer=350ms [2022-05-10 17:04:16.256][Trace][31798][5z656hh9] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:04:16.256][Trace][31798][5z656hh9] -> PLA time=0, msgs=0, okbps=824,0,0, ikbps=665,0,0, mw=350/8 [2022-05-10 17:04:17.622][Trace][31798][5r8n0l16] Hybrid cpu=2.00%,13MB, cid=3,1, timer=61,0,0, clock=0,37,9,1,1,0,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:04:22.623][Trace][31798][5r8n0l16] Hybrid cpu=1.00%,13MB, cid=4,1, timer=61,0,0, clock=0,35,12,1,1,0,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:04:24.259][Trace][31798][5z656hh9] TCP: before dispose resource(RtmpConn)(0x1b60bf0), conns=1, zombies=0, ign=0, inz=0, ind=0 [2022-05-10 17:04:24.259][Warn][31798][5z656hh9][104] client disconnect peer. ret=1007 [2022-05-10 17:04:24.260][Trace][31798][7753q724] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0 [2022-05-10 17:04:24.260][Trace][31798][5z656hh9] TCP: disposing #0 resource(RtmpConn)(0x1b60bf0), conns=1, disposing=1, zombies=0 [2022-05-10 17:04:24.277][Trace][31798][8zxy1p61] RTMP client ip=10.4.7.85:37612, fd=14 [2022-05-10 17:04:24.285][Trace][31798][8zxy1p61] complex handshake success [2022-05-10 17:04:24.286][Trace][31798][8zxy1p61] connect app, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.120, port=1935, app=live, args=(obj) [2022-05-10 17:04:24.286][Trace][31798][8zxy1p61] edge-srs ip=10.4.7.85, version=5.0.26, pid=21694, id=0 [2022-05-10 17:04:24.286][Trace][31798][8zxy1p61] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:24.330][Trace][31798][8zxy1p61] client identified, type=rtmp-play, vhost=10.4.7.120, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:04:24.330][Trace][31798][8zxy1p61] connected stream, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=(obj) [2022-05-10 17:04:24.330][Trace][31798][8zxy1p61] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=0, source_id=/ [2022-05-10 17:04:24.332][Trace][31798][8zxy1p61] create consumer, active=0, queue_size=0.00, jitter=30000000 [2022-05-10 17:04:24.332][Trace][31798][8zxy1p61] set fd=14, SO_SNDBUF=332800=>175000, buffer=350ms [2022-05-10 17:04:24.332][Trace][31798][8zxy1p61] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:04:27.624][Trace][31798][5r8n0l16] Hybrid cpu=0.00%,13MB, cid=4,1, timer=61,0,0, clock=0,35,12,1,1,0,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:1,oth:0,buf:0) [2022-05-10 17:04:32.335][Trace][31798][8zxy1p61] TCP: before dispose resource(RtmpConn)(0x1b60650), conns=1, zombies=0, ign=0, inz=0, ind=0 [2022-05-10 17:04:32.335][Warn][31798][8zxy1p61][104] client disconnect peer. ret=1007 [2022-05-10 17:04:32.335][Trace][31798][7753q724] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0 [2022-05-10 17:04:32.335][Trace][31798][8zxy1p61] TCP: disposing #0 resource(RtmpConn)(0x1b60650), conns=1, disposing=1, zombies=0 [2022-05-10 17:04:32.336][Trace][31798][gr556465] RTMP client ip=10.4.7.85:37614, fd=14 [2022-05-10 17:04:32.344][Trace][31798][gr556465] complex handshake success [2022-05-10 17:04:32.345][Trace][31798][gr556465] connect app, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=10.4.7.120, port=1935, app=live, args=(obj) [2022-05-10 17:04:32.345][Trace][31798][gr556465] edge-srs ip=10.4.7.85, version=5.0.26, pid=21694, id=0 [2022-05-10 17:04:32.345][Trace][31798][gr556465] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128 [2022-05-10 17:04:32.389][Trace][31798][gr556465] client identified, type=rtmp-play, vhost=10.4.7.120, app=live, stream=livestream_{i}, param=, duration=-1ms [2022-05-10 17:04:32.389][Trace][31798][gr556465] connected stream, tcUrl=rtmp://10.4.7.120/live, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=live, stream=livestream_{i}, param=, args=(obj) [2022-05-10 17:04:32.389][Trace][31798][gr556465] source url=/live/livestream_{i}, ip=10.4.7.85, cache=1, is_edge=0, source_id=/ [2022-05-10 17:04:32.390][Trace][31798][gr556465] create consumer, active=0, queue_size=0.00, jitter=30000000 [2022-05-10 17:04:32.390][Trace][31798][gr556465] set fd=14, SO_SNDBUF=332800=>175000, buffer=350ms [2022-05-10 17:04:32.390][Trace][31798][gr556465] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0 [2022-05-10 17:04:32.391][Trace][31798][gr556465] -> PLA time=0, msgs=0, okbps=863,0,0, ikbps=697,0,0, mw=350/8 [2022-05-10 17:04:32.624][Trace][31798][5r8n0l16] Hybrid cpu=1.00%,13MB, cid=6,1, timer=61,0,0, clock=0,35,11,1,0,1,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:2,oth:0,buf:0) [2022-05-10 17:04:37.624][Trace][31798][5r8n0l16] Hybrid cpu=1.00%,13MB, cid=6,1, timer=61,0,0, clock=0,35,11,1,0,1,0,0,0, free=1, objs=(pkt:0,raw:0,fua:0,msg:2,oth:0,buf:0)
在上级srs看不到有rtmp流上来,用vlc等播放器去播放rtmp://10.4.7.120:1935/live/34020000001320000004@34020000002000000003 也是播放不了。
在局域网做级联测试时,摄像头连接下级srs,下级srs配置remote到上级srs。
SRS版本(Version): 5.0.26
下级SRS的报错日志如下:
上级
下级
4 上级srs和下级srs上的全量日志如下: 下级
上级
在上级srs看不到有rtmp流上来,用vlc等播放器去播放rtmp://10.4.7.120:1935/live/34020000001320000004@34020000002000000003 也是播放不了。