Skip to content
/ srs Public
  • Notifications
  • Fork 5.2k
  • Star 24.3k
New issue

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

Sign up for GitHub

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

Already on GitHub? Sign in to your account

Jump to bottom

obs鎺╮tmp娴佸埌srs,涓嶈兘閫氳繃srsplayer娴佺晠鎾斁' translates to: 'obs pushes rtmp stream to srs, cannot play smoothly through srsplayer. #2439

Closed
jiangmaoliang opened this issue Jun 24, 2021 · 4 comments
Closed

obs鎺╮tmp娴佸埌srs,涓嶈兘閫氳繃srsplayer娴佺晠鎾斁' translates to: 'obs pushes rtmp stream to srs, cannot play smoothly through srsplayer. #2439

jiangmaoliang opened this issue Jun 24, 2021 · 4 comments
Assignees
@xiaozhihong
Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Milestone
4.0

Comments

@jiangmaoliang
Copy link

jiangmaoliang commented Jun 24, 2021

Description'

Please ensure that you maintain the markdown structure.

Please describe the issue you encountered here:
I am pushing an RTMP stream from OBS to SRS, and then playing a WebRTC stream through the playback page provided by SRS. However, the playback is not smooth and resembles a slideshow.

  1. SRS version: v4.0.117
  2. SRS log is as follows:
    '
    Please ensure that you maintain the markdown structure.
[2021-06-24 08:48:07.342][Trace][1][4x5f8w21] TCP: clear zombies=1 resources, conns=2, removing=0, unsubs=0
[2021-06-24 08:48:07.342][Trace][1][14mtt605] TCP: disposing #0 resource(HttpConn)(0x2d76230), conns=2, disposing=1, zombies=0
[2021-06-24 08:48:07.409][Trace][1][14mtt605] RTC: session address init 192.168.100.75:49744
[2021-06-24 08:48:07.410][Trace][1][14mtt605] RTC: session STUN done, waiting DTLS handshake.
[2021-06-24 08:48:07.410][Trace][1][z4690ko3] <- RTC RECV #10, udp 1, pps 0/0, schedule 1
[2021-06-24 08:48:07.413][Trace][1][14mtt605] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=167, cnt=22, size=154, hs=1
[2021-06-24 08:48:07.414][Trace][1][14mtt605] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=679, cnt=22, size=82, hs=2
[2021-06-24 08:48:07.417][Trace][1][14mtt605] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=578, cnt=22, size=299, hs=11
[2021-06-24 08:48:07.418][Trace][1][14mtt605] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4
[2021-06-24 08:48:07.419][Trace][1][14mtt605] RTC: DTLS handshake done.
[2021-06-24 08:48:07.419][Trace][1][14mtt605] RTC: session pub=0, sub=1, to=30000ms connection established
[2021-06-24 08:48:07.419][Trace][1][14mtt605] RTC: Subscriber url=/live/livestream established
[2021-06-24 08:48:07.419][Trace][1][14mtt605] create consumer, no gop cache
[2021-06-24 08:48:07.419][Trace][1][14mtt605] RTC: start play url=/live/livestream, source_id=x3gc67s4/x3gc67s4, realtime=1, mw_msgs=0
[2021-06-24 08:48:10.090][Trace][1][852y54xa] Hybrid cpu=20.98%,25MB, cid=9,5, timer=59,0,9, clock=0,20,23,1,1,1,1,0,0, free=1, objs=(pkt:1620,raw:42,fua:1577,msg:1851,oth:1,buf:36)
[2021-06-24 08:48:10.090][Trace][1][852y54xa] RTC: Server conns=1
[2021-06-24 08:48:13.905][Trace][1][x3gc67s4] -> HLS time=40079951ms, sno=3, ts=livestream-2.ts, dur=0.00, dva=2717p
[2021-06-24 08:48:14.022][Trace][1][x3gc67s4] <- CPB time=34999707, okbps=0,0,0, ikbps=13875,14084,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:48:15.092][Trace][1][852y54xa] Hybrid cpu=15.98%,26MB, cid=9,5, timer=59,0,9, clock=0,20,23,1,1,1,1,0,0, free=1, objs=(pkt:1620,raw:42,fua:1577,msg:1851,oth:1,buf:36)
[2021-06-24 08:48:15.092][Trace][1][852y54xa] RTC: Server conns=1
[2021-06-24 08:48:17.482][Trace][1][z4690ko3] <- RTC RECV #10, udp 103, pps 2/10, schedule 103
[2021-06-24 08:48:20.092][Trace][1][852y54xa] Hybrid cpu=43.00%,27MB, cid=1,10, timer=59,0,45, clock=0,23,19,1,1,1,1,0,0, objs=(pkt:2438,raw:64,fua:2373,msg:2642,oth:1,buf:31)
[2021-06-24 08:48:20.092][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1217,rtp:1216,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:48:22.194][Trace][1][852y54xa] CircuitBreaker: cpu=93.72%,27MB, break=1,0,0, cond=93.72%, snk=0,0,0
[2021-06-24 08:48:23.190][Trace][1][852y54xa] CircuitBreaker: cpu=90.36%,28MB, break=1,0,0, cond=90.36%, snk=0,0,0
[2021-06-24 08:48:23.777][Trace][1][14mtt605] RTC: NACK ARQ seq=63079, ssrc=10105, ts=3079440, count=1/1, 1314 bytes
[2021-06-24 08:48:23.907][Trace][1][x3gc67s4] -> HLS time=50099886ms, sno=3, ts=livestream-2.ts, dur=0.00, dva=9934p
[2021-06-24 08:48:24.032][Trace][1][x3gc67s4] <- CPB time=45006169, okbps=0,0,0, ikbps=14080,14084,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:48:24.189][Trace][1][852y54xa] CircuitBreaker: cpu=55.06%,28MB, break=1,0,0, cond=55.06%, snk=0,0,0
[2021-06-24 08:48:25.103][Trace][1][852y54xa] Hybrid cpu=55.06%,28MB, cid=1,10, timer=59,0,45, clock=0,23,19,1,1,1,1,0,0, objs=(pkt:2438,raw:64,fua:2373,msg:2642,oth:1,buf:31)
[2021-06-24 08:48:25.103][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1217,rtp:1216,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:48:27.532][Trace][1][z4690ko3] <- RTC RECV #10, udp 99, pps 3/9, schedule 99
[2021-06-24 08:48:30.103][Trace][1][852y54xa] Hybrid cpu=13.97%,28MB, cid=1,9, timer=46,0,35, clock=1,12,14,1,1,1,2,1,1, objs=(pkt:3359,raw:89,fua:3270,msg:3642,oth:1,buf:44)
[2021-06-24 08:48:30.103][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(9,rtp:0,stun:1,rtcp:9), spkts=(1703,rtp:1703,stun:1,rtcp:0), rtcp=(pli:2,twcc:0,rr:0), rnk=(1,1,h:21,m:37), fid=(id:0,fid:0,ffid:9,addr:1,faddr:9)
[2021-06-24 08:48:34.034][Trace][1][x3gc67s4] <- CPB time=55027331, okbps=0,0,0, ikbps=14409,14084,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:48:34.188][Trace][1][x3gc67s4] -> HLS time=60353529ms, sno=4, ts=livestream-3.ts, dur=0.00, dva=5717p
[2021-06-24 08:48:35.104][Trace][1][852y54xa] Hybrid cpu=20.04%,26MB, cid=1,9, timer=46,0,35, clock=1,12,14,1,1,1,2,1,1, objs=(pkt:3359,raw:89,fua:3270,msg:3642,oth:1,buf:44)
[2021-06-24 08:48:35.104][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(9,rtp:0,stun:1,rtcp:9), spkts=(1703,rtp:1703,stun:1,rtcp:0), rtcp=(pli:2,twcc:0,rr:0), rnk=(1,1,h:21,m:37), fid=(id:0,fid:0,ffid:9,addr:1,faddr:9)
[2021-06-24 08:48:37.629][Trace][1][z4690ko3] <- RTC RECV #10, udp 101, pps 4/10, schedule 101
[2021-06-24 08:48:40.104][Trace][1][852y54xa] Hybrid cpu=16.97%,27MB, cid=1,9, timer=46,0,35, clock=1,12,14,1,1,1,2,1,1, objs=(pkt:3359,raw:89,fua:3270,msg:3642,oth:1,buf:44)
[2021-06-24 08:48:40.105][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(9,rtp:0,stun:1,rtcp:9), spkts=(1703,rtp:1703,stun:1,rtcp:0), rtcp=(pli:2,twcc:0,rr:0), rnk=(1,1,h:21,m:37), fid=(id:0,fid:0,ffid:9,addr:1,faddr:9)
[2021-06-24 08:48:44.184][Trace][1][x3gc67s4] -> HLS time=70361703ms, sno=5, ts=livestream-4.ts, dur=0.00, dva=134p
[2021-06-24 08:48:45.111][Trace][1][852y54xa] Hybrid cpu=17.00%,26MB, cid=1,10, timer=59,0,46, clock=0,22,20,1,1,0,1,0,0, objs=(pkt:2748,raw:70,fua:2677,msg:2971,oth:1,buf:35)
[2021-06-24 08:48:45.111][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1374,rtp:1374,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:48:47.681][Trace][1][z4690ko3] <- RTC RECV #10, udp 102, pps 5/10, schedule 102
[2021-06-24 08:48:49.042][Trace][1][x3gc67s4] <- CPB time=70004645, okbps=0,0,0, ikbps=14437,14637,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:48:50.113][Trace][1][852y54xa] Hybrid cpu=20.02%,26MB, cid=1,10, timer=59,0,46, clock=0,22,20,1,1,0,1,0,0, objs=(pkt:2748,raw:70,fua:2677,msg:2971,oth:1,buf:35)
[2021-06-24 08:48:50.113][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1374,rtp:1374,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:48:54.235][Trace][1][x3gc67s4] -> HLS time=80422577ms, sno=5, ts=livestream-4.ts, dur=0.00, dva=7200p
[2021-06-24 08:48:55.114][Trace][1][852y54xa] Hybrid cpu=17.98%,27MB, cid=1,10, timer=58,0,45, clock=0,19,22,1,1,1,1,0,0, objs=(pkt:2719,raw:69,fua:2649,msg:2942,oth:1,buf:34)
[2021-06-24 08:48:55.114][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(9,rtp:0,stun:1,rtcp:9), spkts=(1360,rtp:1359,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:9,addr:1,faddr:9)
[2021-06-24 08:48:57.719][Trace][1][z4690ko3] <- RTC RECV #10, udp 101, pps 5/10, schedule 101
[2021-06-24 08:48:59.045][Trace][1][x3gc67s4] <- CPB time=80025477, okbps=0,0,0, ikbps=14267,14637,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:49:00.114][Trace][1][852y54xa] Hybrid cpu=22.00%,28MB, cid=1,10, timer=58,0,45, clock=0,19,22,1,1,1,1,0,0, objs=(pkt:2719,raw:69,fua:2649,msg:2942,oth:1,buf:34)
[2021-06-24 08:49:00.114][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(9,rtp:0,stun:1,rtcp:9), spkts=(1360,rtp:1359,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:9,addr:1,faddr:9)
[2021-06-24 08:49:04.243][Trace][1][x3gc67s4] -> HLS time=90429696ms, sno=6, ts=livestream-5.ts, dur=0.00, dva=1734p
[2021-06-24 08:49:05.115][Trace][1][852y54xa] Hybrid cpu=15.00%,26MB, cid=1,10, timer=60,0,46, clock=0,25,20,1,1,0,1,0,0, objs=(pkt:2781,raw:71,fua:2709,msg:3008,oth:1,buf:35)
[2021-06-24 08:49:05.115][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1391,rtp:1390,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:07.825][Trace][1][z4690ko3] <- RTC RECV #10, udp 103, pps 6/10, schedule 103
[2021-06-24 08:49:09.052][Trace][1][x3gc67s4] <- CPB time=90029355, okbps=0,0,0, ikbps=14239,14152,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:49:10.115][Trace][1][852y54xa] Hybrid cpu=17.98%,27MB, cid=1,10, timer=60,0,46, clock=0,25,20,1,1,0,1,0,0, objs=(pkt:2781,raw:71,fua:2709,msg:3008,oth:1,buf:35)
[2021-06-24 08:49:10.115][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1391,rtp:1390,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:14.284][Trace][1][x3gc67s4] -> HLS time=100471553ms, sno=6, ts=livestream-5.ts, dur=0.00, dva=8717p
[2021-06-24 08:49:15.116][Trace][1][852y54xa] Hybrid cpu=14.00%,26MB, cid=1,10, timer=58,0,44, clock=0,18,21,1,2,1,1,0,0, objs=(pkt:2665,raw:69,fua:2595,msg:2884,oth:1,buf:34)
[2021-06-24 08:49:15.116][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1333,rtp:1332,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:17.844][Trace][1][z4690ko3] <- RTC RECV #10, udp 102, pps 6/10, schedule 102
[2021-06-24 08:49:19.055][Trace][1][x3gc67s4] <- CPB time=100039912, okbps=0,0,0, ikbps=14219,14152,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:49:20.116][Trace][1][852y54xa] Hybrid cpu=12.00%,26MB, cid=1,10, timer=58,0,44, clock=0,18,21,1,2,1,1,0,0, objs=(pkt:2665,raw:69,fua:2595,msg:2884,oth:1,buf:34)
[2021-06-24 08:49:20.116][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1333,rtp:1332,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:24.291][Trace][1][x3gc67s4] -> HLS time=110480476ms, sno=7, ts=livestream-6.ts, dur=0.00, dva=3250p
[2021-06-24 08:49:25.116][Trace][1][852y54xa] Hybrid cpu=13.99%,27MB, cid=1,10, timer=58,0,44, clock=0,18,21,1,2,1,1,0,0, objs=(pkt:2665,raw:69,fua:2595,msg:2884,oth:1,buf:34)
[2021-06-24 08:49:25.117][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1333,rtp:1332,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:27.949][Trace][1][z4690ko3] <- RTC RECV #10, udp 104, pps 6/10, schedule 104
[2021-06-24 08:49:30.118][Trace][1][852y54xa] Hybrid cpu=23.00%,27MB, cid=1,10, timer=59,0,46, clock=0,23,21,1,1,1,1,0,0, objs=(pkt:3059,raw:79,fua:2979,msg:3309,oth:1,buf:39)
[2021-06-24 08:49:30.118][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1530,rtp:1529,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:34.059][Trace][1][x3gc67s4] <- CPB time=115034939, okbps=0,0,0, ikbps=14581,14152,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:49:34.320][Trace][1][x3gc67s4] -> HLS time=120505442ms, sno=7, ts=livestream-6.ts, dur=0.00, dva=12367p
[2021-06-24 08:49:35.119][Trace][1][852y54xa] Hybrid cpu=21.96%,27MB, cid=1,10, timer=59,0,46, clock=0,23,21,1,1,1,1,0,0, objs=(pkt:3059,raw:79,fua:2979,msg:3309,oth:1,buf:39)
[2021-06-24 08:49:35.119][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1530,rtp:1529,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:37.966][Trace][1][z4690ko3] <- RTC RECV #10, udp 104, pps 7/10, schedule 104
[2021-06-24 08:49:40.119][Trace][1][852y54xa] Hybrid cpu=15.00%,26MB, cid=1,10, timer=59,0,46, clock=0,23,21,1,1,1,1,0,0, objs=(pkt:3059,raw:79,fua:2979,msg:3309,oth:1,buf:39)
[2021-06-24 08:49:40.119][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1530,rtp:1529,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:44.060][Trace][1][x3gc67s4] <- CPB time=125039828, okbps=0,0,0, ikbps=14781,15799,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:49:44.538][Trace][1][x3gc67s4] -> HLS time=130706121ms, sno=8, ts=livestream-7.ts, dur=0.00, dva=8334p
[2021-06-24 08:49:45.122][Trace][1][852y54xa] Hybrid cpu=18.00%,26MB, cid=1,10, timer=59,0,46, clock=0,28,16,1,1,0,1,0,1, objs=(pkt:3355,raw:86,fua:3268,msg:3629,oth:1,buf:42)
[2021-06-24 08:49:45.122][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1676,rtp:1676,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:48.052][Trace][1][z4690ko3] <- RTC RECV #10, udp 102, pps 7/10, schedule 102
[2021-06-24 08:49:50.129][Trace][1][852y54xa] Hybrid cpu=17.86%,27MB, cid=1,10, timer=59,0,46, clock=0,28,16,1,1,0,1,0,1, objs=(pkt:3355,raw:86,fua:3268,msg:3629,oth:1,buf:42)
[2021-06-24 08:49:50.129][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1676,rtp:1676,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:54.601][Trace][1][x3gc67s4] -> HLS time=140779241ms, sno=9, ts=livestream-8.ts, dur=0.00, dva=3017p
[2021-06-24 08:49:55.129][Trace][1][852y54xa] Hybrid cpu=18.00%,27MB, cid=1,10, timer=59,0,45, clock=0,19,22,1,1,1,0,0,0, objs=(pkt:2792,raw:71,fua:2720,msg:3019,oth:1,buf:35)
[2021-06-24 08:49:55.129][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1398,rtp:1398,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:49:58.103][Trace][1][z4690ko3] <- RTC RECV #10, udp 102, pps 7/10, schedule 102
[2021-06-24 08:49:59.067][Trace][1][x3gc67s4] <- CPB time=140055081, okbps=0,0,0, ikbps=14628,15799,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:50:00.130][Trace][1][852y54xa] Hybrid cpu=11.99%,28MB, cid=1,10, timer=59,0,45, clock=0,19,22,1,1,1,0,0,0, objs=(pkt:2792,raw:71,fua:2720,msg:3019,oth:1,buf:35)
[2021-06-24 08:50:00.130][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1398,rtp:1398,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:50:04.598][Trace][1][x3gc67s4] -> HLS time=150781303ms, sno=9, ts=livestream-8.ts, dur=0.00, dva=9617p
[2021-06-24 08:50:05.131][Trace][1][852y54xa] Hybrid cpu=19.98%,27MB, cid=1,10, timer=59,0,45, clock=0,19,22,1,1,1,0,0,0, objs=(pkt:2792,raw:71,fua:2720,msg:3019,oth:1,buf:35)
[2021-06-24 08:50:05.131][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1398,rtp:1398,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:50:08.270][Trace][1][z4690ko3] <- RTC RECV #10, udp 104, pps 7/10, schedule 104
[2021-06-24 08:50:09.068][Trace][1][x3gc67s4] <- CPB time=150057072, okbps=0,0,0, ikbps=14635,14471,0, mr=0/350, p1stpt=20000, pnt=5000
[2021-06-24 08:50:10.133][Trace][1][852y54xa] Hybrid cpu=12.99%,28MB, cid=1,10, timer=60,0,47, clock=0,26,20,1,1,0,0,1,0, objs=(pkt:2557,raw:67,fua:2489,msg:2771,oth:1,buf:33)
[2021-06-24 08:50:10.133][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1279,rtp:1278,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
[2021-06-24 08:50:14.607][Trace][1][x3gc67s4] -> HLS time=160793834ms, sno=10, ts=livestream-9.ts, dur=0.00, dva=4584p
[2021-06-24 08:50:15.135][Trace][1][852y54xa] Hybrid cpu=18.00%,29MB, cid=1,10, timer=60,0,47, clock=0,26,20,1,1,0,0,1,0, objs=(pkt:2557,raw:67,fua:2489,msg:2771,oth:1,buf:33)
[2021-06-24 08:50:15.135][Trace][1][852y54xa] RTC: Server conns=1, rpkts=(10,rtp:0,stun:1,rtcp:9), spkts=(1279,rtp:1278,stun:1,rtcp:0), rtcp=(pli:4,twcc:0,rr:0), fid=(id:0,fid:0,ffid:10,addr:1,faddr:10)
  1. SRS configuration is as follows:
    '
    Please ensure that you maintain the markdown structure.
listen              1935;
max_connections     1000;
daemon              off;
srs_log_tank        console;

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

http_api {
    enabled         on;
    listen          1985;
}
stats {
    network         0;
}
rtc_server {
    enabled on;
    listen 8000;
    candidate 192.168.100.46;
}

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

Replay
Make sure to maintain the markdown structure.

> How to replay bug?
Make sure to maintain the markdown structure.

1. Deploy an SRS service that supports WebRTC.
2. Push the stream to SRS using OBS.
3. Watch the WebRTC stream through the playback URL provided by SRS.

Expected behavior (Expect)

> Describe your expectation (Please describe your expectation)

I expect smooth playback.
1624524518(1)

TRANS_BY_GPT3

@xiaozhihong
Copy link
Collaborator

xiaozhihong commented Jun 25, 2021

Settings" -> "Output" -> Advanced -> Select "Baseline" for the profile. WebRTC does not support B-frames.

TRANS_BY_GPT3

@xiaozhihong
Copy link
Collaborator

xiaozhihong commented Jun 25, 2021

image

@duiniuluantanqin duiniuluantanqin mentioned this issue Jul 1, 2021
SRS webrtc playback appears gray screen phenomenon. #2449
Closed
@chenfuxu920
Copy link

chenfuxu920 commented Aug 10, 2021

"Settings" -> "Output" -> Advanced -> Select "Baseline" in the profile, WebRTC does not support B-frames.

Thank you, it works. Just set B-frames to 0.

image

TRANS_BY_GPT3

@jiangmaoliang
Copy link
Author

jiangmaoliang commented Aug 17, 2021

I have already modified the OBS streaming method, but there is still some lag, although it has indeed reduced a lot. The WebRTC playback will lag once every about 1 minute, but it will continue playing after a while. The playback is smooth when using RTMP. I tested it on an internal network, so there should be no network issues. There are no error reports from the backend. Have you encountered this situation before? I am using this clock website: http://www.daojishiqi.com/bjtime.asp

TRANS_BY_GPT3

@winlinvip winlinvip closed this as completed Aug 18, 2021
@winlinvip winlinvip assigned xiaozhihong Aug 27, 2021
@winlinvip winlinvip added the WebRTC WebRTC, RTC2RTMP or RTMP2RTC. label Aug 27, 2021
@winlinvip winlinvip added this to the 4.0 milestone Sep 4, 2021
@winlinvip winlinvip changed the title obs鎺╮tmp娴佸埌srs,涓嶈兘閫氳繃srsplayer娴佺晠鎾斁 obs鎺╮tmp娴佸埌srs,涓嶈兘閫氳繃srsplayer娴佺晠鎾斁' translates to: 'obs pushes rtmp stream to srs, cannot play smoothly through srsplayer. Jul 28, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Projects
None yet
Development

No branches or pull requests

4 participants
@winlinvip @jiangmaoliang @xiaozhihong @chenfuxu920

Footer

© 2024 GitHub, Inc.

资讯网起名12画的字只要还在作文和毅字用一起的名字真正免费的起名软件榜果洛网站建设电视剧新小娘惹副本 电影天堂衣服制作diy网站什么小说好看吴孟达被曝因重病入院周公解梦大全查询梦见离婚青岛公司起名报价起名100分好吗域名怎么起比较好网站网站建设报价网站制作心得网站建设推广公司哪家好周易象传网站设计的培训学校配送公司名字起名字猪宝宝宜用字的起名唐亮2020年最新励志电影祖字辈男孩起名大全八字命宫推算方法姓氏三才五格起名免费姓名测试如何个性签名女孩属猪缺金起姓名测试好物分享名字怎么起营销推广推广少年生前被连续抽血16次?多部门介入两大学生合买彩票中奖一人不认账让美丽中国“从细节出发”淀粉肠小王子日销售额涨超10倍高中生被打伤下体休学 邯郸通报单亲妈妈陷入热恋 14岁儿子报警何赛飞追着代拍打雅江山火三名扑火人员牺牲系谣言张家界的山上“长”满了韩国人?男孩8年未见母亲被告知被遗忘中国拥有亿元资产的家庭达13.3万户19岁小伙救下5人后溺亡 多方发声315晚会后胖东来又人满为患了张立群任西安交通大学校长“重生之我在北大当嫡校长”男子被猫抓伤后确诊“猫抓病”测试车高速逃费 小米:已补缴周杰伦一审败诉网易网友洛杉矶偶遇贾玲今日春分倪萍分享减重40斤方法七年后宇文玥被薅头发捞上岸许家印被限制高消费萧美琴窜访捷克 外交部回应联合利华开始重组专访95后高颜值猪保姆胖东来员工每周单休无小长假男子被流浪猫绊倒 投喂者赔24万小米汽车超级工厂正式揭幕黑马情侣提车了西双版纳热带植物园回应蜉蝣大爆发当地回应沈阳致3死车祸车主疑毒驾恒大被罚41.75亿到底怎么缴妈妈回应孩子在校撞护栏坠楼外国人感慨凌晨的中国很安全杨倩无缘巴黎奥运校方回应护栏损坏小学生课间坠楼房客欠租失踪 房东直发愁专家建议不必谈骨泥色变王树国卸任西安交大校长 师生送别手机成瘾是影响睡眠质量重要因素国产伟哥去年销售近13亿阿根廷将发行1万与2万面值的纸币兔狲“狲大娘”因病死亡遭遇山火的松茸之乡“开封王婆”爆火:促成四五十对奥巴马现身唐宁街 黑色着装引猜测考生莫言也上北大硕士复试名单了德国打算提及普京时仅用姓名天水麻辣烫把捣辣椒大爷累坏了

资讯网 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化