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.83k stars 5.4k forks source link

Implement streaming on the Android side. After starting the SRS service, the first time it plays the stream first, then pushes the stream, it still shows a black screen. After that, everything is normal. #3165

Closed WOSHINPC closed 2 years ago

WOSHINPC commented 2 years ago

Description

Using WebRTC for streaming, using SRS service on Windows 10, and using SRS service's built-in WebRTC player for streaming. The streaming is initiated from an Android device. Every time the SRS service is started, only the first time, the player starts streaming, then the Android device starts streaming. At this point, the player still shows a black screen with no video. Clicking on the player again allows the video to be displayed normally. If streaming is done once before, there is no issue with streaming after pulling the stream. There is no such issue when using WebRTC for streaming, so I suspect that something is missing in my Android streaming setup.

  1. SRS Version: SRS/5.0.19

  2. SRS Log:


E:\Simple Realtime Server>objs\srs.exe -c conf\rtc.conf
[2022-09-02 17:16:57.786][Trace][674][8727866y] XCORE-SRS/5.0.19(Leo)
[2022-09-02 17:16:57.788][Trace][674][8727866y] config parse complete
[2022-09-02 17:16:57.788][Trace][674][8727866y] write log to console
[2022-09-02 17:16:57.789][Trace][674][8727866y][MAIN] SRS/5.0.19(Leo), MIT
[2022-09-02 17:16:57.789][Trace][674][8727866y] authors: Winlin<winlin@vip.126.com> ZhaoWenjie<zhaowenjie@tal.com> ShiWei<shiwei05@kuaishou.com> XiaoZhihong<hondaxiao@tencent.com> WuPengqiang<pengqiang.wpq@alibaba-inc.com> XiaLixin<xialixin@kanzhun.com> LiPeng<mozhan.lp@alibaba-inc.com> ChenGuanghua<jinxue.cgh@alibaba-inc.com> ChenHaibo<nmgchenhaibo@foxmail.com> and https://github.com/ossrs/srs/blob/develop/trunk/AUTHORS.md#contributors
[2022-09-02 17:16:57.789][Trace][674][8727866y] cwd=/, work_dir=./, build: 2021-11-02 11:17:28, configure: --x86-x64 --jobs=4 --utest=on --srt=on --gcov=on --debug=on, uname: CYGWIN_NT-10.0 DESKTOP-LG1M72B 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin, osx: 0
[2022-09-02 17:16:57.790][Trace][674][8727866y] configure detail: --prefix=/usr/local/srs --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=on --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=on --debug=on --debug-stats=off --cross-build=off --cc=gcc --cxx=g++ --ar=ar --ld=ld --randlib=randlib
[2022-09-02 17:16:57.790][Trace][674][8727866y] srs checking config...
[2022-09-02 17:16:57.808][Trace][674][8727866y] ips, iface[0] {433A5540-6C84-45B4-913A-FCC18BDFDCCA} ipv4 0x11043 192.168.19.159, iface[1] {433A5540-6C84-45B4-913A-FCC18BDFDCCA}:1 ipv4 0x11043 192.168.90.159, iface[2] {433A5540-6C84-45B4-913A-FCC18BDFDCCA} ipv6 0x11041 fe80::1103:a5ac:a9cf:6dbe%6
[2022-09-02 17:16:57.808][Trace][674][8727866y] devices, intranet {433A5540-6C84-45B4-913A-FCC18BDFDCCA} 192.168.19.159, intranet {433A5540-6C84-45B4-913A-FCC18BDFDCCA}:1 192.168.90.159, intranet {433A5540-6C84-45B4-913A-FCC18BDFDCCA} fe80::1103:a5ac:a9cf:6dbe%6
[2022-09-02 17:16:57.808][Warn][674][8727866y][0] stats network use index=0, ip=192.168.19.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}
[2022-09-02 17:16:57.809][Warn][674][8727866y][0] stats disk not configed, disk iops disabled.
[2022-09-02 17:16:57.810][Trace][674][8727866y] write log to console
[2022-09-02 17:16:57.810][Trace][674][8727866y] 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
[2022-09-02 17:16:57.811][Trace][674][8727866y] SRS on  amd64 x86_64, conf:conf\rtc.conf, limit:1000, writev:1024, encoding:little-endian, HZ:1000
[2022-09-02 17:16:57.811][Trace][674][8727866y] mw sleep:350ms. mr enabled:on, default:0, sleep:350ms
[2022-09-02 17:16:57.812][Trace][674][8727866y] gc:on, pq:30000ms, cscc:[0,16), csa:on, tn:on(may hurts performance), ss:auto(guess by merged write)
[2022-09-02 17:16:57.812][Trace][674][8727866y] system default latency(ms): mw(0-350) + mr(0-350) + play-queue(0-30000)
[2022-09-02 17:16:57.813][Warn][674][8727866y][0] SRS/5.0.19 is not stable
[2022-09-02 17:16:57.818][Trace][674][8727866y] fingerprint=36:5F:DF:C6:1E:65:32:99:AA:B3:D6:AE:1E:40:D0:77:75:4E:91:40:7B:5C:2E:7B:02:3F:1D:02:B0:99:08:B4
[2022-09-02 17:16:57.819][Trace][674][8727866y] CircuitBreaker: enabled=1, high=2x90, critical=1x95, dying=5x99
[2022-09-02 17:16:57.820][Trace][674][8727866y] http flv live stream, vhost=__defaultVhost__, mount=[vhost]/[app]/[stream].flv
[2022-09-02 17:16:57.820][Trace][674][8727866y] http: root mount to ./objs/nginx/html
[2022-09-02 17:16:57.821][Trace][674][8727866y] server main cid=8727866y, pid=674, ppid=1, asprocess=0
[2022-09-02 17:16:57.827][Trace][674][8727866y] write pid=674 to ./objs/srs.pid success!
[2022-09-02 17:16:57.828][Warn][674][8727866y][22] SO_REUSEPORT is not supported util Linux kernel 3.9
[2022-09-02 17:16:57.829][Trace][674][8727866y] RTMP listen at tcp://0.0.0.0:1935, fd=7
[2022-09-02 17:16:57.829][Warn][674][8727866y][22] SO_REUSEPORT is not supported util Linux kernel 3.9
[2022-09-02 17:16:57.830][Trace][674][8727866y] HTTP-API listen at tcp://0.0.0.0:1985, fd=8
[2022-09-02 17:16:57.830][Warn][674][8727866y][22] SO_REUSEPORT is not supported util Linux kernel 3.9
[2022-09-02 17:16:57.831][Trace][674][8727866y] HTTP-Server listen at tcp://0.0.0.0:8080, fd=9
[2022-09-02 17:16:57.831][Trace][674][8727866y] signal installed, reload=1, reopen=30, fast_quit=15, grace_quit=3
[2022-09-02 17:16:57.832][Trace][674][8727866y] http: api mount /console to ./objs/nginx/html/console
[2022-09-02 17:16:57.833][Warn][674][8727866y][22] SO_REUSEPORT is not supported util Linux kernel 3.9
[2022-09-02 17:16:57.833][Trace][674][8727866y] rtc listen at udp://0.0.0.0:8000, fd=10
[2022-09-02 17:16:57.843][Trace][674][h937mz4f] Hybrid cpu=0.00%,17MB
[2022-09-02 17:16:57.843][Warn][674][471a3608][22] use private address as ip: 192.168.19.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}
[2022-09-02 17:16:57.845][Trace][674][471a3608] Startup query id=fe9de3802a9f11ed8b818791caa63d89, eip=192.168.19.159, wait=489s
[2022-09-02 17:16:57.845][Trace][674][9d08k84u] TCP: connection manager run, conns=0
[2022-09-02 17:16:57.846][Warn][674][8727866y][2] open vmstat failed, ignore
[2022-09-02 17:16:58.131][Warn][674][8727866y][2] open proc network devices failed, ignore
[2022-09-02 17:16:58.133][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:16:58.134][Warn][674][8727866y][2] open proc network snmp failed, ignore
[2022-09-02 17:16:58.136][Trace][674][27x35844] UDP #10 LISTEN at 0.0.0.0:8000, SO_SNDBUF(default=65536, expect=10485760, actual=10485760, r0=0), SO_RCVBUF(default=65536, expect=10485760, actual=10485760, r0=0)
[2022-09-02 17:16:58.137][Trace][674][5b61fv93] RTC: connection manager run, conns=0
[2022-09-02 17:17:00.815][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:02.126][Trace][674][u8c77vel] HTTP #0 127.0.0.1:3092 OPTIONS http://localhost:1985/rtc/v1/play/, content-length=-1
[2022-09-02 17:17:02.129][Trace][674][u8c77vel] HTTP #1 127.0.0.1:3092 POST http://localhost:1985/rtc/v1/play/, content-length=6504
[2022-09-02 17:17:02.132][Trace][674][u8c77vel] RTC play webrtc://localhost/live/live1069, api=http://localhost:1985/rtc/v1/play/, tid=5632605, clientip=127.0.0.1, app=live, stream=live1069, offer=5984B, eip=, codec=, srtp=, dtls=
[2022-09-02 17:17:02.133][Trace][674][u8c77vel] ignore attribute=, value=
[2022-09-02 17:17:02.137][Trace][674][u8c77vel] new source, stream_url=/live/live1069
[2022-09-02 17:17:02.140][Trace][674][u8c77vel] RTC player nack=1, nnc=1
[2022-09-02 17:17:02.141][Trace][674][u8c77vel] RTC connection player gcc=3
[2022-09-02 17:17:02.143][Trace][674][u8c77vel] RTC: Init tracks {track: video-6917gaw9, is_active: 0=>1},{track: audio-q27w8ip7, is_active: 0=>1}, ok
[2022-09-02 17:17:02.145][Trace][674][u8c77vel] Best matched ip=192.168.19.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}
[2022-09-02 17:17:02.146][Trace][674][u8c77vel] Best matched ip=192.168.90.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}:1
[2022-09-02 17:17:02.147][Trace][674][u8c77vel] RTC: Use candidates 192.168.19.159, 192.168.90.159
[2022-09-02 17:17:02.151][Trace][674][u8c77vel] RTC init session, user=6635306t:h1aQ, url=/live/live1069, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1
[2022-09-02 17:17:02.151][Trace][674][u8c77vel] RTC username=6635306t:h1aQ, dtls=1, srtp=1, offer=5984B, answer=1689B
[2022-09-02 17:17:02.156][Trace][674][u8c77vel] RTC remote offer: v=0\r\no=- 2672563800078601314 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 104 9 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:h1aQ\r\na=ice-pwd:bFWVYWc/MGA7wqk9XfoCD2Zp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A1:43:37:8F:78:87:03:39:4D:2F:3D:0D:0A:12:6C:12:6E:2A:92:5D:E2:FE:F2:5C:4B:06:2C:9A:6F:BE:5F:8E\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=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:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/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 102 122 127 121 125 107 108 109 124 120 123 119 35 36 37 38 39 40 41 42 114 115 116 117 118 43\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:h1aQ\r\na=ice-pwd:bFWVYWc/MGA7wqk9XfoCD2Zp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A1:43:37:8F:78:87:03:39:4D:2F:3D:0D:0A:12:6C:12:6E:2A:92:5D:E2:FE:F2:5C:4B:06:2C:9A:6F:BE:5F:8E\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: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=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\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:102 VP9/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 profile-id=1\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=102\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:121 rtx/90000\r\na=fmtp:121 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:107 rtx/90000\r\na=fmtp:107 apt=125\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=1;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\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=0;profile-level-id=42e01f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=124\r\na=rtpmap:123 H264/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 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=123\r\na=rtpmap:35 H264/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=fmtp:35 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=4d001f\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:37 H264/90000\r\na=rtcp-fb:37 goog-remb\r\na=rtcp-fb:37 transport-cc\r\na=rtcp-fb:37 ccm fir\r\na=rtcp-fb:37 nack\r\na=rtcp-fb:37 nack pli\r\na=fmtp:37 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=f4001f\r\na=rtpmap:38 rtx/90000\r\na=fmtp:38 apt=37\r\na=rtpmap:39 H264/90000\r\na=rtcp-fb:39 goog-remb\r\na=rtcp-fb:39 transport-cc\r\na=rtcp-fb:39 ccm fir\r\na=rtcp-fb:39 nack\r\na=rtcp-fb:39 nack pli\r\na=fmtp:39 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=f4001f\r\na=rtpmap:40 rtx/90000\r\na=fmtp:40 apt=39\r\na=rtpmap:41 AV1/90000\r\na=rtcp-fb:41 goog-remb\r\na=rtcp-fb:41 transport-cc\r\na=rtcp-fb:41 ccm fir\r\na=rtcp-fb:41 nack\r\na=rtcp-fb:41 nack pli\r\na=rtpmap:42 rtx/90000\r\na=fmtp:42 apt=41\r\na=rtpmap:114 H264/90000\r\na=rtcp-fb:114 goog-remb\r\na=rtcp-fb:114 transport-cc\r\na=rtcp-fb:114 ccm fir\r\na=rtcp-fb:114 nack\r\na=rtcp-fb:114 nack pli\r\na=fmtp:114 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=64001f\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 rtx/90000\r\na=fmtp:117 apt=116\r\na=rtpmap:118 ulpfec/90000\r\na=rtpmap:43 flexfec-03/90000\r\na=rtcp-fb:43 goog-remb\r\na=rtcp-fb:43 transport-cc\r\na=fmtp:43 repair-window=10000000\r\n
[2022-09-02 17:17:02.159][Trace][674][u8c77vel] RTC local answer: v=0\r\no=SRS/5.0.19(Leo) 34360909504 2 IN IP4 0.0.0.0\r\ns=SRSPlaySession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS live/live1069\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:6635306t\r\na=ice-pwd:1x1ff675gii62e575okf7625073j6953\r\na=fingerprint:sha-256 36:5F:DF:C6:1E:65:32:99:AA:B3:D6:AE:1E:40:D0:77:75:4E:91:40:7B:5C:2E:7B:02:3F:1D:02:B0:99:08:B4\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=ssrc:6808077 cname:4727391778489z05\r\na=ssrc:6808077 label:audio-q27w8ip7\r\na=candidate:0 1 udp 2130706431 192.168.19.159 8000 typ host generation 0\r\na=candidate:1 1 udp 2130706431 192.168.90.159 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 108\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:6635306t\r\na=ice-pwd:1x1ff675gii62e575okf7625073j6953\r\na=fingerprint:sha-256 36:5F:DF:C6:1E:65:32:99:AA:B3:D6:AE:1E:40:D0:77:75:4E:91:40:7B:5C:2E:7B:02:3F:1D:02:B0:99:08:B4\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=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=ssrc:6808078 cname:4727391778489z05\r\na=ssrc:6808078 label:video-6917gaw9\r\na=candidate:0 1 udp 2130706431 192.168.19.159 8000 typ host generation 0\r\na=candidate:1 1 udp 2130706431 192.168.90.159 8000 typ host generation 0\r\n
[2022-09-02 17:17:02.161][Trace][674][u8c77vel] TCP: before dispose resource(HttpConn)(0x8000f9910), conns=1, zombies=0, ign=0, inz=0, ind=0
[2022-09-02 17:17:02.162][Warn][674][u8c77vel][104] client disconnect peer. ret=1007
[2022-09-02 17:17:02.163][Trace][674][9d08k84u] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2022-09-02 17:17:02.164][Trace][674][u8c77vel] TCP: disposing #0 resource(HttpConn)(0x8000f9910), conns=1, disposing=1, zombies=0
[2022-09-02 17:17:02.165][Trace][674][u8c77vel] RTC: session address init 192.168.19.159:57820
[2022-09-02 17:17:02.165][Trace][674][u8c77vel] RTC: session STUN done, waiting DTLS handshake.
[2022-09-02 17:17:02.166][Trace][674][u8c77vel] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=157, cnt=22, size=144, hs=1
[2022-09-02 17:17:02.167][Trace][674][u8c77vel] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=680, cnt=22, size=82, hs=2
[2022-09-02 17:17:02.168][Trace][674][u8c77vel] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=579, cnt=22, size=299, hs=11
[2022-09-02 17:17:02.171][Trace][674][u8c77vel] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2022-09-02 17:17:02.171][Trace][674][u8c77vel] RTC: DTLS handshake done.
[2022-09-02 17:17:02.172][Trace][674][u8c77vel] RTC: session pub=0, sub=1, to=30000ms connection established
[2022-09-02 17:17:02.172][Trace][674][u8c77vel] RTC: Subscriber url=/live/live1069 established
[2022-09-02 17:17:02.173][Trace][674][u8c77vel] create consumer, no gop cache
[2022-09-02 17:17:02.173][Trace][674][u8c77vel] RTC: start play url=/live/live1069, source_id=/, realtime=1, mw_msgs=0
[2022-09-02 17:17:02.350][Trace][674][u8c77vel] RTC: session address change 192.168.19.159:57820 -> 192.168.90.159:57821, cached=0, nn_change=1/1, nn_address=1
[2022-09-02 17:17:02.786][Trace][674][h937mz4f] Hybrid cpu=0.00%,22MB
[2022-09-02 17:17:02.789][Trace][674][h937mz4f] RTC: Server conns=1
[2022-09-02 17:17:03.224][Trace][674][u8c77vel] RTC: session address change 192.168.90.159:57821 -> 192.168.19.159:57820, cached=1, nn_change=2/1, nn_address=2
[2022-09-02 17:17:03.858][Warn][674][8727866y][2] open vmstat failed, ignore
[2022-09-02 17:17:03.862][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:06.886][Warn][674][8727866y][2] open proc network devices failed, ignore
[2022-09-02 17:17:06.890][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:06.892][Warn][674][8727866y][2] open proc network snmp failed, ignore
[2022-09-02 17:17:07.787][Trace][674][h937mz4f] Hybrid cpu=1.44%,24MB
[2022-09-02 17:17:07.789][Trace][674][h937mz4f] RTC: Server conns=1
[2022-09-02 17:17:09.162][Trace][674][27x35844] <- RTC RECV #10, udp 13, pps 1/1, schedule 13
[2022-09-02 17:17:09.901][Warn][674][8727866y][2] open vmstat failed, ignore
[2022-09-02 17:17:09.902][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:12.799][Trace][674][h937mz4f] Hybrid cpu=1.60%,24MB, cid=4,2, timer=43,0,22, clock=1,1,1,1,28,1,1,0,1, free=1
[2022-09-02 17:17:12.800][Trace][674][h937mz4f] RTC: Server conns=1, rpkts=(1,rtp:0,stun:1,rtcp:1), spkts=(1,rtp:0,stun:1,rtcp:0), fid=(id:0,fid:1,ffid:0,addr:1,faddr:1)
[2022-09-02 17:17:12.922][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:13.667][Trace][674][s0t5m6l2] HTTP #0 127.0.0.1:3096 POST http://127.0.0.1:1985/rtc/v1/publish/, content-length=3855
[2022-09-02 17:17:13.667][Trace][674][s0t5m6l2] RTC publish webrtc://192.168.90.159/live/live1069, api=, tid=, clientip=127.0.0.1, app=live, stream=live1069, offer=3587B, eip=, codec=
[2022-09-02 17:17:13.669][Trace][674][s0t5m6l2] RTC publisher nack=1, nnc=1, pt-drop=0, twcc=1/4
[2022-09-02 17:17:13.669][Trace][674][s0t5m6l2] RTC: Init tracks {track: local_video_track, is_active: 0=>1},{track: local_audio_track, is_active: 0=>1}, ok
[2022-09-02 17:17:13.669][Trace][674][s0t5m6l2] Best matched ip=192.168.19.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}
[2022-09-02 17:17:13.671][Trace][674][s0t5m6l2] Best matched ip=192.168.90.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}:1
[2022-09-02 17:17:13.671][Trace][674][s0t5m6l2] RTC: Use candidates 192.168.19.159, 192.168.90.159
[2022-09-02 17:17:13.672][Trace][674][s0t5m6l2] RTC init session, user=241b8529:i3da, url=/live/live1069, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1
[2022-09-02 17:17:13.673][Trace][674][s0t5m6l2] RTC username=241b8529:i3da, offer=3587B, answer=1603B
[2022-09-02 17:17:13.673][Trace][674][s0t5m6l2] RTC remote offer: v=0\r\no=- 3117516454983746784 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=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 127 125 104\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:i3da\r\na=ice-pwd:02uJbZ+1ri81d1gnz5zar8to\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 DE:B2:33:D8:88:B3:EE:90:20:03:58:13:05:92:87:06:69:C1:79:DE:4D:9D:68:0F:DC:39:D2:3D:D6:63:9D:53\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 urn:3gpp:video-orientation\r\na=extmap:4 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=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- local_video_track\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=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:127 red/90000\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=127\r\na=rtpmap:104 ulpfec/90000\r\na=ssrc-group:FID 829515653 1371556365\r\na=ssrc:829515653 cname:A0K+GNN0WTmgl44f\r\na=ssrc:829515653 msid:- local_video_track\r\na=ssrc:829515653 mslabel:-\r\na=ssrc:829515653 label:local_video_track\r\na=ssrc:1371556365 cname:A0K+GNN0WTmgl44f\r\na=ssrc:1371556365 msid:- local_video_track\r\na=ssrc:1371556365 mslabel:-\r\na=ssrc:1371556365 label:local_video_track\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 9 102 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:i3da\r\na=ice-pwd:02uJbZ+1ri81d1gnz5zar8to\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 DE:B2:33:D8:88:B3:EE:90:20:03:58:13:05:92:87:06:69:C1:79:DE:4D:9D:68:0F:DC:39:D2:3D:D6:63:9D:53\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 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:4 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:- local_audio_track\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:102 ILBC/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:761768140 cname:A0K+GNN0WTmgl44f\r\na=ssrc:761768140 msid:- local_audio_track\r\na=ssrc:761768140 mslabel:-\r\na=ssrc:761768140 label:local_audio_track\r\n
[2022-09-02 17:17:13.674][Trace][674][s0t5m6l2] RTC local answer: v=0\r\no=SRS/5.0.19(Leo) 34360924832 2 IN IP4 0.0.0.0\r\ns=SRSPublishSession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 1 0\r\na=msid-semantic: WMS live/live1069\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:241b8529\r\na=ice-pwd:531033ar1994170i52221253teef0975\r\na=fingerprint:sha-256 36:5F:DF:C6:1E:65:32:99:AA:B3:D6:AE:1E:40:D0:77:75:4E:91:40:7B:5C:2E:7B:02:3F:1D:02:B0:99:08:B4\r\na=setup:passive\r\na=mid:1\r\na=extmap:4 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 192.168.19.159 8000 typ host generation 0\r\na=candidate:1 1 udp 2130706431 192.168.90.159 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 100 127\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:241b8529\r\na=ice-pwd:531033ar1994170i52221253teef0975\r\na=fingerprint:sha-256 36:5F:DF:C6:1E:65:32:99:AA:B3:D6:AE:1E:40:D0:77:75:4E:91:40:7B:5C:2E:7B:02:3F:1D:02:B0:99:08:B4\r\na=setup:passive\r\na=mid:0\r\na=extmap:4 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:127 red/90000\r\na=candidate:0 1 udp 2130706431 192.168.19.159 8000 typ host generation 0\r\na=candidate:1 1 udp 2130706431 192.168.90.159 8000 typ host generation 0\r\n
[2022-09-02 17:17:13.675][Trace][674][s0t5m6l2] TCP: before dispose resource(HttpConn)(0x8001255d0), conns=2, zombies=0, ign=0, inz=0, ind=0
[2022-09-02 17:17:13.676][Trace][674][s0t5m6l2] client finished.
[2022-09-02 17:17:13.676][Trace][674][9d08k84u] TCP: clear zombies=1 resources, conns=2, removing=0, unsubs=0
[2022-09-02 17:17:13.677][Trace][674][s0t5m6l2] TCP: disposing #0 resource(HttpConn)(0x8001255d0), conns=2, disposing=1, zombies=0
[2022-09-02 17:17:13.794][Trace][674][s0t5m6l2] RTC: session address init 192.168.12.42:40358
[2022-09-02 17:17:13.795][Trace][674][s0t5m6l2] RTC: session STUN done, waiting DTLS handshake.
[2022-09-02 17:17:13.799][Trace][674][s0t5m6l2] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=155, cnt=22, size=142, hs=1
[2022-09-02 17:17:13.800][Trace][674][s0t5m6l2] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=681, cnt=22, size=82, hs=2
[2022-09-02 17:17:13.818][Trace][674][s0t5m6l2] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=578, cnt=22, size=299, hs=11
[2022-09-02 17:17:13.820][Trace][674][s0t5m6l2] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2022-09-02 17:17:13.821][Trace][674][s0t5m6l2] RTC: DTLS handshake done.
[2022-09-02 17:17:13.826][Trace][674][s0t5m6l2] RTC: session pub=1, sub=0, to=30000ms connection established
[2022-09-02 17:17:13.826][Trace][674][s0t5m6l2] RTC: Publisher url=/live/live1069 established
[2022-09-02 17:17:13.974][Trace][674][u8c77vel] update source_id=s0t5m6l2/s0t5m6l2
[2022-09-02 17:17:14.211][Trace][674][u8c77vel] RTC: NACK ARQ seq=5266, ssrc=6808078, ts=2072852268, count=1/1, 55 bytes
[2022-09-02 17:17:15.942][Warn][674][8727866y][2] open vmstat failed, ignore
[2022-09-02 17:17:15.966][Warn][674][8727866y][2] open proc network devices failed, ignore
[2022-09-02 17:17:15.967][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:15.969][Warn][674][8727866y][2] open proc network snmp failed, ignore
[2022-09-02 17:17:16.119][Trace][674][u8c77vel] NACK: update seq=5421, nack range [5420, 5421]
[2022-09-02 17:17:16.652][Trace][674][u8c77vel] RTC: Need PLI ssrc=829515653, play=[u8c77vel], publish=[s0t5m6l2], count=1/1
[2022-09-02 17:17:16.652][Trace][674][s0t5m6l2] RTC: Request PLI ssrc=829515653, play=[u8c77vel], count=1/1, bytes=12B
[2022-09-02 17:17:17.388][Trace][674][1im0h8u6] TCP: before dispose resource(HttpConn)(0x800120290), conns=1, zombies=0, ign=0, inz=0, ind=0
[2022-09-02 17:17:17.389][Trace][674][1im0h8u6] client finished.
[2022-09-02 17:17:17.392][Trace][674][9d08k84u] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2022-09-02 17:17:17.393][Trace][674][1im0h8u6] TCP: disposing #0 resource(HttpConn)(0x800120290), conns=1, disposing=1, zombies=0
[2022-09-02 17:17:17.811][Trace][674][h937mz4f] Hybrid cpu=8.01%,25MB, cid=4,2, timer=43,0,22, clock=1,1,1,1,28,1,1,0,1, free=1
[2022-09-02 17:17:17.812][Trace][674][h937mz4f] RTC: Server conns=2, rpkts=(1,rtp:0,stun:1,rtcp:1), spkts=(1,rtp:0,stun:1,rtcp:0), fid=(id:0,fid:1,ffid:0,addr:1,faddr:1)
[2022-09-02 17:17:18.969][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:19.173][Trace][674][27x35844] <- RTC RECV #10, udp 687, pps 32/68, schedule 687
[2022-09-02 17:17:19.652][Warn][674][h937mz4f][11][LARGE_TIMER] twcc delay 141ms > 100ms, count=1/1
[2022-09-02 17:17:21.976][Warn][674][8727866y][2] open vmstat failed, ignore
[2022-09-02 17:17:21.980][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:22.813][Trace][674][h937mz4f] Hybrid cpu=7.62%,25MB, cid=52,18, timer=52,9,76, clock=1,9,14,6,8,1,1,0,0, free=1, objs=(pkt:160,raw:87,fua:70,msg:160,oth:2,buf:80)
[2022-09-02 17:17:22.813][Trace][674][h937mz4f] RTC: Server conns=2, rpkts=(97,rtp:80,stun:1,rtcp:15), spkts=(101,rtp:90,stun:1,rtcp:18), rtcp=(pli:4,twcc:8,rr:1), snk=(74,a:37,v:37,h:1), rnk=(9,9,h:9,m:0), fid=(id:1,fid:97,ffid:0,addr:1,faddr:97)
[2022-09-02 17:17:24.287][Trace][674][u8c77vel] RTC: NACK ARQ seq=5618, ssrc=6808078, ts=2073670098, count=110/110, 56 bytes
[2022-09-02 17:17:24.893][Trace][674][u8c77vel] DTLS: State Passive RECV, done=1, arq=0/0, r0=1, r1=0, len=39, cnt=21, size=26, hs=0
[2022-09-02 17:17:24.894][Warn][674][u8c77vel][0] DTLS: SSL3 alert method=read type=warning, desc=CN(close notify), where=16388, ret=256, r1=0
[2022-09-02 17:17:24.896][Trace][674][u8c77vel] RTC: session destroy by DTLS alert, username=6635306t:h1aQ
[2022-09-02 17:17:24.896][Trace][674][u8c77vel] RTC: before dispose resource(RtcConn)(0x80011dec0), conns=2, zombies=0, ign=0, inz=0, ind=0
[2022-09-02 17:17:24.896][Trace][674][u8c77vel] RTC: session detach from [u8c77vel](RtcConn), disposing=1
[2022-09-02 17:17:24.898][Trace][674][5b61fv93] RTC: clear zombies=1 resources, conns=2, removing=0, unsubs=0
[2022-09-02 17:17:24.898][Trace][674][u8c77vel] RTC: disposing #0 resource(RtcConn)(0x80011dec0), conns=2, disposing=1, zombies=0
[2022-09-02 17:17:24.997][Warn][674][8727866y][2] open proc network devices failed, ignore
[2022-09-02 17:17:25.000][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:25.001][Warn][674][8727866y][2] open proc network snmp failed, ignore
[2022-09-02 17:17:25.225][Trace][674][abk584xj] HTTP #0 127.0.0.1:3101 OPTIONS http://localhost:1985/rtc/v1/play/, content-length=-1
[2022-09-02 17:17:25.229][Trace][674][abk584xj] HTTP #1 127.0.0.1:3101 POST http://localhost:1985/rtc/v1/play/, content-length=6504
[2022-09-02 17:17:25.231][Trace][674][abk584xj] RTC play webrtc://localhost/live/live1069, api=http://localhost:1985/rtc/v1/play/, tid=76ba666, clientip=127.0.0.1, app=live, stream=live1069, offer=5984B, eip=, codec=, srtp=, dtls=
[2022-09-02 17:17:25.233][Trace][674][abk584xj] ignore attribute=, value=
[2022-09-02 17:17:25.238][Trace][674][abk584xj] RTC player nack=1, nnc=1
[2022-09-02 17:17:25.240][Trace][674][abk584xj] RTC connection player gcc=3
[2022-09-02 17:17:25.245][Trace][674][abk584xj] RTC: Init tracks {track: local_video_track, is_active: 0=>1},{track: local_audio_track, is_active: 0=>1}, ok
[2022-09-02 17:17:25.246][Trace][674][abk584xj] Best matched ip=192.168.19.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}
[2022-09-02 17:17:25.247][Trace][674][abk584xj] Best matched ip=192.168.90.159, ifname={433A5540-6C84-45B4-913A-FCC18BDFDCCA}:1
[2022-09-02 17:17:25.248][Trace][674][abk584xj] RTC: Use candidates 192.168.19.159, 192.168.90.159
[2022-09-02 17:17:25.249][Trace][674][abk584xj] RTC init session, user=3v55k785:TxIc, url=/live/live1069, encrypt=1/1, DTLS(role=passive, version=auto), timeout=30000ms, nack=1
[2022-09-02 17:17:25.250][Trace][674][abk584xj] RTC username=3v55k785:TxIc, dtls=1, srtp=1, offer=5984B, answer=1908B
[2022-09-02 17:17:25.251][Trace][674][abk584xj] RTC remote offer: v=0\r\no=- 7172167568417979818 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 63 103 104 9 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:TxIc\r\na=ice-pwd:RNsn5/1fj4EzF3qUvP9f2Qj5\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4F:C3:44:CE:D0:72:1A:0B:72:92:A2:E4:06:6A:89:29:95:6F:00:6C:C9:F8:59:1C:92:1D:4F:CB:FE:09:DE:27\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=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:63 red/48000/2\r\na=fmtp:63 111/111\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/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 102 122 127 121 125 107 108 109 124 120 123 119 35 36 37 38 39 40 41 42 114 115 116 117 118 43\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:TxIc\r\na=ice-pwd:RNsn5/1fj4EzF3qUvP9f2Qj5\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4F:C3:44:CE:D0:72:1A:0B:72:92:A2:E4:06:6A:89:29:95:6F:00:6C:C9:F8:59:1C:92:1D:4F:CB:FE:09:DE:27\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: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=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\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:102 VP9/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 profile-id=1\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=102\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:121 rtx/90000\r\na=fmtp:121 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:107 rtx/90000\r\na=fmtp:107 apt=125\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=1;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\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=0;profile-level-id=42e01f\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=124\r\na=rtpmap:123 H264/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 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d001f\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=123\r\na=rtpmap:35 H264/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=fmtp:35 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=4d001f\r\na=rtpmap:36 rtx/90000\r\na=fmtp:36 apt=35\r\na=rtpmap:37 H264/90000\r\na=rtcp-fb:37 goog-remb\r\na=rtcp-fb:37 transport-cc\r\na=rtcp-fb:37 ccm fir\r\na=rtcp-fb:37 nack\r\na=rtcp-fb:37 nack pli\r\na=fmtp:37 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=f4001f\r\na=rtpmap:38 rtx/90000\r\na=fmtp:38 apt=37\r\na=rtpmap:39 H264/90000\r\na=rtcp-fb:39 goog-remb\r\na=rtcp-fb:39 transport-cc\r\na=rtcp-fb:39 ccm fir\r\na=rtcp-fb:39 nack\r\na=rtcp-fb:39 nack pli\r\na=fmtp:39 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=f4001f\r\na=rtpmap:40 rtx/90000\r\na=fmtp:40 apt=39\r\na=rtpmap:41 AV1/90000\r\na=rtcp-fb:41 goog-remb\r\na=rtcp-fb:41 transport-cc\r\na=rtcp-fb:41 ccm fir\r\na=rtcp-fb:41 nack\r\na=rtcp-fb:41 nack pli\r\na=rtpmap:42 rtx/90000\r\na=fmtp:42 apt=41\r\na=rtpmap:114 H264/90000\r\na=rtcp-fb:114 goog-remb\r\na=rtcp-fb:114 transport-cc\r\na=rtcp-fb:114 ccm fir\r\na=rtcp-fb:114 nack\r\na=rtcp-fb:114 nack pli\r\na=fmtp:114 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=64001f\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 red/90000\r\na=rtpmap:117 rtx/90000\r\na=fmtp:117 apt=116\r\na=rtpmap:118 ulpfec/90000\r\na=rtpmap:43 flexfec-03/90000\r\na=rtcp-fb:43 goog-remb\r\na=rtcp-fb:43 transport-cc\r\na=fmtp:43 repair-window=10000000\r\n
[2022-09-02 17:17:25.257][Trace][674][abk584xj] RTC local answer: v=0\r\no=SRS/5.0.19(Leo) 34360920672 2 IN IP4 0.0.0.0\r\ns=SRSPlaySession\r\nt=0 0\r\na=ice-lite\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS live/live1069\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:3v55k785\r\na=ice-pwd:o17wcp2316yj623sep66gw41n066428t\r\na=fingerprint:sha-256 36:5F:DF:C6:1E:65:32:99:AA:B3:D6:AE:1E:40:D0:77:75:4E:91:40:7B:5C:2E:7B:02:3F:1D:02:B0:99:08:B4\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:6808079 cname:66678rgh5ac59401\r\na=ssrc:6808079 msid:- local_audio_track\r\na=ssrc:6808079 mslabel:-\r\na=ssrc:6808079 label:local_audio_track\r\na=candidate:0 1 udp 2130706431 192.168.19.159 8000 typ host generation 0\r\na=candidate:1 1 udp 2130706431 192.168.90.159 8000 typ host generation 0\r\nm=video 9 UDP/TLS/RTP/SAVPF 108 116\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:3v55k785\r\na=ice-pwd:o17wcp2316yj623sep66gw41n066428t\r\na=fingerprint:sha-256 36:5F:DF:C6:1E:65:32:99:AA:B3:D6:AE:1E:40:D0:77:75:4E:91:40:7B:5C:2E:7B:02:3F:1D:02:B0:99:08:B4\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=sendonly\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:116 red/90000\r\na=ssrc:6808080 cname:66678rgh5ac59401\r\na=ssrc:6808080 msid:- local_video_track\r\na=ssrc:6808080 mslabel:-\r\na=ssrc:6808080 label:local_video_track\r\na=candidate:0 1 udp 2130706431 192.168.19.159 8000 typ host generation 0\r\na=candidate:1 1 udp 2130706431 192.168.90.159 8000 typ host generation 0\r\n
[2022-09-02 17:17:25.262][Trace][674][abk584xj] TCP: before dispose resource(HttpConn)(0x800244ff0), conns=1, zombies=0, ign=0, inz=0, ind=0
[2022-09-02 17:17:25.262][Warn][674][abk584xj][104] client disconnect peer. ret=1007
[2022-09-02 17:17:25.264][Trace][674][9d08k84u] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2022-09-02 17:17:25.264][Trace][674][abk584xj] TCP: disposing #0 resource(HttpConn)(0x800244ff0), conns=1, disposing=1, zombies=0
[2022-09-02 17:17:25.265][Trace][674][abk584xj] RTC: session address init 192.168.19.159:57824
[2022-09-02 17:17:25.266][Trace][674][abk584xj] RTC: session STUN done, waiting DTLS handshake.
[2022-09-02 17:17:25.266][Trace][674][abk584xj] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=157, cnt=22, size=144, hs=1
[2022-09-02 17:17:25.267][Trace][674][abk584xj] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=679, cnt=22, size=82, hs=2
[2022-09-02 17:17:25.269][Trace][674][abk584xj] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=579, cnt=22, size=300, hs=11
[2022-09-02 17:17:25.270][Trace][674][abk584xj] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2022-09-02 17:17:25.272][Trace][674][abk584xj] RTC: DTLS handshake done.
[2022-09-02 17:17:25.273][Trace][674][abk584xj] RTC: session pub=0, sub=1, to=30000ms connection established
[2022-09-02 17:17:25.273][Trace][674][abk584xj] RTC: Subscriber url=/live/live1069 established
[2022-09-02 17:17:25.274][Trace][674][abk584xj] create consumer, no gop cache
[2022-09-02 17:17:25.274][Trace][674][abk584xj] RTC: start play url=/live/live1069, source_id=s0t5m6l2/s0t5m6l2, realtime=1, mw_msgs=0
[2022-09-02 17:17:25.443][Trace][674][abk584xj] RTC: session address change 192.168.19.159:57824 -> 192.168.90.159:57825, cached=0, nn_change=1/1, nn_address=1
[2022-09-02 17:17:25.855][Trace][674][s0t5m6l2] NACK: update seq=33307, nack range [33306, 33307]
[2022-09-02 17:17:26.317][Trace][674][abk584xj] RTC: session address change 192.168.90.159:57825 -> 192.168.19.159:57824, cached=1, nn_change=2/1, nn_address=2
[2022-09-02 17:17:27.816][Trace][674][h937mz4f] Hybrid cpu=7.78%,26MB, cid=52,18, timer=52,9,76, clock=1,9,14,6,8,1,1,0,0, free=1, objs=(pkt:160,raw:87,fua:70,msg:160,oth:2,buf:80)
[2022-09-02 17:17:27.817][Trace][674][h937mz4f] RTC: Server conns=2, rpkts=(97,rtp:80,stun:1,rtcp:15), spkts=(101,rtp:90,stun:1,rtcp:18), rtcp=(pli:4,twcc:8,rr:1), snk=(74,a:37,v:37,h:1), rnk=(9,9,h:9,m:0), fid=(id:1,fid:97,ffid:0,addr:1,faddr:97)
[2022-09-02 17:17:27.999][Warn][674][8727866y][2] open vmstat failed, ignore
[2022-09-02 17:17:28.003][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:29.194][Trace][674][27x35844] <- RTC RECV #10, udp 743, pps 45/74, schedule 743
[2022-09-02 17:17:31.007][Warn][674][8727866y][2] open proc network sockstat failed, ignore
[2022-09-02 17:17:31.970][Trace][674][8727866y] sig=2, user terminate program, fast quit
[2022-09-02 17:17:32.013][Trace][674][8727866y] cleanup for quit signal fast=1, grace=0
[2022-09-02 17:17:32.014][Warn][674][8727866y][11] main cycle terminated, system quit normally.
[2022-09-02 17:17:32.125][Trace][674][8727866y] srs disposed
[2022-09-02 17:17:32.125][Trace][674][8727866y] srs terminated
  1. SRS Config:
`srs-rtc.bat` default configuration.

Replay (重现)

**1. Play video using web

  1. Stream using Android device
  2. Web still shows black screen (should display video normally)
  3. Click play on web again, video plays normally**

Expect (Expected Behavior)

The above third step can play the video normally.

TRANS_BY_GPT3

SPDionysius commented 2 years ago

I have not used SRS to start Windows, maybe you can try setting CANDIDATE in the terminal before starting SRS.

TRANS_BY_GPT3

winlinvip commented 2 years ago

Fixed by v5.0.63+