Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-person live streaming using WebRTC, WebRTC push-pull streaming causes SRS crash. #2413

Closed
huzhenyu opened this issue Jun 11, 2021 · 2 comments · Fixed by #2418
Closed
Assignees
Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Milestone

Comments

@huzhenyu
Copy link

huzhenyu commented Jun 11, 2021

Description'

Please ensure that the markdown structure is maintained.

Multiple people using WebRTC for live streaming causes SRS to crash, with the fastest crash occurring within one minute.

  1. SRS version: SRS/4.0.126(Leo)
  2. The log for SRS is as follows:
[2021-06-11 15:58:26.042][Trace][27963][80010p27] XCORE-SRS/4.0.126(Leo)
[2021-06-11 15:58:26.043][Trace][27963][80010p27] config parse complete
[2021-06-11 15:58:26.043][Trace][27963][80010p27] write log to console
[2021-06-11 15:58:26.043][Trace][27963][80010p27][MAIN] SRS/4.0.126(Leo), MIT
[2021-06-11 15:58:26.043][Trace][27963][80010p27] authors: Winlin,Wenjie,Runner365,John,B.P.Y,Lixin
[2021-06-11 15:58:26.043][Trace][27963][80010p27] contributors: winlinvip<winlin@vip.126.com> winlinvip<winterserver@126.com> winlinvip<chengli.ycl@alibaba-inc.com> wenjiegit<zhaowenjie@tal.com> wenjiegit<740936897@qq.com> wenjiegit<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> runner365<shiwei05@kuaishou.com> runner365<shi.weibd@hotmail.com> XiaofengWang<wasphin@gmail.com> xiaozhihong<hondaxiao@tencent.com> xiaozhihong<xiaozhihong8@gmail.com> xiaozhihong<xiaozhihong@huya.com> yanghuiwen<cainiaodj@qq.com> Bepartofyou<309554135@qq.com> Bepartofyou<pengqiang.wpq@alibaba-inc.com> l<22312935+lam2003@github> xfalcon<x-falcon@github> chen-guanghua<jinxue.cgh@alibaba-inc.com> chen-guanghua<chengh_math@126.com> lipeng19811218<mozhan.lp@alibaba-inc.com> lipeng19811218<lipeng19811218@gmail.com> yajun18<yajun18@staff.sina.com.cn> liulichuan<liulichuan@kuaishou.com> yapingcat<caoyapingneu@163.com> chenchengbin<chenchengbin@yy.com> duiniuluantanqin<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> 
[2021-06-11 15:58:26.043][Trace][27963][80010p27] cwd=/home/evmeeting/srs/srs-4.0-out, work_dir=./, build: 2021-06-11 14:29:32, configure: --x86-x64 --prefix=../out, uname: Linux localhost.localdomain 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, osx: 0
[2021-06-11 15:58:26.043][Trace][27963][80010p27] configure detail: --prefix=../out --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=off --cxx11=off --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
[2021-06-11 15:58:26.043][Trace][27963][80010p27] srs checking config...
[2021-06-11 15:58:26.044][Trace][27963][80010p27] ips, iface[0] em1 ipv4 0x11043 104.212.109.121, iface[1] em1 ipv6 0x11043 fe80::a0f7:2519:9a52:244%em1
[2021-06-11 15:58:26.044][Trace][27963][80010p27] devices, internet em1 104.212.109.121, intranet em1 fe80::a0f7:2519:9a52:244%em1
�[33m[2021-06-11 15:58:26.044][Warn][27963][80010p27][22] stats network use index=0, ip=104.212.109.121, ifname=em1
�[0m�[33m[2021-06-11 15:58:26.044][Warn][27963][80010p27][22] stats disk not configed, disk iops disabled.
�[0m[2021-06-11 15:58:26.044][Trace][27963][80010p27] write log to console
[2021-06-11 15:58:26.044][Trace][27963][80010p27] 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
[2021-06-11 15:58:26.044][Trace][27963][80010p27] SRS on  amd64 x86_64, conf:./conf/huzy_rtc.conf, limit:1000, writev:1024, encoding:little-endian, HZ:100
[2021-06-11 15:58:26.044][Trace][27963][80010p27] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms
[2021-06-11 15:58:26.044][Trace][27963][80010p27] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write)
[2021-06-11 15:58:26.044][Trace][27963][80010p27] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000)
�[33m[2021-06-11 15:58:26.044][Warn][27963][80010p27][22] SRS/4.0.126 is not stable
�[0m[2021-06-11 15:58:26.050][Trace][27963][80010p27] fingerprint=94:32:01:0E:B9:2E:4C:1C:55:21:60:52:17:23:18:DC:26:45:47:EF:32:45:7E:8E:34:10:FC:36:A4:E7:A4:59
[2021-06-11 15:58:26.050][Trace][27963][80010p27] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99
[2021-06-11 15:58:26.050][Trace][27963][80010p27] http flv live stream, vhost=__defaultVhost__, mount=[vhost]/[app]/[stream].flv
[2021-06-11 15:58:26.050][Trace][27963][80010p27] http: root mount to ./objs/nginx/html
[2021-06-11 15:58:26.050][Trace][27963][80010p27] server main cid=80010p27, pid=27963, ppid=27952, asprocess=0
[2021-06-11 15:58:26.051][Trace][27963][80010p27] write pid=27963 to objs/srs.pid success!
[2021-06-11 15:58:26.052][Trace][27963][80010p27] RTMP listen at tcp://0.0.0.0:1935, fd=7
[2021-06-11 15:58:26.052][Trace][27963][80010p27] HTTP-API listen at tcp://0.0.0.0:1985, fd=8
[2021-06-11 15:58:26.052][Trace][27963][80010p27] HTTP-Server listen at tcp://0.0.0.0:8080, fd=9
[2021-06-11 15:58:26.052][Trace][27963][80010p27] signal installed, reload=1, reopen=10, fast_quit=15, grace_quit=3
[2021-06-11 15:58:26.052][Trace][27963][80010p27] http: api mount /console to ./objs/nginx/html/console
[2021-06-11 15:58:26.053][Trace][27963][80010p27] rtc listen at udp://0.0.0.0:8000, fd=10
[2021-06-11 15:58:26.053][Trace][27963][fj8usn11] Hybrid cpu=0.00%,8MB
[2021-06-11 15:58:26.053][Trace][27963][713887i9] TCP: connection manager run, conns=0
[2021-06-11 15:58:26.054][Trace][27963][65795014] UDP #10 LISTEN at 0.0.0.0:8000, SO_SNDBUF(default=212992, expect=10485760, actual=425984, r0=0), SO_RCVBUF(default=212992, expect=10485760, actual=20971520, r0=0)
[2021-06-11 15:58:26.055][Trace][27963][110e7m1g] RTC: connection manager run, conns=0
[2021-06-11 15:58:31.040][Trace][27963][fj8usn11] Hybrid cpu=0.00%,8MB
[2021-06-11 15:58:36.041][Trace][27963][fj8usn11] Hybrid cpu=2.00%,8MB
[2021-06-11 15:58:41.042][Trace][27963][fj8usn11] Hybrid cpu=0.00%,8MB, cid=1,1, timer=62,0,0, clock=0,48,1,1,0,0,0,0,0
[2021-06-11 15:58:46.042][Trace][27963][fj8usn11] Hybrid cpu=0.00%,8MB, cid=1,1, timer=62,0,0, clock=0,48,1,1,0,0,0,0,0
[2021-06-11 15:58:51.043][Trace][27963][fj8usn11] Hybrid cpu=0.00%,8MB, cid=1,1, timer=62,0,0, clock=0,48,1,1,0,0,0,0,0
[2021-06-11 15:58:56.044][Trace][27963][fj8usn11] Hybrid cpu=0.00%,8MB, cid=1,0, timer=63,0,0, clock=0,49,1,0,0,0,0,0,0

.................... (Omitted part of the log)


�[0m�[33m[2021-06-11 16:03:47.313][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.313][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.313][Trace][27963][udo735s5] RTC: session address init 175.6.6.197:42651
[2021-06-11 16:03:47.313][Trace][27963][udo735s5] RTC: session STUN done, waiting DTLS handshake.
[2021-06-11 16:03:47.320][Trace][27963][3er9y980] RTC: session address init 175.6.6.197:21577
[2021-06-11 16:03:47.320][Trace][27963][3er9y980] RTC: session STUN done, waiting DTLS handshake.
[2021-06-11 16:03:47.321][Trace][27963][zs588280] RTC: session address init 175.6.6.197:38776
[2021-06-11 16:03:47.321][Trace][27963][zs588280] RTC: session STUN done, waiting DTLS handshake.
[2021-06-11 16:03:47.322][Trace][27963][udo735s5] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2021-06-11 16:03:47.322][Trace][27963][udo735s5] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=681, cnt=22, size=82, hs=2
�[33m[2021-06-11 16:03:47.324][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.324][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m[2021-06-11 16:03:47.325][Trace][27963][513503oz] HTTP #0 127.0.0.1:59750 POST http://localhost:1985/rtc/v1/play/, content-length=5119
[2021-06-11 16:03:47.325][Trace][27963][513503oz] RTC play webrtc://sksvip.ieway.cn/10017/1001_401451?type=prtc&ver=1.0&rid=10017&uid=1623155449159778629&t=60c38963&sign=2bc70332514d481fbfd9b2b7a9d05d1d, api=, tid={7be4f729-4255-49cb-ad79-81a7a1a2e214}, clientip=, app=10017, stream=1001_401451, offer=4582B, eip=, codec=, srtp=, dtls=
[2021-06-11 16:03:47.325][Trace][27963][513503oz] ignore attribute=, value=
[2021-06-11 16:03:47.326][Trace][27963][513503oz] RTC player nack=1, nnc=1
[2021-06-11 16:03:47.326][Trace][27963][513503oz] RTC connection player gcc=0
[2021-06-11 16:03:47.326][Trace][27963][513503oz] RTC: Init tracks {track: video-5987m840, is_active: 0=>1},{track: audio-d541g6i7, is_active: 0=>1}, ok
[2021-06-11 16:03:47.326][Trace][27963][513503oz] RTC: Use candidates 104.212.109.121
[2021-06-11 16:03:47.327][Trace][27963][513503oz] RTC init session, user=5965r41u:rkQQ, url=/10017/1001_401451, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1
[2021-06-11 16:03:47.327][Trace][27963][513503oz] RTC username=5965r41u:rkQQ, dtls=1, srtp=1, offer=4582B, answer=1281B
[2021-06-11 16:03:47.327][Trace][27963][513503oz] RTC remote offer: v=0\r\no=- 1562777946485005180 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:rkQQ\r\na=ice-pwd:PpNC9KJHC72uOZc9A5rFSJSY\r\na=ice-options:trickle\r\na=fingerprint:sha-256 1D:2D:4A:86:CF:94:83:B4:BF:6A:95:B9:F5:7B:8D:D5:3E:79:48:78:EC:BF:14:8D:AC:59:5E:20:7B:CB:7E:B8\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:102 ILBC/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 121 127 120 125 119 124 107 108 109 35 36 123 118 122 117 114 37\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:rkQQ\r\na=ice-pwd:PpNC9KJHC72uOZc9A5rFSJSY\r\na=ice-options:trickle\r\na=fingerprint:sha-256 1D:2D:4A:86:CF:94:83:B4:BF:6A:95:B9:F5:7B:8D:D5:3E:79:48:78:EC:BF:14:8D:AC:59:5E:20:7B:CB:7E:B8\r\na=setup:actpass\r\na=mid:video\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 profile-id=2\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:121 VP9/90000\r\na=rtcp-fb:121 goog-remb\r\na=rtcp-fb:121 transport-cc\r\na=rtcp-fb:121 ccm fir\r\na=rtcp-fb:121 nack\r\na=rtcp-fb:121 nack pli\r\na=fmtp:121 profile-id=1\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=125\r\na=rtpmap:124 H264/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=124\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:35 AV1X/90000\r\na=rtcp-fb:35 goog-remb\r\na=rtcp-fb:35 transport-cc\r\na=rtcp-fb:35 ccm fir\r\na=rtcp-fb:35 nack\r\na=rtcp-fb:35 nack pli\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:123 multiplex/90000\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 transport-cc\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=fmtp:123 acn=VP9;profile-id=0\r\na=rtpmap:118 rtx/90000\r\na=fmtp:118 apt=123\r\na=rtpmap:122 red/90000\r\na=rtpmap:117 rtx/90000\r\na=fmtp:117 apt=122\r\na=rtpmap:114 ulpfec/90000\r\na=rtpmap:37 flexfec-03/90000\r\na=rtcp-fb:37 goog-remb\r\na=rtcp-fb:37 transport-cc\r\na=fmtp:37 repair-window=10000000\r\n
[2021-06-11 16:03:47.327][Trace][27963][513503oz] RTC local answer: v=0\r\no=SRS/4.0.126(Leo) 28825488 2 IN IP4 0.0.0.0\r\ns=SRSPlaySession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS 10017/1001_401451\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5965r41u\r\na=ice-pwd:96i30i3637130p2mt15s255986214t13\r\na=fingerprint:sha-256 94:32:01:0E:B9:2E:4C:1C:55:21:60:52:17:23:18:DC:26:45:47:EF:32:45:7E:8E:34:10:FC:36:A4:E7:A4:59\r\na=setup:passive\r\na=mid:audio\r\na=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=ssrc:282454300 cname:m4j3j007730css70\r\na=ssrc:282454300 label:audio-d541g6i7\r\na=candidate:0 1 udp 2130706431 104.212.109.121 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 124\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:5965r41u\r\na=ice-pwd:96i30i3637130p2mt15s255986214t13\r\na=fingerprint:sha-256 94:32:01:0E:B9:2E:4C:1C:55:21:60:52:17:23:18:DC:26:45:47:EF:32:45:7E:8E:34:10:FC:36:A4:E7:A4:59\r\na=setup:passive\r\na=mid:video\r\na=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:124 H264/90000\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=ssrc:282454301 cname:m4j3j007730css70\r\na=ssrc:282454301 label:video-5987m840\r\na=candidate:0 1 udp 2130706431 104.212.109.121 8000 typ host generation 0\r\n
[2021-06-11 16:03:47.327][Trace][27963][513503oz] TCP: before dispose resource(HttpConn)(0x1bed640), conns=3, zombies=0, ign=0, inz=0, ind=0
[2021-06-11 16:03:47.327][Trace][27963][513503oz] client finished.
[2021-06-11 16:03:47.327][Trace][27963][713887i9] TCP: clear zombies=1 resources, conns=3, removing=0, unsubs=0
[2021-06-11 16:03:47.327][Trace][27963][513503oz] TCP: disposing #0 resource(HttpConn)(0x1bed640), conns=3, disposing=1, zombies=0
�[33m[2021-06-11 16:03:47.334][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.334][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.335][Trace][27963][udo735s5] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=580, cnt=22, size=301, hs=11
[2021-06-11 16:03:47.336][Trace][27963][udo735s5] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2021-06-11 16:03:47.336][Trace][27963][udo735s5] RTC: DTLS handshake done.
[2021-06-11 16:03:47.337][Trace][27963][udo735s5] RTC: session pub=0, sub=1, to=30000ms connection established
[2021-06-11 16:03:47.337][Trace][27963][udo735s5] RTC: Subscriber url=/10017/1623155449159778629_718_10017 established
[2021-06-11 16:03:47.337][Trace][27963][3er9y980] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2021-06-11 16:03:47.337][Trace][27963][3er9y980] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=682, cnt=22, size=82, hs=2
[2021-06-11 16:03:47.337][Trace][27963][zs588280] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2021-06-11 16:03:47.338][Trace][27963][zs588280] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=680, cnt=22, size=82, hs=2
[2021-06-11 16:03:47.338][Trace][27963][513503oz] RTC: session address init 175.6.6.197:53633
[2021-06-11 16:03:47.338][Trace][27963][513503oz] RTC: session STUN done, waiting DTLS handshake.
[2021-06-11 16:03:47.338][Trace][27963][udo735s5] create consumer, no gop cache
[2021-06-11 16:03:47.338][Trace][27963][udo735s5] RTC: start play url=/10017/1623155449159778629_718_10017, source_id=ah775b69/ah775b69, realtime=1, mw_msgs=0
[2021-06-11 16:03:47.340][Trace][27963][513503oz] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2021-06-11 16:03:47.340][Trace][27963][513503oz] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=680, cnt=22, size=82, hs=2
[2021-06-11 16:03:47.344][Trace][27963][513503oz] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=571, cnt=22, size=300, hs=11
[2021-06-11 16:03:47.345][Trace][27963][513503oz] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=546, cnt=22, size=466, hs=4
[2021-06-11 16:03:47.345][Trace][27963][513503oz] RTC: DTLS handshake done.
[2021-06-11 16:03:47.345][Trace][27963][513503oz] RTC: session pub=0, sub=1, to=30000ms connection established
[2021-06-11 16:03:47.345][Trace][27963][513503oz] RTC: Subscriber url=/10017/1001_401451 established
[2021-06-11 16:03:47.345][Trace][27963][513503oz] create consumer, no gop cache
[2021-06-11 16:03:47.345][Trace][27963][513503oz] RTC: start play url=/10017/1001_401451, source_id=/, realtime=1, mw_msgs=0
�[33m[2021-06-11 16:03:47.354][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.354][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.354][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.362][Trace][27963][3er9y980] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=580, cnt=22, size=301, hs=11
[2021-06-11 16:03:47.363][Trace][27963][3er9y980] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2021-06-11 16:03:47.363][Trace][27963][3er9y980] RTC: DTLS handshake done.
[2021-06-11 16:03:47.363][Trace][27963][3er9y980] RTC: session pub=0, sub=1, to=30000ms connection established
[2021-06-11 16:03:47.363][Trace][27963][3er9y980] RTC: Subscriber url=/10017/1623155449159778629_790146 established
[2021-06-11 16:03:47.363][Trace][27963][zs588280] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=580, cnt=22, size=300, hs=11
[2021-06-11 16:03:47.364][Trace][27963][zs588280] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2021-06-11 16:03:47.364][Trace][27963][zs588280] RTC: DTLS handshake done.
[2021-06-11 16:03:47.364][Trace][27963][zs588280] RTC: session pub=0, sub=1, to=30000ms connection established
[2021-06-11 16:03:47.364][Trace][27963][zs588280] RTC: Subscriber url=/10017/999_550871 established
[2021-06-11 16:03:47.365][Trace][27963][3er9y980] create consumer, no gop cache
[2021-06-11 16:03:47.365][Trace][27963][3er9y980] RTC: start play url=/10017/1623155449159778629_790146, source_id=m2r96r76/m2r96r76, realtime=1, mw_msgs=0
[2021-06-11 16:03:47.365][Trace][27963][zs588280] create consumer, no gop cache
[2021-06-11 16:03:47.365][Trace][27963][zs588280] RTC: start play url=/10017/999_550871, source_id=6z2qh1k1/6z2qh1k1, realtime=1, mw_msgs=0
�[33m[2021-06-11 16:03:47.379][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.379][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.379][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.390][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.390][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.397][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.397][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.398][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.410][Trace][27963][72x78647] HTTP #0 127.0.0.1:59762 POST http://localhost:1985/rtc/v1/play/, content-length=1424
[2021-06-11 16:03:47.410][Trace][27963][72x78647] RTC play webrtc://sksvip.ieway.cn/10017/1000_838630?type=prtc&ver=1.0&rid=10017&uid=1001&t=60c38963&sign=bb2c2187e6ecb184374c2405913548d1, api=, tid=, clientip=, app=10017, stream=1000_838630, offer=1174B, eip=, codec=, srtp=, dtls=
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC player nack=1, nnc=1
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC connection player gcc=0
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC: Init tracks {track: 68227378-365b-4fcd-97a2-4102f0184c2f, is_active: 0=>1}, ok
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC: Use candidates 104.212.109.121
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC init session, user=61813278:s7/7, url=/10017/1000_838630, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC username=61813278:s7/7, dtls=1, srtp=1, offer=1174B, answer=945B
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC remote offer: v=0\r\no=- 6231192812212256692 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:s7/7\r\na=ice-pwd:RTUsBQ4v6by8eGVrb//jEOSh\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0F:17:01:58:21:AC:0F:FE:A8:F4:AE:D2:9D:3A:C4:43:C9:1D:89:DD:5D:C7:B5:2A:22:E5:C6:CA:A1:34:B9:04\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=recvonly\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\n
[2021-06-11 16:03:47.411][Trace][27963][72x78647] RTC local answer: v=0\r\no=SRS/4.0.126(Leo) 35287232 2 IN IP4 0.0.0.0\r\ns=SRSPlaySession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0\r\na=msid-semantic: WMS 10017/1000_838630\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:61813278\r\na=ice-pwd:554x9c76u532776e7282t791y4280171\r\na=fingerprint:sha-256 94:32:01:0E:B9:2E:4C:1C:55:21:60:52:17:23:18:DC:26:45:47:EF:32:45:7E:8E:34:10:FC:36:A4:E7:A4:59\r\na=setup:passive\r\na=mid:0\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=ssrc:282454302 cname:7969zb9n714vaw8z\r\na=ssrc:282454302 msid:- 68227378-365b-4fcd-97a2-4102f0184c2f\r\na=ssrc:282454302 mslabel:-\r\na=ssrc:282454302 label:68227378-365b-4fcd-97a2-4102f0184c2f\r\na=candidate:0 1 udp 2130706431 104.212.109.121 8000 typ host generation 0\r\n
[2021-06-11 16:03:47.412][Trace][27963][72x78647] TCP: before dispose resource(HttpConn)(0x1c978e0), conns=3, zombies=0, ign=0, inz=0, ind=0
[2021-06-11 16:03:47.412][Trace][27963][72x78647] client finished.
[2021-06-11 16:03:47.412][Trace][27963][713887i9] TCP: clear zombies=1 resources, conns=3, removing=0, unsubs=0
[2021-06-11 16:03:47.412][Trace][27963][72x78647] TCP: disposing #0 resource(HttpConn)(0x1c978e0), conns=3, disposing=1, zombies=0
�[33m[2021-06-11 16:03:47.413][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.416][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.418][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.418][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.418][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.418][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.430][Trace][27963][72x78647] RTC: session address init 175.6.6.197:48097
[2021-06-11 16:03:47.430][Trace][27963][72x78647] RTC: session STUN done, waiting DTLS handshake.
[2021-06-11 16:03:47.434][Trace][27963][0404j30u] RTC: session address init 175.6.6.197:54993
[2021-06-11 16:03:47.434][Trace][27963][0404j30u] RTC: session STUN done, waiting DTLS handshake.
�[33m[2021-06-11 16:03:47.437][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.439][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.439][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.440][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.441][Trace][27963][72x78647] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2021-06-11 16:03:47.442][Trace][27963][72x78647] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=681, cnt=22, size=82, hs=2
�[33m[2021-06-11 16:03:47.452][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.452][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m[2021-06-11 16:03:47.456][Trace][27963][72x78647] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=580, cnt=22, size=300, hs=11
[2021-06-11 16:03:47.457][Trace][27963][72x78647] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2021-06-11 16:03:47.458][Trace][27963][72x78647] RTC: DTLS handshake done.
[2021-06-11 16:03:47.458][Trace][27963][72x78647] RTC: session pub=0, sub=1, to=30000ms connection established
[2021-06-11 16:03:47.458][Trace][27963][72x78647] RTC: Subscriber url=/10017/1000_838630 established
[2021-06-11 16:03:47.458][Trace][27963][72x78647] create consumer, no gop cache
[2021-06-11 16:03:47.458][Trace][27963][72x78647] RTC: start play url=/10017/1000_838630, source_id=jfs2r549/jfs2r549, realtime=1, mw_msgs=0
�[33m[2021-06-11 16:03:47.461][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.461][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.461][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.463][Warn][27963][67424p52][11] RTC: Drop for ssrc 3216707482 not found
�[0m�[33m[2021-06-11 16:03:47.463][Warn][27963][zs588280][11] RTC: Drop for ssrc 3216707482 not found
�[0m�[33m[2021-06-11 16:03:47.481][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.481][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.482][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.491][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.492][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.492][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.492][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.492][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.492][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.493][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.493][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.497][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m[2021-06-11 16:03:47.557][Trace][27963][n0642m25] HTTP #0 127.0.0.1:59768 OPTIONS http://localhost:1985/rtc/v1/publish/, content-length=-1
[2021-06-11 16:03:47.558][Trace][27963][n0642m25] TCP: before dispose resource(HttpConn)(0x2282550), conns=3, zombies=0, ign=0, inz=0, ind=0
[2021-06-11 16:03:47.558][Trace][27963][n0642m25] client finished.
[2021-06-11 16:03:47.558][Trace][27963][713887i9] TCP: clear zombies=1 resources, conns=3, removing=0, unsubs=0
[2021-06-11 16:03:47.558][Trace][27963][n0642m25] TCP: disposing #0 resource(HttpConn)(0x2282550), conns=3, disposing=1, zombies=0
�[33m[2021-06-11 16:03:47.558][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.558][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.558][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.558][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.567][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.567][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.568][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.568][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.568][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.569][Trace][27963][o01i3091] HTTP #0 127.0.0.1:59770 POST http://localhost:1985/rtc/v1/publish/, content-length=4179
[2021-06-11 16:03:47.570][Trace][27963][o01i3091] RTC publish webrtc://sksvip.ieway.cn/10017/1001_401451?type=rtc&ver=1.0&rid=10017&uid=1001&t=60c38963&sign=bb2c2187e6ecb184374c2405913548d1, api=, tid=1001, clientip=, app=10017, stream=1001_401451, offer=3790B, eip=, codec=
[2021-06-11 16:03:47.570][Trace][27963][o01i3091] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/3
[2021-06-11 16:03:47.571][Trace][27963][o01i3091] RTC: Init tracks {track: 89b24975-2bed-438b-aa24-aa098ae76e93, is_active: 0=>1},{track: a1191415-0973-4995-9096-31b9f318ed94, is_active: 0=>1}, ok
[2021-06-11 16:03:47.571][Trace][27963][o01i3091] RTC: Use candidates 104.212.109.121
[2021-06-11 16:03:47.571][Trace][27963][o01i3091] RTC init session, user=55q45c2j:gKWo, url=/10017/1001_401451, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1
[2021-06-11 16:03:47.571][Trace][27963][o01i3091] RTC username=55q45c2j:gKWo, offer=3790B, answer=1455B
[2021-06-11 16:03:47.571][Trace][27963][o01i3091] RTC remote offer: v=0\r\no=- 3743625815627917556 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:gKWo\r\na=ice-pwd:iEGroCZ/AdmQmgON3aeGSGZC\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BA:12:15:55:16:5E:D1:DC:D3:30:67:17:C9:F9:49:8C:45:A1:ED:CF:52:2C:A4:80:D0:37:96:60:23:66:B3:66\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- a1191415-0973-4995-9096-31b9f318ed94\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:2998948083 cname:OFqeczMlzwPhdGPr\r\na=ssrc:2998948083 msid:- a1191415-0973-4995-9096-31b9f318ed94\r\na=ssrc:2998948083 mslabel:-\r\na=ssrc:2998948083 label:a1191415-0973-4995-9096-31b9f318ed94\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 127 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:gKWo\r\na=ice-pwd:iEGroCZ/AdmQmgON3aeGSGZC\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BA:12:15:55:16:5E:D1:DC:D3:30:67:17:C9:F9:49:8C:45:A1:ED:CF:52:2C:A4:80:D0:37:96:60:23:66:B3:66\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://tools.ietf.org/html/draft-ietf-avtext-framemarking-07\r\na=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- 89b24975-2bed-438b-aa24-aa098ae76e93\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 H264/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:102 red/90000\r\na=rtpmap:127 rtx/90000\r\na=fmtp:127 apt=102\r\na=rtpmap:104 ulpfec/90000\r\na=ssrc-group:FID 2891671980 2198982068\r\na=ssrc:2891671980 cname:OFqeczMlzwPhdGPr\r\na=ssrc:2891671980 msid:- 89b24975-2bed-438b-aa24-aa098ae76e93\r\na=ssrc:2891671980 mslabel:-\r\na=ssrc:2891671980 label:89b24975-2bed-438b-aa24-aa098ae76e93\r\na=ssrc:2198982068 cname:OFqeczMlzwPhdGPr\r\na=ssrc:2198982068 msid:- 89b24975-2bed-438b-aa24-aa098ae76e93\r\na=ssrc:2198982068 mslabel:-\r\na=ssrc:2198982068 label:89b24975-2bed-438b-aa24-aa098ae76e93\r\n
[2021-06-11 16:03:47.571][Trace][27963][o01i3091] RTC local answer: v=0\r\no=SRS/4.0.126(Leo) 36135088 2 IN IP4 0.0.0.0\r\ns=SRSPublishSession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS 10017/1001_401451\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:55q45c2j\r\na=ice-pwd:0b30s0my809bm6z916x98087695u5ab0\r\na=fingerprint:sha-256 94:32:01:0E:B9:2E:4C:1C:55:21:60:52:17:23:18:DC:26:45:47:EF:32:45:7E:8E:34:10:FC:36:A4:E7:A4:59\r\na=setup:passive\r\na=mid:0\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=candidate:0 1 udp 2130706431 104.212.109.121 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 100 102\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:55q45c2j\r\na=ice-pwd:0b30s0my809bm6z916x98087695u5ab0\r\na=fingerprint:sha-256 94:32:01:0E:B9:2E:4C:1C:55:21:60:52:17:23:18:DC:26:45:47:EF:32:45:7E:8E:34:10:FC:36:A4:E7:A4:59\r\na=setup:passive\r\na=mid:1\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=recvonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:100 H264/90000\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:102 red/90000\r\na=candidate:0 1 udp 2130706431 104.212.109.121 8000 typ host generation 0\r\n
[2021-06-11 16:03:47.572][Trace][27963][o01i3091] TCP: before dispose resource(HttpConn)(0x21f9270), conns=3, zombies=0, ign=0, inz=0, ind=0
[2021-06-11 16:03:47.572][Trace][27963][o01i3091] client finished.
[2021-06-11 16:03:47.572][Trace][27963][713887i9] TCP: clear zombies=1 resources, conns=3, removing=0, unsubs=0
[2021-06-11 16:03:47.572][Trace][27963][o01i3091] TCP: disposing #0 resource(HttpConn)(0x21f9270), conns=3, disposing=1, zombies=0
�[33m[2021-06-11 16:03:47.589][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.589][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.589][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.589][Trace][27963][o01i3091] RTC: session address init 175.6.6.197:53060
[2021-06-11 16:03:47.590][Trace][27963][o01i3091] RTC: session STUN done, waiting DTLS handshake.
�[33m[2021-06-11 16:03:47.598][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.598][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.598][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.598][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.598][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.598][Warn][27963][72x78647][11] RTC: Drop for ssrc 427801896 not found
�[0m[2021-06-11 16:03:47.602][Trace][27963][o01i3091] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2021-06-11 16:03:47.602][Trace][27963][o01i3091] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=681, cnt=22, size=82, hs=2
�[33m[2021-06-11 16:03:47.610][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.610][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.610][Warn][27963][udo735s5][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.616][Trace][27963][o01i3091] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=581, cnt=22, size=301, hs=11
[2021-06-11 16:03:47.617][Trace][27963][o01i3091] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2021-06-11 16:03:47.617][Trace][27963][o01i3091] RTC: DTLS handshake done.
[2021-06-11 16:03:47.617][Trace][27963][o01i3091] RTC: session pub=1, sub=0, to=30000ms connection established
[2021-06-11 16:03:47.617][Trace][27963][o01i3091] RTC: Publisher url=/10017/1001_401451 established
�[33m[2021-06-11 16:03:47.624][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found
�[0m�[33m[2021-06-11 16:03:47.624][Warn][27963][vfc79308][11] RTC: Drop for ssrc 427801896 not found

�[0m�[33m[2021-06-11 16:03:47.654][Warn][27963][zs588280][11] RTC: Drop for ssrc 3216707482 not found
�[0m[2021-06-11 16:03:47.654][Trace][27963][0404j30u] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2021-06-11 16:03:47.655][Trace][27963][0404j30u] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=680, cnt=22, size=82, hs=2
�[33m[2021-06-11 16:03:47.655][Warn][27963][zs588280][11] RTC: Drop for ssrc 3216707482 not found
�[0m�[33m[2021-06-11 16:03:47.655][Warn][27963][67424p52][11] RTC: Drop for ssrc 3216707482 not found
�[0m[2021-06-11 16:03:47.668][Trace][27963][0404j30u] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=570, cnt=22, size=299, hs=11
[2021-06-11 16:03:47.669][Trace][27963][0404j30u] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=546, cnt=22, size=466, hs=4
[2021-06-11 16:03:47.670][Trace][27963][0404j30u] RTC: DTLS handshake done.
[2021-06-11 16:03:47.670][Trace][27963][0404j30u] RTC: session pub=0, sub=1, to=30000ms connection established
[2021-06-11 16:03:47.670][Trace][27963][0404j30u] RTC: Subscriber url=/10017/1001_401451 established
[2021-06-11 16:03:47.670][Trace][27963][0404j30u] create consumer, no gop cache
[2021-06-11 16:03:47.670][Trace][27963][0404j30u] RTC: start play url=/10017/1001_401451, source_id=o01i3091/o01i3091, realtime=1, mw_msgs=0
�[33m[2021-06-11 16:03:47.678][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found
�[0m�[33m[2021-06-11 16:03:47.678][Warn][27963][35tv579k][11] RTC: Drop for ssrc 282454268 not found
�[0m[2021-06-11 16:03:47.711][Trace][27963][056h844s] update source_id=o01i3091/o01i3091
[2021-06-11 16:03:47.711][Trace][27963][513503oz] update source_id=o01i3091/o01i3091
�[33m[2021-06-11 16:03:47.711][Warn][27963][0404j30u][11] RTC: Drop for ssrc 2998948083 not found
�[0m�[33m[2021-06-11 16:03:47.756][Warn][27963][zs588280][11] RTC: Drop for ssrc 3216707482 not found
�[0m�[33m[2021-06-11 16:03:47.759][Warn][27963][052vxb8q][11] RTC: Drop for ssrc 282454268 not found


�[0m
  1. The configuration of SRS is as follows (Config):

listen              1935;
max_connections     1000;
daemon              off;
srs_log_tank        console;
pid                 objs/srs.pid;

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

http_api {
    enabled         on;
    listen          1985;
}
stats {
    network         0;
}
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/wiki/v4_CN_RTCWiki#config-candidate
    # candidate $CANDIDATE;
    candidate 129.202.150.123;
}

vhost __defaultVhost__ {
    rtc {
        enabled     on;
        bframe      discard;
    }
    http_remux {
        enabled     on;
        mount       [vhost]/[app]/[stream].flv;
    }

## HLS Configuration Manual:
    ## https://github.com/ossrs/srs/wiki/v3_CN_DeliveryHLS
    ##
    hls {
        enabled         on;
        hls_path        ./objs/nginx/html;
        hls_fragment    10;
        hls_window      60;
        hls_on_error    continue;
        hls_m3u8_file   [app]/ev-[stream].m3u8;
        hls_ts_file     [app]/ev-[stream]-[seq].ts;
        hls_acodec      aac;
        hls_vcodec      h264;
        hls_cleanup     off;
        # If there is no incoming packets, dispose HLS in this timeout in seconds
        hls_dispose     0;
        hls_wait_keyframe on;
    }

    ##
## ---- Interface Authentication
    ##
    http_hooks {
        enabled         on;
        on_connect      http://localhost:7000/srs/on_connect;
        on_close        http://localhost:7000/srs/on_close;
        on_publish      http://localhost:7000/srs/on_publish;
        on_unpublish    http://localhost:7000/srs/on_unpublish;
        on_play         http://localhost:7000/srs/on_play;
        on_stop         http://localhost:7000/srs/on_stop;
    }
}


Replay

How to replay bug?

Steps to reproduce the bug

Bug Reproduction Steps:

  1. Have two users interact on h5 platform.
  2. Perform basic push-pull operations repeatedly for 1 to 30 minutes.
  3. Eventually, the system crashes on both Mac and CentOS 7 systems.

Expected Behavior:

The system should not crash during the interaction and repetitive push-pull operations on both Mac and CentOS 7 systems.

Expected Behavior:

The video and audio interaction should not result in any service crashes.

TRANS_BY_GPT3

@huzhenyu
Copy link
Author

huzhenyu commented Jun 11, 2021

The RTMP push has normal WebRTC playback, but when pushing on H5 web pages, it is easy to reproduce the problem.

TRANS_BY_GPT3

@winlinvip winlinvip added the WebRTC WebRTC, RTC2RTMP or RTMP2RTC. label Jun 16, 2021
@xiaozhihong xiaozhihong linked a pull request Jun 16, 2021 that will close this issue
@huzhenyu
Copy link
Author

huzhenyu commented Jun 21, 2021

The branch code has been resolved, thank you!

TRANS_BY_GPT3

@winlinvip winlinvip added this to the 4.0 milestone Sep 4, 2021
@winlinvip winlinvip changed the title 使用webrtc的多人连麦,webrtc推拉流导致SRS崩溃 Multi-person live streaming using WebRTC, WebRTC push-pull streaming causes SRS crash. Jul 29, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants