ossrs / srs

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

WebRTC: The video recorded is much shorter than the actual time. #3778

Open liulin1990 opened 11 months ago

liulin1990 commented 11 months ago

Note: Please read FAQ before file an issue, see #2716

Description

Please description your issue here The SRS is configured to record a video every 30 seconds. After modifying line 75 of srs.sdk.js in the SRS built-in example demos from getUserMedia to getDisplayMedia, and starting the application to share the desktop, it was observed that the video was not recorded every 30 seconds. Moreover, a video was only recorded after ending the desktop sharing, and the video duration was much shorter than the desktop sharing time.

  1. SRS Version: 6.0.36(Bee), Windows version

  2. SRS Log:

[2023-08-21 15:40:48.282][INFO][1080][7fb4m72e] RTC: Subscriber url=/LF100/LL001 established
[2023-08-21 15:40:48.282][INFO][1080][7fb4m72e] create consumer, no gop cache
[2023-08-21 15:40:48.282][INFO][1080][7fb4m72e] RTC: start play url=/LF100/LL001, source_id=1p483555/1p483555, realtime=1, mw_msgs=0
[2023-08-21 15:40:48.288][INFO][1080][7fb4m72e] RTC: Jitter init base=200, value=16117
[2023-08-21 15:40:48.288][INFO][1080][7fb4m72e] RTC: Jitter rebase value=16117, last=0, distance=-16117, pkt-base=16117/16117, correct-base=200/0
[2023-08-21 15:40:48.288][INFO][1080][7fb4m72e] RTC: Jitter init base=20000, value=490773901
[2023-08-21 15:40:48.288][INFO][1080][7fb4m72e] RTC: Jitter rebase value=490773901, last=0, distance=-490773901, pkt-base=490773901/490773901, correct-base=20000/0
[2023-08-21 15:40:48.289][INFO][1080][7fb4m72e] RTC: Need PLI ssrc=722188730, play=[7fb4m72e], publish=[1p483555], count=1/1
[2023-08-21 15:40:48.289][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[7fb4m72e], count=1/1, bytes=12B
[2023-08-21 15:40:48.323][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:40:48.323][INFO][1080][7fb4m72e] set ts=490776961, header=16118, lost=16119
[2023-08-21 15:40:48.463][INFO][1080][4j00h377] HTTP #0 127.0.0.1:60362 GET http://localhost:8080/favicon.ico, content-length=-1
[2023-08-21 15:40:48.464][INFO][1080][4j00h377] http match file=./objs/nginx/html/favicon.ico, pattern=/, upath=/favicon.ico
[2023-08-21 15:40:48.465][INFO][1080][4j00h377] TCP: before dispose resource(HttpConn)(0xa000d4da0), conns=2, zombies=0, ign=0, inz=0, ind=0
[2023-08-21 15:40:48.465][WARN][1080][4j00h377][104] client disconnect peer. ret=1007
[2023-08-21 15:40:48.465][INFO][1080][q81cleek] TCP: clear zombies=1 resources, conns=2, removing=0, unsubs=0
[2023-08-21 15:40:48.465][INFO][1080][4j00h377] TCP: disposing #0 resource(HttpConn)(0xa000d4da0), conns=2, disposing=1, zombies=0
[2023-08-21 15:40:48.593][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=0, nn_change=1/1, nn_address=1
[2023-08-21 15:40:48.655][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=0, nn_change=2/1, nn_address=2
[2023-08-21 15:40:49.342][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=3/1, nn_address=3
[2023-08-21 15:40:51.058][INFO][1080][4d772x6g] Hybrid cpu=3.07%,32MB, cid=15,8, timer=42,1,1, clock=0,1,1,1,26,0,1,0,1, free=1, objs=(pkt:1,raw:1,fua:1,msg:1,oth:1,buf:1)
[2023-08-21 15:40:51.058][INFO][1080][4d772x6g] RTC: Server conns=2
[2023-08-21 15:40:51.446][WARN][1080][1p483555][11] empty nalu
[2023-08-21 15:40:52.186][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:40:52.211][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:40:52.211][INFO][1080][7fb4m72e] set ts=491126791, header=16301, lost=16302
[2023-08-21 15:40:53.067][WARN][1080][1p483555][11] empty nalu
[2023-08-21 15:40:55.962][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 500, pps 20/49, schedule 500
[2023-08-21 15:40:56.061][INFO][1080][4d772x6g] Hybrid cpu=1.58%,33MB, cid=15,8, timer=42,1,1, clock=0,1,1,1,26,0,1,0,1, free=1, objs=(pkt:1,raw:1,fua:1,msg:1,oth:1,buf:1)
[2023-08-21 15:40:56.061][INFO][1080][4d772x6g] RTC: Server conns=2
[2023-08-21 15:40:58.412][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:40:58.412][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=3/3
[2023-08-21 15:40:58.412][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=3/3, bytes=12B
[2023-08-21 15:40:58.456][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:40:58.456][INFO][1080][7fb4m72e] set ts=491687851, header=16633, lost=16634
[2023-08-21 15:40:58.582][INFO][1080][7fb4m72e] -> HLS time=12705055ms, sno=1, ts=LL001-0.ts, dur=10122ms, dva=0p
[2023-08-21 15:40:59.272][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:01.062][INFO][1080][4d772x6g] Hybrid cpu=1.60%,33MB, cid=13,10, timer=48,10,66, clock=0,2,9,6,17,1,1,0,0, free=1, objs=(pkt:144,raw:100,fua:43,msg:173,oth:1,buf:50)
[2023-08-21 15:41:01.062][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(56,rtp:50,stun:1,rtcp:3), spkts=(61,rtp:45,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(71,a:35,v:35,h:0), fid=(id:1,fid:56,ffid:0,addr:1,faddr:56)
[2023-08-21 15:41:03.460][INFO][1080][mt34yr48] TCP: before dispose resource(HttpConn)(0xa0017e260), conns=1, zombies=0, ign=0, inz=0, ind=0
[2023-08-21 15:41:03.460][INFO][1080][mt34yr48] client finished.
[2023-08-21 15:41:03.460][INFO][1080][q81cleek] TCP: clear zombies=1 resources, conns=1, removing=0, unsubs=0
[2023-08-21 15:41:03.460][INFO][1080][mt34yr48] TCP: disposing #0 resource(HttpConn)(0xa0017e260), conns=1, disposing=1, zombies=0
[2023-08-21 15:41:04.578][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:04.615][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:04.616][INFO][1080][7fb4m72e] set ts=492243241, header=17034, lost=17035
[2023-08-21 15:41:05.293][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:05.967][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 718, pps 34/71, schedule 718
[2023-08-21 15:41:06.069][INFO][1080][4d772x6g] Hybrid cpu=1.49%,34MB, cid=13,10, timer=48,10,66, clock=0,2,9,6,17,1,1,0,0, free=1, objs=(pkt:144,raw:100,fua:43,msg:173,oth:1,buf:50)
[2023-08-21 15:41:06.069][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(56,rtp:50,stun:1,rtcp:3), spkts=(61,rtp:45,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(71,a:35,v:35,h:0), fid=(id:1,fid:56,ffid:0,addr:1,faddr:56)
[2023-08-21 15:41:10.823][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:10.823][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=5/5
[2023-08-21 15:41:10.823][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=5/5, bytes=12B
[2023-08-21 15:41:10.860][INFO][1080][1p483555] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:10.860][INFO][1080][1p483555] set ts=492805111, header=17427, lost=17428
[2023-08-21 15:41:10.943][INFO][1080][7fb4m72e] -> HLS time=25073757ms, sno=2, ts=LL001-1.ts, dur=6242ms, dva=0p
[2023-08-21 15:41:11.075][INFO][1080][4d772x6g] Hybrid cpu=4.60%,34MB, cid=3,7, timer=50,10,74, clock=1,3,10,11,11,1,1,0,0, free=1, objs=(pkt:196,raw:180,fua:15,msg:205,oth:1,buf:65)
[2023-08-21 15:41:11.075][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:41:11.279][INFO][1080][1p483555] RTC: session address change 192.168.234.1:50644 -> 192.168.76.1:50645, cached=1, nn_change=4/2, nn_address=3
[2023-08-21 15:41:11.342][INFO][1080][1p483555] RTC: session address change 192.168.76.1:50645 -> 192.168.188.11:50646, cached=1, nn_change=5/2, nn_address=3
[2023-08-21 15:41:11.952][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:13.305][INFO][1080][1p483555] RTC: session address change 192.168.188.11:50646 -> 192.168.234.1:50644, cached=1, nn_change=6/2, nn_address=3
[2023-08-21 15:41:13.654][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=1, nn_change=4/2, nn_address=3
[2023-08-21 15:41:13.716][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=1, nn_change=5/2, nn_address=3
[2023-08-21 15:41:15.404][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=6/2, nn_address=3
[2023-08-21 15:41:15.987][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 697, pps 42/69, schedule 697
[2023-08-21 15:41:16.079][INFO][1080][4d772x6g] Hybrid cpu=1.58%,34MB, cid=3,7, timer=50,10,74, clock=1,3,10,11,11,1,1,0,0, free=1, objs=(pkt:196,raw:180,fua:15,msg:205,oth:1,buf:65)
[2023-08-21 15:41:16.079][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:41:17.085][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:17.121][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:17.121][INFO][1080][7fb4m72e] set ts=493368691, header=17830, lost=17831
[2023-08-21 15:41:17.908][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:21.086][INFO][1080][4d772x6g] Hybrid cpu=3.02%,34MB, cid=3,7, timer=50,10,74, clock=1,3,10,11,11,1,1,0,0, free=1, objs=(pkt:196,raw:180,fua:15,msg:205,oth:1,buf:65)
[2023-08-21 15:41:21.086][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:41:21.407][WARN][1080][k20f4k67][11][LARGE_TIMER] twcc delay 130ms > 100ms, count=10/10
[2023-08-21 15:41:23.262][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:23.262][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=7/7
[2023-08-21 15:41:23.262][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=7/7, bytes=12B
[2023-08-21 15:41:23.299][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:23.300][INFO][1080][7fb4m72e] set ts=493924801, header=18215, lost=18216
[2023-08-21 15:41:23.395][INFO][1080][7fb4m72e] -> HLS time=37508743ms, sno=3, ts=LL001-2.ts, dur=0ms, dva=0p
[2023-08-21 15:41:24.113][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:26.033][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 705, pps 47/70, schedule 705
[2023-08-21 15:41:26.089][INFO][1080][4d772x6g] Hybrid cpu=6.22%,34MB, cid=2,7, timer=50,10,74, clock=1,3,9,10,13,1,1,0,0, objs=(pkt:184,raw:173,fua:11,msg:199,oth:1,buf:61)
[2023-08-21 15:41:26.089][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(68,rtp:61,stun:1,rtcp:6), spkts=(76,rtp:61,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:68,ffid:0,addr:1,faddr:68)
[2023-08-21 15:41:29.449][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:29.471][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:29.471][INFO][1080][7fb4m72e] set ts=494480281, header=18612, lost=18613
[2023-08-21 15:41:30.122][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:31.101][INFO][1080][4d772x6g] Hybrid cpu=3.06%,34MB, cid=2,7, timer=50,10,74, clock=1,3,9,10,13,1,1,0,0, objs=(pkt:184,raw:173,fua:11,msg:199,oth:1,buf:61)
[2023-08-21 15:41:31.101][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(68,rtp:61,stun:1,rtcp:6), spkts=(76,rtp:61,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:68,ffid:0,addr:1,faddr:68)
[2023-08-21 15:41:35.662][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:35.662][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=9/9
[2023-08-21 15:41:35.662][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=9/9, bytes=12B
[2023-08-21 15:41:35.696][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:35.696][INFO][1080][7fb4m72e] set ts=495040531, header=19012, lost=19013
[2023-08-21 15:41:35.785][INFO][1080][7fb4m72e] -> HLS time=49908311ms, sno=3, ts=LL001-2.ts, dur=12397ms, dva=0p
[2023-08-21 15:41:36.071][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 738, pps 51/73, schedule 738
[2023-08-21 15:41:36.104][INFO][1080][4d772x6g] Hybrid cpu=4.55%,34MB, cid=1,7, timer=50,10,75, clock=1,3,10,13,9,1,1,0,0, objs=(pkt:199,raw:183,fua:15,msg:209,oth:1,buf:66)
[2023-08-21 15:41:36.104][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(75,a:37,v:37,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:41:36.280][INFO][1080][1p483555] RTC: session address change 192.168.234.1:50644 -> 192.168.76.1:50645, cached=1, nn_change=7/3, nn_address=3
[2023-08-21 15:41:36.406][INFO][1080][1p483555] RTC: session address change 192.168.76.1:50645 -> 192.168.188.11:50646, cached=1, nn_change=8/3, nn_address=3
[2023-08-21 15:41:36.480][WARN][1080][1p483555][11] empty nalu
[2023-08-21 15:41:38.717][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=1, nn_change=7/3, nn_address=3
[2023-08-21 15:41:38.779][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=1, nn_change=8/3, nn_address=3
[2023-08-21 15:41:38.864][INFO][1080][1p483555] RTC: session address change 192.168.188.11:50646 -> 192.168.234.1:50644, cached=1, nn_change=9/3, nn_address=3
[2023-08-21 15:41:40.701][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=9/3, nn_address=3
[2023-08-21 15:41:41.106][INFO][1080][4d772x6g] Hybrid cpu=4.69%,34MB, cid=1,7, timer=50,10,75, clock=1,3,10,13,9,1,1,0,0, objs=(pkt:199,raw:183,fua:15,msg:209,oth:1,buf:66)
[2023-08-21 15:41:41.106][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(75,a:37,v:37,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:41:41.871][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:41.887][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:41.887][INFO][1080][7fb4m72e] set ts=495597631, header=19409, lost=19410
[2023-08-21 15:41:42.845][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:46.078][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 705, pps 54/70, schedule 705
[2023-08-21 15:41:46.107][INFO][1080][4d772x6g] Hybrid cpu=3.08%,34MB, cid=1,7, timer=50,10,75, clock=1,3,10,13,9,1,1,0,0, objs=(pkt:199,raw:183,fua:15,msg:209,oth:1,buf:66)
[2023-08-21 15:41:46.107][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(75,a:37,v:37,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:41:48.040][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:48.040][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=11/11
[2023-08-21 15:41:48.040][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=11/11, bytes=12B
[2023-08-21 15:41:48.078][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:48.078][INFO][1080][7fb4m72e] set ts=496154731, header=19824, lost=19825
[2023-08-21 15:41:48.170][INFO][1080][7fb4m72e] -> HLS time=62296469ms, sno=4, ts=LL001-3.ts, dur=6190ms, dva=0p
[2023-08-21 15:41:48.797][WARN][1080][1p483555][11] empty nalu
[2023-08-21 15:41:51.107][INFO][1080][4d772x6g] Hybrid cpu=0.00%,34MB, cid=2,7, timer=50,10,74, clock=0,2,10,11,12,1,1,0,0, objs=(pkt:195,raw:184,fua:10,msg:208,oth:1,buf:65)
[2023-08-21 15:41:51.107][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:41:52.735][WARN][1080][k20f4k67][11][LARGE_TIMER] twcc delay 135ms > 100ms, count=14/14
[2023-08-21 15:41:54.286][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:41:54.322][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:41:54.322][INFO][1080][7fb4m72e] set ts=496716781, header=20239, lost=20240
[2023-08-21 15:41:55.006][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:41:56.102][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 745, pps 56/74, schedule 745
[2023-08-21 15:41:56.113][INFO][1080][4d772x6g] Hybrid cpu=3.09%,34MB, cid=2,7, timer=50,10,74, clock=0,2,10,11,12,1,1,0,0, objs=(pkt:195,raw:184,fua:10,msg:208,oth:1,buf:65)
[2023-08-21 15:41:56.113][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:42:00.571][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:00.571][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=13/13
[2023-08-21 15:42:00.571][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=13/13, bytes=12B
[2023-08-21 15:42:00.608][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:00.608][INFO][1080][7fb4m72e] set ts=497282431, header=20636, lost=20637
[2023-08-21 15:42:00.707][INFO][1080][7fb4m72e] -> HLS time=74816019ms, sno=5, ts=LL001-4.ts, dur=0ms, dva=0p
[2023-08-21 15:42:01.121][INFO][1080][4d772x6g] Hybrid cpu=4.61%,34MB, cid=2,7, timer=49,10,73, clock=0,3,8,10,13,1,1,0,0, objs=(pkt:194,raw:176,fua:17,msg:206,oth:1,buf:64)
[2023-08-21 15:42:01.121][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:64,stun:1,rtcp:6), spkts=(79,rtp:64,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(73,a:36,v:36,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:42:01.497][INFO][1080][1p483555] RTC: session address change 192.168.234.1:50644 -> 192.168.76.1:50645, cached=1, nn_change=10/4, nn_address=3
[2023-08-21 15:42:02.043][INFO][1080][1p483555] RTC: session address change 192.168.76.1:50645 -> 192.168.188.11:50646, cached=1, nn_change=11/4, nn_address=3
[2023-08-21 15:42:02.118][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:02.837][INFO][1080][1p483555] RTC: session address change 192.168.188.11:50646 -> 192.168.234.1:50644, cached=1, nn_change=12/4, nn_address=3
[2023-08-21 15:42:03.810][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=1, nn_change=10/4, nn_address=3
[2023-08-21 15:42:04.342][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=1, nn_change=11/4, nn_address=3
[2023-08-21 15:42:04.873][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=12/4, nn_address=3
[2023-08-21 15:42:06.113][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 708, pps 58/70, schedule 708
[2023-08-21 15:42:06.126][INFO][1080][4d772x6g] Hybrid cpu=4.70%,34MB, cid=2,7, timer=49,10,73, clock=0,3,8,10,13,1,1,0,0, objs=(pkt:194,raw:176,fua:17,msg:206,oth:1,buf:64)
[2023-08-21 15:42:06.126][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:64,stun:1,rtcp:6), spkts=(79,rtp:64,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(73,a:36,v:36,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:42:06.780][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:06.818][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:06.818][INFO][1080][7fb4m72e] set ts=497841421, header=21038, lost=21039
[2023-08-21 15:42:07.471][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:11.138][INFO][1080][4d772x6g] Hybrid cpu=6.17%,34MB, cid=1,7, timer=52,10,77, clock=1,4,11,14,7,1,1,0,0, objs=(pkt:196,raw:186,fua:9,msg:211,oth:1,buf:65)
[2023-08-21 15:42:11.138][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(77,a:38,v:38,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:42:12.954][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:12.954][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=15/15
[2023-08-21 15:42:12.954][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=15/15, bytes=12B
[2023-08-21 15:42:12.974][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:12.974][INFO][1080][7fb4m72e] set ts=498395461, header=21462, lost=21463
[2023-08-21 15:42:13.038][INFO][1080][7fb4m72e] -> HLS time=87155783ms, sno=5, ts=LL001-4.ts, dur=12366ms, dva=0p
[2023-08-21 15:42:13.622][WARN][1080][1p483555][11] empty nalu
[2023-08-21 15:42:16.121][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 745, pps 59/74, schedule 745
[2023-08-21 15:42:16.147][INFO][1080][4d772x6g] Hybrid cpu=3.19%,34MB, cid=1,7, timer=52,10,77, clock=1,4,11,14,7,1,1,0,0, objs=(pkt:196,raw:186,fua:9,msg:211,oth:1,buf:65)
[2023-08-21 15:42:16.147][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(77,a:38,v:38,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:42:19.150][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:19.189][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:19.189][INFO][1080][7fb4m72e] set ts=498954811, header=21861, lost=21862
[2023-08-21 15:42:20.076][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:21.152][INFO][1080][4d772x6g] Hybrid cpu=1.58%,34MB, cid=1,7, timer=52,10,77, clock=1,4,11,14,7,1,1,0,0, objs=(pkt:196,raw:186,fua:9,msg:211,oth:1,buf:65)
[2023-08-21 15:42:21.153][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(72,rtp:65,stun:1,rtcp:6), spkts=(80,rtp:65,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(77,a:38,v:38,h:0), fid=(id:0,fid:72,ffid:0,addr:1,faddr:72)
[2023-08-21 15:42:25.320][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:25.321][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=17/17
[2023-08-21 15:42:25.321][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=17/17, bytes=12B
[2023-08-21 15:42:25.356][INFO][1080][1p483555] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:25.357][INFO][1080][1p483555] set ts=499509931, header=22274, lost=22275
[2023-08-21 15:42:25.446][INFO][1080][7fb4m72e] -> HLS time=99561187ms, sno=6, ts=LL001-5.ts, dur=6168ms, dva=0p
[2023-08-21 15:42:25.865][WARN][1080][k20f4k67][11][LARGE_TIMER] twcc delay 141ms > 100ms, count=23/23
[2023-08-21 15:42:26.055][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:26.144][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 735, pps 60/73, schedule 735
[2023-08-21 15:42:26.165][INFO][1080][4d772x6g] Hybrid cpu=3.09%,34MB, cid=2,7, timer=50,10,75, clock=0,2,11,12,10,0,1,0,0, objs=(pkt:198,raw:182,fua:15,msg:212,oth:1,buf:66)
[2023-08-21 15:42:26.165][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(75,a:37,v:37,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:42:27.272][INFO][1080][1p483555] RTC: session address change 192.168.234.1:50644 -> 192.168.76.1:50645, cached=1, nn_change=13/5, nn_address=3
[2023-08-21 15:42:27.798][INFO][1080][1p483555] RTC: session address change 192.168.76.1:50645 -> 192.168.188.11:50646, cached=1, nn_change=14/5, nn_address=3
[2023-08-21 15:42:29.310][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=1, nn_change=13/5, nn_address=3
[2023-08-21 15:42:29.393][INFO][1080][1p483555] RTC: session address change 192.168.188.11:50646 -> 192.168.234.1:50644, cached=1, nn_change=15/5, nn_address=3
[2023-08-21 15:42:29.841][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=1, nn_change=14/5, nn_address=3
[2023-08-21 15:42:31.166][INFO][1080][4d772x6g] Hybrid cpu=3.08%,34MB, cid=2,7, timer=50,10,75, clock=0,2,11,12,10,0,1,0,0, objs=(pkt:198,raw:182,fua:15,msg:212,oth:1,buf:66)
[2023-08-21 15:42:31.167][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(75,a:37,v:37,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:42:31.435][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=15/5, nn_address=3
[2023-08-21 15:42:31.520][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:31.555][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:31.555][INFO][1080][7fb4m72e] set ts=500067751, header=22677, lost=22678
[2023-08-21 15:42:31.794][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:36.156][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 728, pps 61/72, schedule 728
[2023-08-21 15:42:36.171][INFO][1080][4d772x6g] Hybrid cpu=1.48%,34MB, cid=2,7, timer=50,10,75, clock=0,2,11,12,10,0,1,0,0, objs=(pkt:198,raw:182,fua:15,msg:212,oth:1,buf:66)
[2023-08-21 15:42:36.171][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(75,a:37,v:37,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:42:37.729][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:37.729][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=19/19
[2023-08-21 15:42:37.729][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=19/19, bytes=12B
[2023-08-21 15:42:37.767][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:37.767][INFO][1080][7fb4m72e] set ts=500626831, header=23093, lost=23094
[2023-08-21 15:42:37.872][INFO][1080][7fb4m72e] -> HLS time=111983226ms, sno=7, ts=LL001-6.ts, dur=0ms, dva=0p
[2023-08-21 15:42:38.448][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:41.174][INFO][1080][4d772x6g] Hybrid cpu=1.59%,34MB, cid=2,7, timer=51,10,76, clock=1,4,11,13,8,1,1,0,0, objs=(pkt:198,raw:187,fua:10,msg:204,oth:1,buf:66)
[2023-08-21 15:42:41.174][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(76,a:38,v:38,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:42:43.968][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:44.004][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:44.004][INFO][1080][7fb4m72e] set ts=501188161, header=23497, lost=23498
[2023-08-21 15:42:44.727][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:46.178][INFO][1080][4d772x6g] Hybrid cpu=3.10%,34MB, cid=2,7, timer=51,10,76, clock=1,4,11,13,8,1,1,0,0, objs=(pkt:198,raw:187,fua:10,msg:204,oth:1,buf:66)
[2023-08-21 15:42:46.178][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(76,a:38,v:38,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:42:46.178][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 729, pps 62/72, schedule 729
[2023-08-21 15:42:50.166][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:50.166][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=21/21
[2023-08-21 15:42:50.166][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=21/21, bytes=12B
[2023-08-21 15:42:50.203][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:50.203][INFO][1080][7fb4m72e] set ts=501746071, header=23887, lost=23888
[2023-08-21 15:42:50.295][INFO][1080][7fb4m72e] -> HLS time=124421671ms, sno=7, ts=LL001-6.ts, dur=12436ms, dva=0p
[2023-08-21 15:42:51.060][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:42:51.183][INFO][1080][4d772x6g] Hybrid cpu=0.00%,34MB, cid=1,7, timer=50,10,73, clock=0,2,10,9,13,1,1,0,0, objs=(pkt:188,raw:172,fua:15,msg:203,oth:1,buf:62)
[2023-08-21 15:42:51.183][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(70,rtp:62,stun:1,rtcp:6), spkts=(77,rtp:62,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(73,a:36,v:36,h:0), fid=(id:0,fid:70,ffid:0,addr:1,faddr:70)
[2023-08-21 15:42:52.498][INFO][1080][1p483555] RTC: session address change 192.168.234.1:50644 -> 192.168.76.1:50645, cached=1, nn_change=16/6, nn_address=3
[2023-08-21 15:42:53.029][INFO][1080][1p483555] RTC: session address change 192.168.76.1:50645 -> 192.168.188.11:50646, cached=1, nn_change=17/6, nn_address=3
[2023-08-21 15:42:53.561][INFO][1080][1p483555] RTC: session address change 192.168.188.11:50646 -> 192.168.234.1:50644, cached=1, nn_change=18/6, nn_address=3
[2023-08-21 15:42:54.545][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=1, nn_change=16/6, nn_address=3
[2023-08-21 15:42:55.076][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=1, nn_change=17/6, nn_address=3
[2023-08-21 15:42:55.608][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=18/6, nn_address=3
[2023-08-21 15:42:56.187][INFO][1080][4d772x6g] Hybrid cpu=1.49%,34MB, cid=1,7, timer=50,10,73, clock=0,2,10,9,13,1,1,0,0, objs=(pkt:188,raw:172,fua:15,msg:203,oth:1,buf:62)
[2023-08-21 15:42:56.187][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(70,rtp:62,stun:1,rtcp:6), spkts=(77,rtp:62,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(73,a:36,v:36,h:0), fid=(id:0,fid:70,ffid:0,addr:1,faddr:70)
[2023-08-21 15:42:56.201][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 705, pps 63/70, schedule 705
[2023-08-21 15:42:56.310][WARN][1080][k20f4k67][11][LARGE_TIMER] twcc delay 134ms > 100ms, count=26/26
[2023-08-21 15:42:56.416][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:42:56.451][INFO][1080][1p483555] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:42:56.451][INFO][1080][1p483555] set ts=502308391, header=24286, lost=24287
[2023-08-21 15:42:57.136][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:01.199][INFO][1080][4d772x6g] Hybrid cpu=1.48%,34MB, cid=2,7, timer=50,10,76, clock=1,3,12,12,9,1,1,0,0, objs=(pkt:198,raw:190,fua:7,msg:205,oth:1,buf:66)
[2023-08-21 15:43:01.199][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(74,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(76,a:38,v:38,h:0), fid=(id:0,fid:74,ffid:0,addr:1,faddr:74)
[2023-08-21 15:43:02.661][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:02.661][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=23/23
[2023-08-21 15:43:02.661][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=23/23, bytes=12B
[2023-08-21 15:43:02.697][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:02.697][INFO][1080][7fb4m72e] set ts=502870531, header=24704, lost=24705
[2023-08-21 15:43:02.790][INFO][1080][7fb4m72e] -> HLS time=136920041ms, sno=8, ts=LL001-7.ts, dur=6247ms, dva=0p
[2023-08-21 15:43:03.414][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:06.208][INFO][1080][4d772x6g] Hybrid cpu=1.60%,34MB, cid=2,7, timer=50,10,76, clock=1,3,12,12,9,1,1,0,0, objs=(pkt:198,raw:190,fua:7,msg:205,oth:1,buf:66)
[2023-08-21 15:43:06.208][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(74,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(76,a:38,v:38,h:0), fid=(id:0,fid:74,ffid:0,addr:1,faddr:74)
[2023-08-21 15:43:06.214][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 750, pps 63/74, schedule 750
[2023-08-21 15:43:08.870][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:08.909][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:08.909][INFO][1080][7fb4m72e] set ts=503429521, header=25118, lost=25119
[2023-08-21 15:43:09.915][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:11.213][INFO][1080][4d772x6g] Hybrid cpu=0.00%,34MB, cid=2,7, timer=50,10,76, clock=1,3,12,12,9,1,1,0,0, objs=(pkt:198,raw:190,fua:7,msg:205,oth:1,buf:66)
[2023-08-21 15:43:11.213][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(74,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(76,a:38,v:38,h:0), fid=(id:0,fid:74,ffid:0,addr:1,faddr:74)
[2023-08-21 15:43:15.160][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:15.160][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=25/25
[2023-08-21 15:43:15.160][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=25/25, bytes=12B
[2023-08-21 15:43:15.168][INFO][1080][1p483555] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:15.168][INFO][1080][1p483555] set ts=503992921, header=25497, lost=25498
[2023-08-21 15:43:15.261][INFO][1080][7fb4m72e] -> HLS time=149376327ms, sno=9, ts=LL001-8.ts, dur=0ms, dva=0p
[2023-08-21 15:43:15.918][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:16.215][INFO][1080][4d772x6g] Hybrid cpu=4.70%,34MB, cid=2,6, timer=50,10,74, clock=1,2,10,11,12,1,1,0,0, objs=(pkt:191,raw:173,fua:17,msg:207,oth:1,buf:63)
[2023-08-21 15:43:16.215][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(70,rtp:63,stun:1,rtcp:6), spkts=(78,rtp:63,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:70,ffid:0,addr:1,faddr:70)
[2023-08-21 15:43:16.216][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 692, pps 64/69, schedule 692
[2023-08-21 15:43:18.010][INFO][1080][1p483555] RTC: session address change 192.168.234.1:50644 -> 192.168.76.1:50645, cached=1, nn_change=19/7, nn_address=3
[2023-08-21 15:43:18.529][INFO][1080][1p483555] RTC: session address change 192.168.76.1:50645 -> 192.168.188.11:50646, cached=1, nn_change=20/7, nn_address=3
[2023-08-21 15:43:20.044][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=1, nn_change=19/7, nn_address=3
[2023-08-21 15:43:20.125][INFO][1080][1p483555] RTC: session address change 192.168.188.11:50646 -> 192.168.234.1:50644, cached=1, nn_change=21/7, nn_address=3
[2023-08-21 15:43:20.576][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=1, nn_change=20/7, nn_address=3
[2023-08-21 15:43:21.216][INFO][1080][4d772x6g] Hybrid cpu=1.60%,34MB, cid=2,6, timer=50,10,74, clock=1,2,10,11,12,1,1,0,0, objs=(pkt:191,raw:173,fua:17,msg:207,oth:1,buf:63)
[2023-08-21 15:43:21.216][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(70,rtp:63,stun:1,rtcp:6), spkts=(78,rtp:63,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(74,a:37,v:37,h:0), fid=(id:0,fid:70,ffid:0,addr:1,faddr:70)
[2023-08-21 15:43:21.344][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:21.377][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:21.377][INFO][1080][7fb4m72e] set ts=504551641, header=25870, lost=25871
[2023-08-21 15:43:22.059][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:22.170][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=21/7, nn_address=3
[2023-08-21 15:43:26.227][INFO][1080][4d772x6g] Hybrid cpu=1.48%,34MB, cid=1,7, timer=51,10,76, clock=1,4,10,14,9,1,0,0,0, objs=(pkt:198,raw:187,fua:9,msg:204,oth:1,buf:66)
[2023-08-21 15:43:26.227][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(76,a:38,v:38,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:43:26.230][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 738, pps 64/73, schedule 738
[2023-08-21 15:43:27.565][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:27.565][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=27/27
[2023-08-21 15:43:27.565][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=27/27, bytes=12B
[2023-08-21 15:43:27.575][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:27.575][INFO][1080][7fb4m72e] set ts=505109371, header=26299, lost=26300
[2023-08-21 15:43:27.639][INFO][1080][7fb4m72e] -> HLS time=161769183ms, sno=9, ts=LL001-8.ts, dur=12406ms, dva=0p
[2023-08-21 15:43:28.258][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:31.233][INFO][1080][4d772x6g] Hybrid cpu=3.08%,34MB, cid=1,7, timer=51,10,76, clock=1,4,10,14,9,1,0,0,0, objs=(pkt:198,raw:187,fua:9,msg:204,oth:1,buf:66)
[2023-08-21 15:43:31.233][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(73,rtp:66,stun:1,rtcp:6), spkts=(81,rtp:66,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(76,a:38,v:38,h:0), fid=(id:0,fid:73,ffid:0,addr:1,faddr:73)
[2023-08-21 15:43:32.124][WARN][1080][k20f4k67][11][LARGE_TIMER] twcc delay 144ms > 100ms, count=32/32
[2023-08-21 15:43:33.790][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:33.829][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:33.829][INFO][1080][7fb4m72e] set ts=505672411, header=26692, lost=26693
[2023-08-21 15:43:34.885][WARN][1080][1p483555][11] empty nalu
[2023-08-21 15:43:36.247][INFO][1080][4d772x6g] Hybrid cpu=3.16%,34MB, cid=2,7, timer=48,10,71, clock=1,3,6,7,17,1,1,0,0, objs=(pkt:178,raw:130,fua:47,msg:194,oth:1,buf:59)
[2023-08-21 15:43:36.247][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(66,rtp:59,stun:1,rtcp:6), spkts=(74,rtp:59,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(71,a:35,v:35,h:0), fid=(id:0,fid:66,ffid:0,addr:1,faddr:66)
[2023-08-21 15:43:36.257][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 668, pps 64/66, schedule 668
[2023-08-21 15:43:39.975][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:39.975][INFO][1080][k20f4k67] RTC: Need PLI ssrc=722188730, play=[1p483555], publish=[1p483555], count=29/29
[2023-08-21 15:43:39.975][INFO][1080][1p483555] RTC: Request PLI ssrc=722188730, play=[1p483555], count=29/29, bytes=12B
[2023-08-21 15:43:40.012][INFO][1080][1p483555] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:40.012][INFO][1080][1p483555] set ts=506228881, header=27012, lost=27013
[2023-08-21 15:43:40.054][INFO][1080][1p483555] -> HLS time=174173360ms, sno=10, ts=LL001-9.ts, dur=6184ms, dva=0p
[2023-08-21 15:43:40.935][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:41.257][INFO][1080][4d772x6g] Hybrid cpu=1.50%,34MB, cid=2,7, timer=48,10,71, clock=1,3,6,7,17,1,1,0,0, objs=(pkt:178,raw:130,fua:47,msg:194,oth:1,buf:59)
[2023-08-21 15:43:41.257][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(66,rtp:59,stun:1,rtcp:6), spkts=(74,rtp:59,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(71,a:35,v:35,h:0), fid=(id:0,fid:66,ffid:0,addr:1,faddr:66)
[2023-08-21 15:43:43.236][INFO][1080][1p483555] RTC: session address change 192.168.234.1:50644 -> 192.168.76.1:50645, cached=1, nn_change=22/8, nn_address=3
[2023-08-21 15:43:43.763][INFO][1080][1p483555] RTC: session address change 192.168.76.1:50645 -> 192.168.188.11:50646, cached=1, nn_change=23/8, nn_address=3
[2023-08-21 15:43:44.295][INFO][1080][1p483555] RTC: session address change 192.168.188.11:50646 -> 192.168.234.1:50644, cached=1, nn_change=24/8, nn_address=3
[2023-08-21 15:43:45.279][INFO][1080][7fb4m72e] RTC: session address change 192.168.234.1:54067 -> 192.168.76.1:54068, cached=1, nn_change=22/8, nn_address=3
[2023-08-21 15:43:45.811][INFO][1080][7fb4m72e] RTC: session address change 192.168.76.1:54068 -> 192.168.188.11:54069, cached=1, nn_change=23/8, nn_address=3
[2023-08-21 15:43:46.193][INFO][1080][k20f4k67] RTC: to rtmp bridge request key frame, ssrc=722188730, publisher cid=1p483555
[2023-08-21 15:43:46.230][INFO][1080][7fb4m72e] 34B video sh, codec(7, profile=Baseline, level=3.1, 768x432, 0kbps, 0.0fps, 0.0s)
[2023-08-21 15:43:46.230][INFO][1080][7fb4m72e] set ts=506788411, header=27349, lost=27350
[2023-08-21 15:43:46.263][INFO][1080][4d772x6g] Hybrid cpu=1.50%,34MB, cid=2,7, timer=48,10,71, clock=1,3,6,7,17,1,1,0,0, objs=(pkt:178,raw:130,fua:47,msg:194,oth:1,buf:59)
[2023-08-21 15:43:46.263][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(66,rtp:59,stun:1,rtcp:6), spkts=(74,rtp:59,stun:1,rtcp:27), rtcp=(pli:1,twcc:9,rr:1), snk=(71,a:35,v:35,h:0), fid=(id:0,fid:66,ffid:0,addr:1,faddr:66)
[2023-08-21 15:43:46.272][INFO][1080][d8j0nj0r] <- RTC RECV #10, udp 607, pps 64/60, schedule 607
[2023-08-21 15:43:46.342][INFO][1080][7fb4m72e] RTC: session address change 192.168.188.11:54069 -> 192.168.234.1:54067, cached=1, nn_change=24/8, nn_address=3
[2023-08-21 15:43:46.848][WARN][1080][7fb4m72e][11] empty nalu
[2023-08-21 15:43:51.267][INFO][1080][4d772x6g] Hybrid cpu=3.06%,34MB, cid=2,7, timer=49,10,71, clock=1,2,7,7,16,1,1,0,0, objs=(pkt:164,raw:148,fua:16,msg:174,oth:1,buf:54)
[2023-08-21 15:43:51.267][INFO][1080][4d772x6g] RTC: Server conns=2, rpkts=(62,rtp:54,stun:1,rtcp:6), spkts=(70,rtp:54,stun:1,rtcp:28), rtcp=(pli:1,twcc:9,rr:1), snk=(71,a:35,v:35,h:0), fid=(id:0,fid:62,ffid:0,addr:1,faddr:62)
[2023-08-21 15:43:51.562][INFO][1080][1p483555] DTLS: State Passive RECV, done=1, arq=0/0, r0=1, r1=0, len=39, cnt=21, size=26, hs=0
[2023-08-21 15:43:51.562][WARN][1080][1p483555][0] DTLS: SSL3 alert method=read type=warning, desc=CN(close notify), where=16388, ret=256, r1=0
[2023-08-21 15:43:51.562][INFO][1080][1p483555] RTC: session destroy by DTLS alert, username=07qk8ru2:S7Hc
[2023-08-21 15:43:51.562][INFO][1080][1p483555] RTC: before dispose resource(RtcConn)(0xa000e9540), conns=2, zombies=0, ign=0, inz=0, ind=0
[2023-08-21 15:43:51.562][INFO][1080][1p483555] RTC: session detach from [1p483555](RtcConn), disposing=1
[2023-08-21 15:43:51.562][INFO][1080][361y3909] RTC: clear zombies=1 resources, conns=2, removing=0, unsubs=0
[2023-08-21 15:43:51.562][INFO][1080][1p483555] RTC: disposing #0 resource(RtcConn)(0xa000e9540), conns=2, disposing=1, zombies=0
[2023-08-21 15:43:51.562][INFO][1080][1p483555] cleanup when unpublish, created=1, deliver=1
[2023-08-21 15:43:51.569][INFO][1080][1p483555] cleanup when unpublish
  1. SRS Config:
# no-daemon and write log to console config for srs.
# @see full.conf for detail config.

#RTMP
listen              1935;
max_connections     1000;
daemon              off;
#srs_log_tank        console;
srs_log_tank        file;

#Video Server HTTP Interaction SDP
http_api {
    enabled         on;
    listen          1985;
}

#Web Server
http_server {
    enabled         on;
    listen          8080;
}
rtc_server {
    enabled on;
    listen 8000; # UDP port
    # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
    candidate $CANDIDATE;
}
vhost __defaultVhost__ {
    hls {
        enabled         on;
    }
    http_remux {
        enabled     on;
        mount       [vhost]/[app]/[stream].flv;
    }
    rtc {
        enabled     on;
        # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
        rtmp_to_rtc on;
        # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
        rtc_to_rtmp on;
    }

     dvr {
        enabled      on;
        dvr_path     ./objs/nginx/html/[app]/[stream].[timestamp].mp4;
        dvr_plan     segment;
        dvr_duration    30;
        dvr_wait_keyframe       on;
    }

}

Replay

Please describe how to replay the bug?

Step 1: Run SRS

Step 2: Enable the application, share desktop stream

Step 3: Another user pulls the desktop stream

Step 4: View the recorded video

Expect

Please describe your expectation. Record a video every 30 seconds.

TRANS_BY_GPT4

liulin1990 commented 10 months ago

Later, further testing revealed that when sharing the desktop through getDisplayMedia and recording video with SRS, if the screen image is static, the recording is skipped. If the screen image is constantly moving (such as playing a video), when playing back the recording, it appears to be playing at double speed. I'm not sure why.

TRANS_BY_GPT4

winlinvip commented 3 months ago

Akin to the issues of playing WebRTC in different Android browsers, the DVR also has some special problems, because DVR depends on converting WebRTC to RTMP.