Closed 732570672 closed 3 years ago
The same situation also applies to doc/source.flv, and I have seen SRS error. ` [2021-11-20 10:43:47.336][Warn][29836][12345280][104] client disconnect peer. ret=1007 [2021-11-20 10:43:47.336][Trace][29836][91b25u0c] TCP: clear zombies=1 resources, conns=3, removing=0, unsubs=0 [2021-11-20 10:43:47.336][Trace][29836][12345280] TCP: disposing #0 resource(HttpConn)(0x31091f0), conns=3, disposing=1, zombies=0 [2021-11-20 10:43:47.416][Trace][29836][12345280] RTC: session address init 172.16.18.91:65159 [2021-11-20 10:43:47.416][Trace][29836][12345280] RTC: session STUN done, waiting DTLS handshake. [2021-11-20 10:43:47.416][Trace][29836][86wp249z] <- RTC RECV #11, udp 139, pps 0/0, schedule 139 [2021-11-20 10:43:47.418][Trace][29836][12345280] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=167, cnt=22, size=154, hs=1 [2021-11-20 10:43:47.419][Trace][29836][12345280] DTLS: State Passive SEND, done=0, arq=0/0, r0=-1, r1=2, len=682, cnt=22, size=82, hs=2 [2021-11-20 10:43:47.423][Trace][29836][12345280] DTLS: State Passive RECV, done=0, arq=0/0, r0=1, r1=0, len=579, cnt=22, size=299, hs=11 [2021-11-20 10:43:47.425][Trace][29836][12345280] DTLS: State Passive SEND, done=1, arq=0/0, r0=1, r1=0, len=554, cnt=22, size=466, hs=4 [2021-11-20 10:43:47.425][Trace][29836][12345280] RTC: DTLS handshake done. [2021-11-20 10:43:47.425][Trace][29836][12345280] RTC: session pub=0, sub=1, to=0ms connection established [2021-11-20 10:43:47.425][Trace][29836][12345280] RTC: Subscriber url=/live/file established [2021-11-20 10:43:47.425][Trace][29836][12345280] create consumer, no gop cache [2021-11-20 10:43:47.425][Trace][29836][12345280] RTC: start play url=/live/file, source_id=g526d87n/95p44t24, realtime=1, mw_msgs=0 [2021-11-20 10:43:50.124][Trace][29836][00qvf6fs] Hybrid cpu=3.00%,16MB, cid=4,3, timer=62,0,13, clock=0,45,3,1,0,0,0,0,0, free=1, objs=(pkt:82,raw:70,fua:11,msg:297,oth:1,buf:50) [2021-11-20 10:43:50.124][Trace][29836][12345280] RTC: session destroy by timeout, username=y44imm3c:OeXI [2021-11-20 10:43:50.124][Trace][29836][12345280] RTC: before dispose resource(RtcConn)(0x2ee0b10), conns=1, zombies=0, ign=0, inz=0, ind=0 [2021-11-20 10:43:50.124][Trace][29836][12345280] RTC: session detach from 12345280, disposing=1 [2021-11-20 10:43:50.124][Trace][29836][7s093991] RTC: clear zombies=1 resources, conns=1, removing=0, unsubs=1 [2021-11-20 10:43:50.124][Trace][29836][12345280] RTC: disposing #0 resource(RtcConn)(0x2ee0b10), conns=1, disposing=1, zombies=0 [2021-11-20 10:43:50.235][Warn][29836][86wp249z][11] handle udp pkt, count=15289/15289, err: code=5008 : size=26, data=[81 ce 00 02 00 00 00 01] : no session, peer_id=172.16.18.91:65159, fast=-8647474232976863060 thread [29836][86wp249z]: cycle() [src/app/srs_app_listener.cpp:630][errno=11] thread [29836][12345280]: on_udp_packet() [src/app/srs_app_rtc_server.cpp:407][errno=11] [2021-11-20 10:43:55.122][Trace][29836][g526d87n] -> HLS time=617449035ms, sno=2106, ts=file-2105.ts, dur=0.00, dva=8875p [2021-11-20 10:43:55.124][Trace][29836][00qvf6fs] Hybrid cpu=2.00%,16MB, cid=4,3, timer=62,0,13, clock=0,45,3,1,0,0,0,0,0, free=1, objs=(pkt:82,raw:70,fua:11,msg:297,oth:1,buf:50) [2021-11-20 10:43:55.925][Trace][29836][g526d87n] <- CPB time=-574458376, okbps=0,0,0, ikbps=1764,279,1818, mr=0/350, p1stpt=20000, pnt=5000
`
TRANS_BY_GPT3
Oh, the case has been solved, the SRS is fine, although there was an error, it doesn't affect anything. The main reason for this error is due to an issue with my local network's iKuai router. Some UDP packets cannot pass through the router, probably related to "one-arm routing" (interested friends can search for it themselves). It works fine when deployed on a cloud server.
TRANS_BY_GPT3
👍 There is also this issue, which can be kept for reference.
TRANS_BY_GPT3
Description
When using VLC to play FLV, everything is normal, indicating that the streaming should be normal.
SRS version:
4.0.198
SRS log:
Replay
How to replay bug?
Steps to reproduce the bug:
Expected behavior:
> Describe your expectation:
Please describe what you expect to happen.
> Expectation:
I hope that the videos can play smoothly without any buffering.
TRANS_BY_GPT3