ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.7k stars 5.38k forks source link

SRS produces audio with glitches #3051

Open wastemaster opened 2 years ago

wastemaster commented 2 years ago

I'm redirecting brave (https://github.com/bbc/brave) output to SRS server and getting strange glitches in audio stream.

When opening stream with VLC glitches are present in both RTMP and HLS streams. You can check them here:

rtmp://koi.neuraloom.stream:1935/app/green
https://goldfish.neuraloom.stream/app/green.m3u8

Stream is sent to SRS via RMTP Unfortunately, I cannot identify whos glitch is this - brave, vlc or SRS. So please if you have any ideas - how we can figure this out - please let me know.

SRS Version(版本): SRS/4.0.251(Leo)

SRS Log(日志):

Attaching to srs_srs_1
srs_1  | [2022-05-26 15:23:14.373][Trace][1][6915nkq3] XCORE-SRS/4.0.251(Leo)
srs_1  | [2022-05-26 15:23:14.373][Trace][1][6915nkq3] config parse complete
srs_1  | [2022-05-26 15:23:14.373][Warn][1][6915nkq3][22] transform: vhost.mix_correct to vhost.play.mix_correct of vhost
srs_1  | [2022-05-26 15:23:14.373][Trace][1][6915nkq3] write log to console
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3][MAIN] SRS/4.0.251(Leo), MIT
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] authors: https://github.com/ossrs/srs/blob/4.0release/trunk/AUTHORS.txt
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] contributors: Winlin<winlin@vip.126.com> Winlin<winterserver@126.com> Winlin<chengli.ycl@alibaba-inc.com> Wenjie<zhaowenjie@tal.com> Wenjie<740936897@qq.com> Wenjie<wenjie.zhao@chinacache.com> xiangcheng.liu<liuxc0116@foxmail.com> naijia.liu<youngcow@youngcow.net> alcoholyi<alcoholyi@qq.com> byteman<wangchen2011@gmail.com> chad.wang<chad.wang.cn@gmail.com> suhetao<suhetao@gmail.com> Johnny<fengjihu@163.com> karthikeyan<keyanmca@gmail.com> StevenLiu<lq@chinaffmpeg.org> zhengfl<zhengfl_1989@126.com> tufang14<breadbean1449@gmail.com> allspace<allspace@gmail.com> niesongsong<nie950@gmail.com> rudeb0t<nimrod@themanxgroup.tw> CallMeNP<np.liamg@gmail.com> synote<synote@qq.com> lovecat<littlefawn@163.com> panda1986<542638787@qq.com> YueHonghui<hongf.yue@hotmail.com> ThomasDreibholz<dreibh@simula.no> JuntaoLiu<juntliu@gmail.com> RocFang<fangpeng1986@gmail.com> MakarovYaroslav<yaroslav.makarov.97@mail.ru> MirkoVelic<mvelic@inoxx.net> HuiZhang(huzhang2)<huzhang2@cisco.com> OtterWa<simpleotter23@gmail.com> walkermi<172192667@qq.com> haofz<fuzhuang.hao@vhall.com> ME_Kun_Han<hanvskun@hotmail.com> ljx0305<ljx0305@gmail.com> cenxinwei<censhanhe@163.com> StarBrilliant<m13253@hotmail.com> xubin<xubin@chnvideo.com> intliang<yintiliang@gmail.com> flowerwrong<sysuyangkang@gmail.com> YLX<568414379@qq.com> J<guotaojiang@qq.com> Harlan<hailiang@gvrcraft.com> hankun<hankun@bravovcloud.com> JonathanBarratt<jonathan.barratt@gmail.com> KeeganH<keeganwharris@gmail.com> StevenLiu<lingjiujianke@gmail.com> liuxc0116<liuxc0116@gmail.com> ChengdongZhang<lmajzcd@sina.com> lovacat<lovecat@china.sina.com> qiang.li<qiang.li@verycdn.com.cn> HungMingWu<u9089000@gmail.com> Himer<xishizhaohua@qq.com> XiaLixin<xialixin@kanzhun.com> XiaLixin<68469352@qq.com> XiaLixin<xlx0625@163.com> XiaLixin<xialx@yuntongxun.com> alphonsetai<tyh_123@163.com> Michael.Ma<wnpllr@gmail.com> lam2003<linmin3@yy.com> ShiWei<shiwei05@kuaishou.com> ShiWei<shi.weibd@hotmail.com> XiaofengWang<wasphin@gmail.com> XiaoZhihong<hondaxiao@tencent.com> XiaoZhihong<xiaozhihong8@gmail.com> XiaoZhihong<xiaozhihong@huya.com> yanghuiwen<cainiaodj@qq.com> WuPengqiang<309554135@qq.com> WuPengqiang<pengqiang.wpq@alibaba-inc.com> l<22312935+lam2003@github> xfalcon<x-falcon@github> ChenGuanghua<jinxue.cgh@alibaba-inc.com> ChenGuanghua<chengh_math@126.com> LiPeng<mozhan.lp@alibaba-inc.com> LiPeng<lipeng19811218@gmail.com> yajun18<yajun18@staff.sina.com.cn> liulichuan<liulichuan@kuaishou.com> yapingcat<caoyapingneu@163.com> chenchengbin<chenchengbin@yy.com> ChenHaibo<495810242@qq.com> ChenHaibo<nmgchenhaibo@foxmail.com> jasongwq<jasongwq@gmail.com> yinjiaoyuan<yinjiaoyuan@163.com> PieerePi<pihuibin@hotmail.com> JesseXi<jesse.jinjin@wo.cn> PieerePi<40780488+PieerePi@github> ghostsf<ghost_sf@163.com> xbpeng121<53243357+xbpeng121@github> johzzy<hellojinqiang@gmail.com> stone<bluestn@163.com> cfw11<34058899+cfw11@github> Hung-YiChen<gaod.chen@gmail.com> long<liyalong12345@126.com> matthew1838<77285055+matthew1838@github> rise<rise.worlds@outlook.com> 
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] cwd=/usr/local/srs, work_dir=./, build: 2022-03-19 05:11:35, configure: --x86-x64 --srt=on --jobs=2, uname: Linux c15743c99b3b 5.11.0-1028-azure #31~20.04.2-Ubuntu SMP Tue Jan 18 08:46:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux, osx: 0, pkg: dcis, region: , source: 
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] 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=on --rtc=on --simulator=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
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] srs checking config...
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] ips, iface[0] eth0 ipv4 0x11043 172.17.0.2
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] devices, intranet eth0 172.17.0.2
srs_1  | [2022-05-26 15:23:14.374][Warn][1][6915nkq3][22] stats network use index=0, ip=172.17.0.2, ifname=eth0
srs_1  | [2022-05-26 15:23:14.374][Warn][1][6915nkq3][22] stats disk not configed, disk iops disabled.
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] write log to console
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] 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
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] SRS on  amd64 x86_64, conf:/srs-config/server.conf, limit:1000, writev:1024, encoding:little-endian, HZ:100
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write)
srs_1  | [2022-05-26 15:23:14.374][Trace][1][6915nkq3] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000)
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] fingerprint=8B:84:54:ED:CB:B8:25:D6:C4:1E:AA:D3:2F:F1:C6:7E:19:64:38:07:C3:61:71:03:E2:AA:F2:A5:95:B2:35:27
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] http: root mount to ./objs/nginx/html
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] server main cid=6915nkq3, pid=1, ppid=0, asprocess=0
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] write pid=1 to ./objs/srs.pid success!
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] RTMP listen at tcp://0.0.0.0:1935, fd=7
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] HTTP-API listen at tcp://0.0.0.0:1985, fd=8
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] HTTP-Server listen at tcp://0.0.0.0:8080, fd=9
srs_1  | [2022-05-26 15:23:14.380][Trace][1][6915nkq3] signal installed, reload=1, reopen=10, fast_quit=15, grace_quit=3
srs_1  | [2022-05-26 15:23:14.381][Trace][1][6915nkq3] http: api mount /console to ./objs/nginx/html/console
srs_1  | [2022-05-26 15:23:14.381][Trace][1][6915nkq3] srt2rtmp start coroutine...
srs_1  | [2022-05-26 15:23:14.381][Trace][1][6915nkq3] rtc listen at udp://0.0.0.0:8000, fd=12
srs_1  | [2022-05-26 15:23:14.381][Trace][1][243t7tme] Hybrid cpu=0.00%,13MB
srs_1  | [2022-05-26 15:23:14.381][Warn][1][40653c4u][22] use private address as ip: 172.17.0.2, ifname=eth0
srs_1  | [2022-05-26 15:23:14.381][Trace][1][40653c4u] Startup query id=c2c47418dd0711ec8f28ab9f1b90059b, eip=172.17.0.2, wait=546s
srs_1  | [2022-05-26 15:23:14.381][Trace][1][a89o39n6] TCP: connection manager run, conns=0
srs_1  | [2022-05-26 15:23:14.382][Warn][1][6915nkq3][11] enable auto reload for docker
srs_1  | [2022-05-26 15:23:14.382][Trace][1][6915nkq3] auto reload watching fd=13, watch=1, file=/srs-config
srs_1  | [2022-05-26 15:23:14.382][Trace][1][n8534p46] srt server is enabled...
srs_1  | [2022-05-26 15:23:14.382][Trace][1][n8534p46] srt server listen port:10080
srs_1  | [2022-05-26 15:23:14.382][Trace][1][n8534p46] init srt parameter, maxbw:-1, mss:1500, tlpkdrop:1, connect timeout:3000, send buff:12058624, recv buff:12058624, payload size:1316, latency:120, recv latency:120, peer latency:0
srs_1  | [2022-05-26 15:23:14.382][Trace][1][n8534p46] srt server listen port=10080, server_fd=503699867
srs_1  | [2022-05-26 15:23:14.382][Trace][1][n8534p46] srt server is starting... port(10080)
srs_1  | [2022-05-26 15:23:14.382][Trace][1][n8534p46] srt server is working port(10080)
srs_1  | [2022-05-26 15:23:14.382][Trace][1][945305nf] UDP #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)
srs_1  | [2022-05-26 15:23:14.382][Trace][1][7d9ke60i] RTC: connection manager run, conns=0
srs_1  | [2022-05-26 15:23:14.384][Warn][1][945305nf][11] handle udp pkt, count=1/1, err: code=5008 : size=70, data=[81 c9 00 07 00 00 00 01] : no session, peer_id=172.17.0.1:45305, fast=-454863562347638356
srs_1  | thread [1][945305nf]: cycle() [src/app/srs_app_listener.cpp:630][errno=11]
srs_1  | thread [1][945305nf]: on_udp_packet() [src/app/srs_app_rtc_server.cpp:455][errno=11]
srs_1  | [2022-05-26 15:23:19.372][Trace][1][243t7tme] Hybrid cpu=1.00%,13MB
srs_1  | [2022-05-26 15:23:24.373][Trace][1][243t7tme] Hybrid cpu=0.00%,13MB
srs_1  | [2022-05-26 15:23:24.406][Warn][1][945305nf][11] handle udp pkt, count=706/706, err: code=5008 : size=100, data=[00 01 00 50 21 12 a4 42] : no session, stun username=c1644p9p:lGtb, peer_id=172.17.0.1:35095, fast=1695886734698484140
srs_1  | thread [1][945305nf]: cycle() [src/app/srs_app_listener.cpp:630][errno=11]
srs_1  | thread [1][945305nf]: on_udp_packet() [src/app/srs_app_rtc_server.cpp:446][errno=11]
srs_1  | [2022-05-26 15:23:24.406][Trace][1][945305nf] <- RTC RECV #12, udp 706, pps 70/70, schedule 706
srs_1  | [2022-05-26 15:23:29.373][Trace][1][243t7tme] Hybrid cpu=1.00%,13MB, cid=68,1, timer=62,0,0, clock=1,47,1,0,0,0,0,0,0
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srt connect construct streamid:#!::r=app/cam3,m=publish, mode:2, subpath:app/cam3, vhost:__default_host__
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] new srt connection streamid:#!::r=app/cam3,m=publish, fd:503699866, vhost:__default_host__
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srto SRTO_LATENCY=120
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srto SRTO_PEERLATENCY=120
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srto SRTO_RCVLATENCY=120
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srto SRTO_SNDBUF=12058624
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srto SRTO_RCVBUF=12058624
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srto SRTO_MAXBW=-1
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srt mix_correct is enable.
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srt h264 sei filter is enable.
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] srt_handle add new pusher streamid:#!::r=app/cam3,m=publish, subpath:app/cam3, sid:app/cam3
srs_1  | [2022-05-26 15:23:29.867][Trace][1][n8534p46] new conn added fd:503699866, event:0x00000009
srs_1  | [2022-05-26 15:23:29.988][Trace][1][n8534p46] new rtmp client for srt upstream, key_path:app/cam3
srs_1  | [2022-05-26 15:23:29.989][Trace][1][n8534p46] rtmp client construct url:rtmp://127.0.0.1:1935/app/cam3?upstream=srt
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srt connect construct streamid:#!::r=app/cam1,m=publish, mode:2, subpath:app/cam1, vhost:__default_host__
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] new srt connection streamid:#!::r=app/cam1,m=publish, fd:503699865, vhost:__default_host__
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srto SRTO_LATENCY=120
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srto SRTO_PEERLATENCY=120
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srto SRTO_RCVLATENCY=120
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srto SRTO_SNDBUF=12058624
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srto SRTO_RCVBUF=12058624
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srto SRTO_MAXBW=-1
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srt mix_correct is enable.
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srt h264 sei filter is enable.
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] srt_handle add new pusher streamid:#!::r=app/cam1,m=publish, subpath:app/cam1, sid:app/cam1
srs_1  | [2022-05-26 15:23:30.018][Trace][1][n8534p46] new conn added fd:503699865, event:0x00000009
srs_1  | [2022-05-26 15:23:30.019][Trace][1][8bp6458h] RTMP client ip=127.0.0.1:41612, fd=15
srs_1  | [2022-05-26 15:23:30.022][Trace][1][n8534p46] complex handshake success.
srs_1  | [2022-05-26 15:23:30.022][Trace][1][n8534p46] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.022][Trace][1][8bp6458h] complex handshake success
srs_1  | [2022-05-26 15:23:30.022][Trace][1][8bp6458h] connect app, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=127.0.0.1, port=1935, app=app, args=(obj)
srs_1  | [2022-05-26 15:23:30.022][Trace][1][8bp6458h] edge-srs ip=172.17.0.2, version=4.0.251, pid=1, id=0
srs_1  | [2022-05-26 15:23:30.022][Trace][1][8bp6458h] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.022][Trace][1][n8534p46] connected, version=4.0.251.0, ip=127.0.0.1, pid=1, id=0, dsu=1
srs_1  | [2022-05-26 15:23:30.023][Trace][1][8bp6458h] client identified, type=flash-publish, vhost=127.0.0.1, app=app, stream=cam3, param=?upstream=srt&vhost=127.0.0.1, duration=0ms
srs_1  | [2022-05-26 15:23:30.023][Trace][1][8bp6458h] connected stream, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam3, param=?upstream=srt&vhost=127.0.0.1, args=(obj)
srs_1  | [2022-05-26 15:23:30.023][Trace][1][8bp6458h] new source, stream_url=/app/cam3
srs_1  | [2022-05-26 15:23:30.023][Trace][1][8bp6458h] source url=/app/cam3, ip=127.0.0.1, cache=1, is_edge=0, source_id=/
srs_1  | [2022-05-26 15:23:30.023][Trace][1][8bp6458h] new source, stream_url=/app/cam3
srs_1  | [2022-05-26 15:23:30.026][Trace][1][8bp6458h] RTC bridge from RTMP, rtmp2rtc=1, keep_bframe=0, merge_nalus=0
srs_1  | [2022-05-26 15:23:30.026][Trace][1][8bp6458h] hls: win=60000ms, frag=10000ms, prefix=, path=./objs/nginx/html, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1
srs_1  | [2022-05-26 15:23:30.026][Trace][1][8bp6458h] ignore disabled exec for vhost=__defaultVhost__
srs_1  | [2022-05-26 15:23:30.026][Trace][1][8bp6458h] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt connect construct streamid:#!::r=app/cam2,m=publish, mode:2, subpath:app/cam2, vhost:__default_host__
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] new srt connection streamid:#!::r=app/cam2,m=publish, fd:503699864, vhost:__default_host__
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_LATENCY=120
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_PEERLATENCY=120
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_RCVLATENCY=120
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_SNDBUF=12058624
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_RCVBUF=12058624
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_MAXBW=-1
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt mix_correct is enable.
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt h264 sei filter is enable.
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt_handle add new pusher streamid:#!::r=app/cam2,m=publish, subpath:app/cam2, sid:app/cam2
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] new conn added fd:503699864, event:0x00000009
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt connect construct streamid:#!::r=app/cam5,m=publish, mode:2, subpath:app/cam5, vhost:__default_host__
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] new srt connection streamid:#!::r=app/cam5,m=publish, fd:503699863, vhost:__default_host__
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_LATENCY=120
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_PEERLATENCY=120
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_RCVLATENCY=120
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_SNDBUF=12058624
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_RCVBUF=12058624
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srto SRTO_MAXBW=-1
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt mix_correct is enable.
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt h264 sei filter is enable.
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] srt_handle add new pusher streamid:#!::r=app/cam5,m=publish, subpath:app/cam5, sid:app/cam5
srs_1  | [2022-05-26 15:23:30.053][Trace][1][n8534p46] new conn added fd:503699863, event:0x00000009
srs_1  | [2022-05-26 15:23:30.144][Trace][1][n8534p46] new rtmp client for srt upstream, key_path:app/cam1
srs_1  | [2022-05-26 15:23:30.144][Trace][1][n8534p46] rtmp client construct url:rtmp://127.0.0.1:1935/app/cam1?upstream=srt
srs_1  | [2022-05-26 15:23:30.174][Trace][1][n8534p46] new rtmp client for srt upstream, key_path:app/cam2
srs_1  | [2022-05-26 15:23:30.175][Trace][1][n8534p46] rtmp client construct url:rtmp://127.0.0.1:1935/app/cam2?upstream=srt
srs_1  | [2022-05-26 15:23:30.175][Trace][1][n8534p46] new rtmp client for srt upstream, key_path:app/cam5
srs_1  | [2022-05-26 15:23:30.175][Trace][1][n8534p46] rtmp client construct url:rtmp://127.0.0.1:1935/app/cam5?upstream=srt
srs_1  | [2022-05-26 15:23:30.206][Trace][1][d7812717] RTMP client ip=127.0.0.1:41614, fd=18
srs_1  | [2022-05-26 15:23:30.208][Trace][1][n8534p46] complex handshake success.
srs_1  | [2022-05-26 15:23:30.208][Trace][1][n8534p46] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.208][Trace][1][d7812717] complex handshake success
srs_1  | [2022-05-26 15:23:30.208][Trace][1][d7812717] connect app, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=127.0.0.1, port=1935, app=app, args=(obj)
srs_1  | [2022-05-26 15:23:30.208][Trace][1][d7812717] edge-srs ip=172.17.0.2, version=4.0.251, pid=1, id=0
srs_1  | [2022-05-26 15:23:30.208][Trace][1][d7812717] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.208][Trace][1][n8534p46] connected, version=4.0.251.0, ip=127.0.0.1, pid=1, id=0, dsu=1
srs_1  | [2022-05-26 15:23:30.209][Trace][1][d7812717] client identified, type=flash-publish, vhost=127.0.0.1, app=app, stream=cam1, param=?upstream=srt&vhost=127.0.0.1, duration=0ms
srs_1  | [2022-05-26 15:23:30.209][Trace][1][d7812717] connected stream, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam1, param=?upstream=srt&vhost=127.0.0.1, args=(obj)
srs_1  | [2022-05-26 15:23:30.209][Trace][1][d7812717] new source, stream_url=/app/cam1
srs_1  | [2022-05-26 15:23:30.209][Trace][1][d7812717] source url=/app/cam1, ip=127.0.0.1, cache=1, is_edge=0, source_id=/
srs_1  | [2022-05-26 15:23:30.209][Trace][1][d7812717] new source, stream_url=/app/cam1
srs_1  | [2022-05-26 15:23:30.210][Trace][1][d7812717] RTC bridge from RTMP, rtmp2rtc=1, keep_bframe=0, merge_nalus=0
srs_1  | [2022-05-26 15:23:30.210][Trace][1][d7812717] hls: win=60000ms, frag=10000ms, prefix=, path=./objs/nginx/html, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1
srs_1  | [2022-05-26 15:23:30.210][Trace][1][d7812717] ignore disabled exec for vhost=__defaultVhost__
srs_1  | [2022-05-26 15:23:30.210][Trace][1][d7812717] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0
srs_1  | [2022-05-26 15:23:30.240][Trace][1][7td169r4] RTMP client ip=127.0.0.1:41616, fd=21
srs_1  | [2022-05-26 15:23:30.242][Trace][1][n8534p46] complex handshake success.
srs_1  | [2022-05-26 15:23:30.242][Trace][1][n8534p46] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.242][Trace][1][7td169r4] complex handshake success
srs_1  | [2022-05-26 15:23:30.242][Trace][1][7td169r4] connect app, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=127.0.0.1, port=1935, app=app, args=(obj)
srs_1  | [2022-05-26 15:23:30.242][Trace][1][7td169r4] edge-srs ip=172.17.0.2, version=4.0.251, pid=1, id=0
srs_1  | [2022-05-26 15:23:30.242][Trace][1][7td169r4] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.242][Trace][1][n8534p46] connected, version=4.0.251.0, ip=127.0.0.1, pid=1, id=0, dsu=1
srs_1  | [2022-05-26 15:23:30.243][Trace][1][7td169r4] client identified, type=flash-publish, vhost=127.0.0.1, app=app, stream=cam2, param=?upstream=srt&vhost=127.0.0.1, duration=0ms
srs_1  | [2022-05-26 15:23:30.243][Trace][1][7td169r4] connected stream, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam2, param=?upstream=srt&vhost=127.0.0.1, args=(obj)
srs_1  | [2022-05-26 15:23:30.243][Trace][1][7td169r4] new source, stream_url=/app/cam2
srs_1  | [2022-05-26 15:23:30.243][Trace][1][7td169r4] source url=/app/cam2, ip=127.0.0.1, cache=1, is_edge=0, source_id=/
srs_1  | [2022-05-26 15:23:30.243][Trace][1][7td169r4] new source, stream_url=/app/cam2
srs_1  | [2022-05-26 15:23:30.244][Trace][1][7td169r4] RTC bridge from RTMP, rtmp2rtc=1, keep_bframe=0, merge_nalus=0
srs_1  | [2022-05-26 15:23:30.244][Trace][1][7td169r4] hls: win=60000ms, frag=10000ms, prefix=, path=./objs/nginx/html, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1
srs_1  | [2022-05-26 15:23:30.244][Trace][1][7td169r4] ignore disabled exec for vhost=__defaultVhost__
srs_1  | [2022-05-26 15:23:30.244][Trace][1][7td169r4] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0
srs_1  | [2022-05-26 15:23:30.244][Trace][1][564huf78] RTMP client ip=127.0.0.1:41618, fd=23
srs_1  | [2022-05-26 15:23:30.246][Trace][1][n8534p46] complex handshake success.
srs_1  | [2022-05-26 15:23:30.246][Trace][1][n8534p46] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.246][Trace][1][564huf78] complex handshake success
srs_1  | [2022-05-26 15:23:30.247][Trace][1][564huf78] connect app, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=127.0.0.1, port=1935, app=app, args=(obj)
srs_1  | [2022-05-26 15:23:30.247][Trace][1][564huf78] edge-srs ip=172.17.0.2, version=4.0.251, pid=1, id=0
srs_1  | [2022-05-26 15:23:30.247][Trace][1][564huf78] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:23:30.247][Trace][1][n8534p46] connected, version=4.0.251.0, ip=127.0.0.1, pid=1, id=0, dsu=1
srs_1  | [2022-05-26 15:23:30.248][Trace][1][564huf78] client identified, type=flash-publish, vhost=127.0.0.1, app=app, stream=cam5, param=?upstream=srt&vhost=127.0.0.1, duration=0ms
srs_1  | [2022-05-26 15:23:30.248][Trace][1][564huf78] connected stream, tcUrl=rtmp://127.0.0.1/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam5, param=?upstream=srt&vhost=127.0.0.1, args=(obj)
srs_1  | [2022-05-26 15:23:30.248][Trace][1][564huf78] new source, stream_url=/app/cam5
srs_1  | [2022-05-26 15:23:30.248][Trace][1][564huf78] source url=/app/cam5, ip=127.0.0.1, cache=1, is_edge=0, source_id=/
srs_1  | [2022-05-26 15:23:30.248][Trace][1][564huf78] new source, stream_url=/app/cam5
srs_1  | [2022-05-26 15:23:30.249][Trace][1][564huf78] RTC bridge from RTMP, rtmp2rtc=1, keep_bframe=0, merge_nalus=0
srs_1  | [2022-05-26 15:23:30.249][Trace][1][564huf78] hls: win=60000ms, frag=10000ms, prefix=, path=./objs/nginx/html, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1
srs_1  | [2022-05-26 15:23:30.249][Trace][1][564huf78] ignore disabled exec for vhost=__defaultVhost__
srs_1  | [2022-05-26 15:23:30.249][Trace][1][564huf78] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0
srs_1  | [2022-05-26 15:23:30.491][Trace][1][d7812717] 4B audio sh, codec(10, profile=LC, 2channels, 0kbps, 44100HZ), flv(16bits, 2channels, 44100HZ)
srs_1  | [2022-05-26 15:23:30.492][Trace][1][8bp6458h] 4B audio sh, codec(10, profile=LC, 2channels, 0kbps, 44100HZ), flv(16bits, 2channels, 44100HZ)
srs_1  | [2022-05-26 15:23:30.493][Trace][1][8bp6458h] 46B video sh,  codec(7, profile=Baseline, level=5, 1280x720, 0kbps, 0.0fps, 0.0s)
srs_1  | [2022-05-26 15:23:30.522][Trace][1][7td169r4] 4B audio sh, codec(10, profile=LC, 2channels, 0kbps, 44100HZ), flv(16bits, 2channels, 44100HZ)
srs_1  | [2022-05-26 15:23:30.523][Trace][1][564huf78] 4B audio sh, codec(10, profile=LC, 2channels, 0kbps, 44100HZ), flv(16bits, 2channels, 44100HZ)
srs_1  | [2022-05-26 15:23:30.523][Trace][1][d7812717] 50B video sh,  codec(7, profile=Baseline, level=5, 1280x720, 0kbps, 0.0fps, 0.0s)
srs_1  | [2022-05-26 15:23:30.553][Trace][1][7td169r4] 45B video sh,  codec(7, profile=Baseline, level=5, 1280x720, 0kbps, 0.0fps, 0.0s)
srs_1  | [2022-05-26 15:23:30.555][Trace][1][564huf78] 46B video sh,  codec(7, profile=Baseline, level=5, 1280x720, 0kbps, 0.0fps, 0.0s)
srs_1  | [2022-05-26 15:23:34.374][Trace][1][243t7tme] Hybrid cpu=15.00%,26MB, cid=68,1, timer=62,0,0, clock=1,47,1,0,0,0,0,0,0
srs_1  | [2022-05-26 15:23:39.375][Trace][1][243t7tme] Hybrid cpu=12.99%,29MB, cid=18,2, timer=60,0,0, clock=0,27,19,1,0,0,0,0,0, objs=(pkt:1053,raw:178,fua:873,msg:2284,oth:1,buf:179)
srs_1  | [2022-05-26 15:23:40.211][Trace][1][d7812717] -> HLS time=9995045ms, sno=1, ts=cam1-0.ts, dur=9743ms, dva=0p
srs_1  | [2022-05-26 15:23:44.379][Trace][1][243t7tme] Hybrid cpu=13.99%,30MB, cid=18,2, timer=60,0,0, clock=0,27,19,1,0,0,0,0,0, objs=(pkt:1053,raw:178,fua:873,msg:2284,oth:1,buf:179)
srs_1  | [2022-05-26 15:23:49.380][Trace][1][243t7tme] Hybrid cpu=14.99%,30MB, cid=18,2, timer=60,0,0, clock=0,27,19,1,0,0,0,0,0, objs=(pkt:1053,raw:178,fua:873,msg:2284,oth:1,buf:179)
srs_1  | [2022-05-26 15:23:50.202][Trace][1][d7812717] -> HLS time=19993860ms, sno=2, ts=cam1-1.ts, dur=9240ms, dva=0p
srs_1  | [2022-05-26 15:23:50.243][Trace][1][7td169r4] <- CPB time=0, okbps=1,0,0, ikbps=1154,0,0, mr=0/350, p1stpt=20000, pnt=5000
srs_1  | [2022-05-26 15:23:54.380][Trace][1][243t7tme] Hybrid cpu=15.00%,30MB, cid=1,0, timer=60,0,0, clock=0,26,20,1,0,0,0,0,0, objs=(pkt:1274,raw:200,fua:1073,msg:2635,oth:1,buf:201)
srs_1  | [2022-05-26 15:23:55.212][Trace][1][d7812717] <- CPB time=19993860, okbps=1,0,0, ikbps=2554,0,0, mr=0/350, p1stpt=20000, pnt=5000
srs_1  | [2022-05-26 15:23:59.381][Trace][1][243t7tme] Hybrid cpu=15.00%,30MB, cid=1,0, timer=60,0,0, clock=0,26,20,1,0,0,0,0,0, objs=(pkt:1274,raw:200,fua:1073,msg:2635,oth:1,buf:201)
srs_1  | [2022-05-26 15:24:00.215][Trace][1][7td169r4] -> HLS time=29962816ms, sno=2, ts=cam2-1.ts, dur=19680ms, dva=0p
srs_1  | [2022-05-26 15:24:04.381][Trace][1][243t7tme] Hybrid cpu=13.99%,30MB, cid=1,0, timer=60,0,0, clock=0,26,19,1,0,0,0,0,0, objs=(pkt:1181,raw:199,fua:980,msg:2543,oth:1,buf:201)
srs_1  | [2022-05-26 15:24:05.212][Trace][1][d7812717] <- CPB time=30004095, okbps=0,0,0, ikbps=2446,2470,0, mr=0/350, p1stpt=20000, pnt=5000
srs_1  | [2022-05-26 15:24:09.382][Trace][1][243t7tme] Hybrid cpu=13.99%,30MB, cid=1,0, timer=60,0,0, clock=0,26,19,1,0,0,0,0,0, objs=(pkt:1181,raw:199,fua:980,msg:2543,oth:1,buf:201)
srs_1  | [2022-05-26 15:24:10.237][Trace][1][8bp6458h] -> HLS time=40208417ms, sno=3, ts=cam3-2.ts, dur=13320ms, dva=0p
srs_1  | [2022-05-26 15:24:10.658][Trace][1][42607y1b] RTMP client ip=172.17.0.1:50054, fd=26
srs_1  | [2022-05-26 15:24:10.659][Trace][1][42607y1b] simple handshake success.
srs_1  | [2022-05-26 15:24:10.659][Trace][1][42607y1b] connect app, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=koi.neuraloom.stream, port=1935, app=app, args=null
srs_1  | [2022-05-26 15:24:10.659][Trace][1][42607y1b] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:24:10.659][Trace][1][42607y1b] ignore AMF0/AMF3 command message.
srs_1  | [2022-05-26 15:24:10.659][Trace][1][42607y1b] client identified, type=rtmp-play, vhost=koi.neuraloom.stream, app=app, stream=cam1, param=, duration=-1ms
srs_1  | [2022-05-26 15:24:10.659][Trace][1][42607y1b] connected stream, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam1, param=, args=null
srs_1  | [2022-05-26 15:24:10.659][Trace][1][42607y1b] source url=/app/cam1, ip=172.17.0.1, cache=1, is_edge=0, source_id=d7812717/d7812717
srs_1  | [2022-05-26 15:24:10.660][Trace][1][42607y1b] dispatch cached gop success. count=324, duration=4789
srs_1  | [2022-05-26 15:24:10.660][Trace][1][42607y1b] create consumer, active=1, queue_size=0.00, jitter=30000000
srs_1  | [2022-05-26 15:24:10.660][Trace][1][42607y1b] set fd=26, SO_SNDBUF=87040=>175000, buffer=350ms
srs_1  | [2022-05-26 15:24:10.660][Trace][1][42607y1b] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0
srs_1  | [2022-05-26 15:24:10.661][Trace][1][483obn84] RTMP client ip=172.17.0.1:50058, fd=27
srs_1  | [2022-05-26 15:24:10.661][Trace][1][483obn84] simple handshake success.
srs_1  | [2022-05-26 15:24:10.661][Trace][1][483obn84] connect app, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=koi.neuraloom.stream, port=1935, app=app, args=null
srs_1  | [2022-05-26 15:24:10.661][Trace][1][483obn84] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:24:10.661][Trace][1][483obn84] ignore AMF0/AMF3 command message.
srs_1  | [2022-05-26 15:24:10.662][Trace][1][483obn84] client identified, type=rtmp-play, vhost=koi.neuraloom.stream, app=app, stream=cam2, param=, duration=-1ms
srs_1  | [2022-05-26 15:24:10.662][Trace][1][483obn84] connected stream, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam2, param=, args=null
srs_1  | [2022-05-26 15:24:10.662][Trace][1][483obn84] source url=/app/cam2, ip=172.17.0.1, cache=1, is_edge=0, source_id=7td169r4/7td169r4
srs_1  | [2022-05-26 15:24:10.662][Trace][1][483obn84] dispatch cached gop success. count=10, duration=162
srs_1  | [2022-05-26 15:24:10.662][Trace][1][483obn84] create consumer, active=1, queue_size=0.00, jitter=30000000
srs_1  | [2022-05-26 15:24:10.662][Trace][1][483obn84] set fd=27, SO_SNDBUF=87040=>175000, buffer=350ms
srs_1  | [2022-05-26 15:24:10.662][Trace][1][483obn84] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0
srs_1  | [2022-05-26 15:24:10.662][Trace][1][67w3v3f3] RTMP client ip=172.17.0.1:50062, fd=28
srs_1  | [2022-05-26 15:24:10.663][Trace][1][67w3v3f3] simple handshake success.
srs_1  | [2022-05-26 15:24:10.663][Trace][1][67w3v3f3] connect app, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=koi.neuraloom.stream, port=1935, app=app, args=null
srs_1  | [2022-05-26 15:24:10.663][Trace][1][67w3v3f3] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:24:10.663][Trace][1][67w3v3f3] ignore AMF0/AMF3 command message.
srs_1  | [2022-05-26 15:24:10.663][Trace][1][67w3v3f3] client identified, type=rtmp-play, vhost=koi.neuraloom.stream, app=app, stream=cam3, param=, duration=-1ms
srs_1  | [2022-05-26 15:24:10.663][Trace][1][67w3v3f3] connected stream, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam3, param=, args=null
srs_1  | [2022-05-26 15:24:10.663][Trace][1][67w3v3f3] source url=/app/cam3, ip=172.17.0.1, cache=1, is_edge=0, source_id=8bp6458h/8bp6458h
srs_1  | [2022-05-26 15:24:10.664][Trace][1][67w3v3f3] dispatch cached gop success. count=255, duration=3775
srs_1  | [2022-05-26 15:24:10.664][Trace][1][67w3v3f3] create consumer, active=1, queue_size=0.00, jitter=30000000
srs_1  | [2022-05-26 15:24:10.664][Trace][1][67w3v3f3] set fd=28, SO_SNDBUF=87040=>175000, buffer=350ms
srs_1  | [2022-05-26 15:24:10.664][Trace][1][67w3v3f3] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0
srs_1  | [2022-05-26 15:24:10.667][Trace][1][6rym9720] RTMP client ip=172.17.0.1:50066, fd=29
srs_1  | [2022-05-26 15:24:10.667][Trace][1][6rym9720] simple handshake success.
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] connect app, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=koi.neuraloom.stream, port=1935, app=app, args=null
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] ignore AMF0/AMF3 command message.
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] client identified, type=rtmp-play, vhost=koi.neuraloom.stream, app=app, stream=cam5, param=, duration=-1ms
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] connected stream, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=cam5, param=, args=null
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] source url=/app/cam5, ip=172.17.0.1, cache=1, is_edge=0, source_id=564huf78/564huf78
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] dispatch cached gop success. count=81, duration=1221
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] create consumer, active=1, queue_size=0.00, jitter=30000000
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] set fd=29, SO_SNDBUF=87040=>175000, buffer=350ms
srs_1  | [2022-05-26 15:24:10.668][Trace][1][6rym9720] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0
srs_1  | [2022-05-26 15:24:10.830][Trace][1][r5063v6f] RTMP client ip=172.17.0.1:50080, fd=30
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] RTMP client ip=172.17.0.1:50084, fd=31
srs_1  | [2022-05-26 15:24:10.831][Trace][1][r5063v6f] simple handshake success.
srs_1  | [2022-05-26 15:24:10.831][Trace][1][r5063v6f] connect app, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=koi.neuraloom.stream, port=1935, app=app, args=null
srs_1  | [2022-05-26 15:24:10.831][Trace][1][r5063v6f] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] simple handshake success.
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] connect app, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=koi.neuraloom.stream, port=1935, app=app, args=null
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:24:10.831][Trace][1][r5063v6f] client identified, type=fmle-publish, vhost=koi.neuraloom.stream, app=app, stream=green-copy, param=, duration=0ms
srs_1  | [2022-05-26 15:24:10.831][Trace][1][r5063v6f] connected stream, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=green-copy, param=, args=null
srs_1  | [2022-05-26 15:24:10.831][Trace][1][r5063v6f] new source, stream_url=/app/green-copy
srs_1  | [2022-05-26 15:24:10.831][Trace][1][r5063v6f] source url=/app/green-copy, ip=172.17.0.1, cache=1, is_edge=0, source_id=/
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] client identified, type=fmle-publish, vhost=koi.neuraloom.stream, app=app, stream=green, param=, duration=0ms
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] connected stream, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=green, param=, args=null
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] new source, stream_url=/app/green
srs_1  | [2022-05-26 15:24:10.831][Trace][1][8007985n] source url=/app/green, ip=172.17.0.1, cache=1, is_edge=0, source_id=/
srs_1  | [2022-05-26 15:24:10.832][Trace][1][r5063v6f] new source, stream_url=/app/green-copy
srs_1  | [2022-05-26 15:24:10.832][Trace][1][r5063v6f] RTC bridge from RTMP, rtmp2rtc=1, keep_bframe=0, merge_nalus=0
srs_1  | [2022-05-26 15:24:10.832][Trace][1][r5063v6f] hls: win=60000ms, frag=10000ms, prefix=, path=./objs/nginx/html, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1
srs_1  | [2022-05-26 15:24:10.832][Trace][1][r5063v6f] ignore disabled exec for vhost=__defaultVhost__
srs_1  | [2022-05-26 15:24:10.832][Trace][1][r5063v6f] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0
srs_1  | [2022-05-26 15:24:10.832][Trace][1][r5063v6f] got metadata, width=1280, height=720, vcodec=7, acodec=10
srs_1  | [2022-05-26 15:24:10.832][Trace][1][r5063v6f] 47B video sh,  codec(7, profile=Baseline, level=3.1, 1280x720, 0kbps, 0.0fps, 0.0s)
srs_1  | [2022-05-26 15:24:10.833][Trace][1][r5063v6f] 7B audio sh, codec(10, profile=LC, 2channels, 0kbps, 48000HZ), flv(16bits, 2channels, 44100HZ)
srs_1  | [2022-05-26 15:24:10.833][Trace][1][8007985n] new source, stream_url=/app/green
srs_1  | [2022-05-26 15:24:10.833][Trace][1][8007985n] RTC bridge from RTMP, rtmp2rtc=1, keep_bframe=0, merge_nalus=0
srs_1  | [2022-05-26 15:24:10.833][Trace][1][8007985n] hls: win=60000ms, frag=10000ms, prefix=, path=./objs/nginx/html, m3u8=[app]/[stream].m3u8, ts=[app]/[stream]-[seq].ts, aof=2.00, floor=0, clean=1, waitk=1, dispose=0ms, dts_directly=1
srs_1  | [2022-05-26 15:24:10.833][Trace][1][8007985n] ignore disabled exec for vhost=__defaultVhost__
srs_1  | [2022-05-26 15:24:10.833][Trace][1][8007985n] start publish mr=0/350, p1stpt=20000, pnt=5000, tcp_nodelay=0
srs_1  | [2022-05-26 15:24:10.833][Trace][1][8007985n] got metadata, width=1280, height=720, vcodec=7, acodec=10
srs_1  | [2022-05-26 15:24:10.833][Trace][1][8007985n] 47B video sh,  codec(7, profile=Baseline, level=3.1, 1280x720, 0kbps, 0.0fps, 0.0s)
srs_1  | [2022-05-26 15:24:10.834][Trace][1][8007985n] 7B audio sh, codec(10, profile=LC, 2channels, 0kbps, 48000HZ), flv(16bits, 2channels, 44100HZ)
srs_1  | [2022-05-26 15:24:14.383][Trace][1][243t7tme] Hybrid cpu=19.98%,32MB, cid=1,0, timer=60,0,0, clock=0,26,19,1,0,0,0,0,0, objs=(pkt:1181,raw:199,fua:980,msg:2543,oth:1,buf:201)
srs_1  | [2022-05-26 15:24:19.383][Trace][1][243t7tme] Hybrid cpu=21.98%,34MB, cid=9,1, timer=61,0,0, clock=0,33,13,1,0,0,0,0,0, objs=(pkt:1723,raw:645,fua:1075,msg:3647,oth:2,buf:259)
srs_1  | [2022-05-26 15:24:20.214][Trace][1][d7812717] <- CPB time=45005921, okbps=0,0,0, ikbps=2416,2470,0, mr=0/350, p1stpt=20000, pnt=5000
srs_1  | [2022-05-26 15:24:20.431][Trace][1][8007985n] -> HLS time=9590975ms, sno=1, ts=green-0.ts, dur=9566ms, dva=0p
srs_1  | [2022-05-26 15:24:20.927][Trace][1][42607y1b] -> PLA time=9878968, msgs=27, okbps=3387,0,0, ikbps=2,0,0, mw=350/8
srs_1  | [2022-05-26 15:24:24.384][Trace][1][243t7tme] Hybrid cpu=18.98%,34MB, cid=9,1, timer=61,0,0, clock=0,33,13,1,0,0,0,0,0, objs=(pkt:1723,raw:645,fua:1075,msg:3647,oth:2,buf:259)
srs_1  | [2022-05-26 15:24:29.384][Trace][1][243t7tme] Hybrid cpu=18.98%,33MB, cid=1,0, timer=61,0,0, clock=0,40,8,1,0,0,0,0,0, objs=(pkt:2016,raw:968,fua:1044,msg:4263,oth:2,buf:302)
srs_1  | [2022-05-26 15:24:30.446][Trace][1][d7812717] -> HLS time=60234716ms, sno=4, ts=cam1-3.ts, dur=14520ms, dva=0p
srs_1  | [2022-05-26 15:24:30.817][Trace][1][483obn84] -> PLA time=20158811, msgs=0, okbps=1013,0,0, ikbps=1,0,0, mw=350/8
srs_1  | [2022-05-26 15:24:30.833][Trace][1][8007985n] <- CPB time=0, okbps=1,0,0, ikbps=2169,0,0, mr=0/350, p1stpt=20000, pnt=5000
srs_1  | [2022-05-26 15:24:34.385][Trace][1][243t7tme] Hybrid cpu=20.98%,33MB, cid=1,0, timer=61,0,0, clock=0,40,8,1,0,0,0,0,0, objs=(pkt:2016,raw:968,fua:1044,msg:4263,oth:2,buf:302)
srs_1  | [2022-05-26 15:24:35.401][Trace][1][lx8890r1] RTMP client ip=79.140.150.183:48765, fd=34
srs_1  | [2022-05-26 15:24:35.402][Warn][1][lx8890r1][11] regenerate 128B key, current=127B
srs_1  | [2022-05-26 15:24:35.461][Trace][1][lx8890r1] complex handshake success
srs_1  | [2022-05-26 15:24:35.521][Trace][1][lx8890r1] connect app, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=koi.neuraloom.stream, port=1935, app=app, args=null
srs_1  | [2022-05-26 15:24:35.521][Trace][1][lx8890r1] protocol in.buffer=0, in.ack=0, out.ack=0, in.chunk=128, out.chunk=128
srs_1  | [2022-05-26 15:24:35.695][Trace][1][lx8890r1] ignore AMF0/AMF3 command message.
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] ignore AMF0/AMF3 command message.
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] client identified, type=rtmp-play, vhost=koi.neuraloom.stream, app=app, stream=green, param=, duration=-1ms
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] connected stream, tcUrl=rtmp://koi.neuraloom.stream:1935/app, pageUrl=, swfUrl=, schema=rtmp, vhost=__defaultVhost__, port=1935, app=app, stream=green, param=, args=null
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] source url=/app/green, ip=79.140.150.183, cache=1, is_edge=0, source_id=8007985n/8007985n
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] dispatch cached gop success. count=99, duration=1283
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] create consumer, active=1, queue_size=0.00, jitter=30000000
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] set fd=34, SO_SNDBUF=87040=>175000, buffer=350ms
srs_1  | [2022-05-26 15:24:35.809][Trace][1][lx8890r1] start play smi=0ms, mw_sleep=350, mw_msgs=8, realtime=0, tcp_nodelay=0
srs_1  | [2022-05-26 15:24:39.385][Trace][1][243t7tme] Hybrid cpu=21.00%,33MB, cid=3,1, timer=61,0,0, clock=0,37,10,1,0,0,0,0,0, objs=(pkt:2124,raw:957,fua:1165,msg:4411,oth:2,buf:302)
srs_1  | [2022-05-26 15:24:39.422][Trace][1][lx8890r1] stream consumer change pause state 0=>1
srs_1  | [2022-05-26 15:24:40.253][Trace][1][7td169r4] <- CPB time=65007017, okbps=0,0,0, ikbps=1100,1004,0, mr=0/350, p1stpt=20000, pnt=5000
srs_1  | [2022-05-26 15:24:40.458][Trace][1][564huf78] -> HLS time=70202149ms, sno=7, ts=cam5-6.ts, dur=7320ms, dva=0p
srs_1  | [2022-05-26 15:24:42.047][Trace][1][6rym9720] -> PLA time=31020121, msgs=24, okbps=4581,4616,0, ikbps=0,0,0, mw=350/8
srs_1  | [2022-05-26 15:24:44.385][Trace][1][243t7tme] Hybrid cpu=21.00%,33MB, cid=3,1, timer=61,0,0, clock=0,37,10,1,0,0,0,0,0, objs=(pkt:2124,raw:957,fua:1165,msg:4411,oth:2,buf:302)
srs_1  | [2022-05-26 15:24:49.386][Trace][1][243t7tme] Hybrid cpu=19.98%,35MB, cid=3,1, timer=61,0,0, clock=0,37,10,1,0,0,0,0,0, objs=(pkt:2124,raw:957,fua:1165,msg:4411,oth:2,buf:302)
srs_1  | [2022-05-26 15:24:50.253][Trace][1][7td169r4] <- CPB time=74997906, okbps=0,0,0, ikbps=1092,1004,0, mr=0/350, p1stpt=20000, pnt=5000
srs_1  | [2022-05-26 15:24:50.436][Trace][1][7td169r4] -> HLS time=80197385ms, sno=5, ts=cam2-4.ts, dur=9880ms, dva=0p
srs_1  | [2022-05-26 15:24:52.090][Trace][1][6rym9720] -> PLA time=41053609, msgs=25, okbps=4574,4616,0, ikbps=0,0,0, mw=350/8
srs_1  | [2022-05-26 15:24:53.089][Trace][1][6ylh83vj] inotify event wd=1, mask=0x100, len=16, name=output.txt, reload=0
  1. SRS Config(Configuration):
listen              1935;
max_connections     1000;
daemon              off;
srs_log_tank        console;

http_api {
    enabled         on;
    listen          1985;
}

srt_server {
    enabled on;
    listen 10080;
    #maxbw 1000000000;
    #connect_timeout 4000;
    #peerlatency 300;
    #recvlatency 300;
}

http_server {
    enabled         on;
    listen          8080;
    dir             ./objs/nginx/html;
}

rtc_server {
    enabled on;
    # Listen at udp://8000
    listen 8000;
    candidate $CANDIDATE;
}

vhost __defaultVhost__ {
    mix_correct on;
    rtc {
        enabled     on;
        # @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
        rtmp_to_rtc on;
        # @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
        rtc_to_rtmp on;
    }
    hls {
        enabled         on;
        hls_path        ./objs/nginx/html;
        hls_fragment    10;
        hls_window      60;
    }
}

TRANS_BY_GPT3

winlinvip commented 2 years ago

Seems Brava is a tool like OBS, you could record the stream output by Brave to file. Then use FFmpeg to covert file to RTMP. If it replay the glitches, please attach the file.