Skip to content

上海电信RTSP播放5分钟就断开 #332

@lucawong

Description

@lucawong

日志如下,很奇怪的是刚刚抓取的日志,时间却对应不上。不知道什么情况。

03:52:03 INFO [Worker 0] New client 192.168.2.14:37462 requested URL: /rtsp/222.68.211.94:554/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff (method: GET)
03:52:03 DEBUG [Worker 0] r2h-token validated (source: query)
03:52:03 DEBUG [Worker 0] Parsed RTSP URL: rtsp://222.68.211.94:554/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff
03:52:03 DEBUG [Worker 0] Timezone: No TZ marker in User-Agent
03:52:03 DEBUG [Worker 0] RTSP: Parsed URL - host=222.68.211.94, port=554, path=/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff
03:52:03 DEBUG [Worker 0] RTSP: Connection to 222.68.211.94:554 in progress (async)
03:52:03 DEBUG [Worker 0] RTSP: Socket registered with epoll for connection completion
03:52:03 DEBUG [Worker 0] RTSP: Async connection initiated, state=1
03:52:03 INFO [Worker 0] RTSP: Connected to 222.68.211.94:554
03:52:03 DEBUG [Worker 0] RTSP: Connection to 222.68.211.94:554 completed successfully
03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
OPTIONS rtsp://222.68.211.94/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff RTSP/1.0
CSeq: 1
User-Agent: rtp2httpd/3.8.3

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (271 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 DEBUG [Worker 0] RTSP: Server does not advertise GET_PARAMETER, will use OPTIONS for keepalive
03:52:03 DEBUG [Worker 0] RTSP: Server advertised methods: DESCRIBE, OPTIONS, SETUP
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 200 OK
CSeq: 1
Server: FonsView SERVER/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Public: DESCRIBE, OPTIONS, SETUP

03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
DESCRIBE rtsp://222.68.211.94/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff RTSP/1.0
CSeq: 2
User-Agent: rtp2httpd/3.8.3
Accept: application/sdp

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (297 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 DEBUG [Worker 0] RTSP: Received redirect response 302
03:52:03 DEBUG [Worker 0] RTSP: Handling redirect to: rtsp://124.75.28.84:554/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff
03:52:03 DEBUG [Worker 0] RTSP: Parsed URL - host=124.75.28.84, port=554, path=/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff
03:52:03 DEBUG [Worker 0] RTSP: Connection to 124.75.28.84:554 in progress (async)
03:52:03 DEBUG [Worker 0] RTSP: Socket registered with epoll for connection completion
03:52:03 INFO [Worker 0] RTSP: Redirect to 124.75.28.84:554 initiated (redirect #1)
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 302 Moved Temporarily
CSeq: 2
Server: FonsView SERVER/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Location: rtsp://124.75.28.84:554/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff

03:52:03 DEBUG [Worker 0] Client disconnected
03:52:03 INFO [Worker 0] RTSP: Cleanup requested in state 13, initiating TEARDOWN
03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
TEARDOWN rtsp://124.75.28.37:55554/LIVE/1219885?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100029Z-20260209T110029Z&LID=1219885&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa29bcfdadef7&FvTSDesb=1770634829-949974&TSDescribeResp=1770634829-958362 RTSP/1.0
CSeq: 9
User-Agent: rtp2httpd/3.8.3
Session: 310033631

03:52:03 DEBUG [Worker 0] RTSP: TEARDOWN request prepared, will send asynchronously
03:52:03 DEBUG [Worker 0] RTSP: TEARDOWN initiated, waiting for async completion
03:52:03 DEBUG [Worker 0] Stream: RTSP async TEARDOWN initiated, deferring final cleanup
03:52:03 DEBUG [Worker 0] Worker: Async RTSP TEARDOWN initiated, deferring connection cleanup
03:52:03 DEBUG [Worker 0] Worker: Deferred cleanup - waiting for RTSP TEARDOWN completion
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (492 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 INFO [Worker 0] RTSP: Connected to 124.75.28.84:554
03:52:03 DEBUG [Worker 0] RTSP: Connection to 124.75.28.84:554 completed successfully
03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
OPTIONS rtsp://124.75.28.84/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff RTSP/1.0
CSeq: 3
User-Agent: rtp2httpd/3.8.3

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (270 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 DEBUG [Worker 0] RTSP: Buffer full with no RTSP header, discarding
03:52:03 DEBUG [Worker 0] RTSP: Buffer full with no RTSP header, discarding
03:52:03 DEBUG [Worker 0] RTSP: Server supports GET_PARAMETER for keepalive
03:52:03 DEBUG [Worker 0] RTSP: Server advertised methods: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 200 OK
CSeq: 3
Server: FonsView SS/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
DESCRIBE rtsp://124.75.28.84/SHDXFH_live/00000001000000050000000005000012?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff RTSP/1.0
CSeq: 4
User-Agent: rtp2httpd/3.8.3
Accept: application/sdp

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (296 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 DEBUG [Worker 0] RTSP: Received redirect response 302
03:52:03 DEBUG [Worker 0] RTSP: Handling redirect to: rtsp://124.75.28.73:55554/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021
03:52:03 DEBUG [Worker 0] RTSP: Parsed URL - host=124.75.28.73, port=55554, path=/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021
03:52:03 DEBUG [Worker 0] RTSP: Connection to 124.75.28.73:55554 in progress (async)
03:52:03 DEBUG [Worker 0] RTSP: Socket registered with epoll for connection completion
03:52:03 INFO [Worker 0] RTSP: Redirect to 124.75.28.73:55554 initiated (redirect #2)
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 302 Moved Temporarily
CSeq: 4
Server: FonsView SS/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Location: rtsp://124.75.28.73:55554/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021

03:52:03 INFO [Worker 0] RTSP: Connected to 124.75.28.73:55554
03:52:03 DEBUG [Worker 0] RTSP: Connection to 124.75.28.73:55554 completed successfully
03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
OPTIONS rtsp://124.75.28.73:55554/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021 RTSP/1.0
CSeq: 5
User-Agent: rtp2httpd/3.8.3

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (471 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 INFO [Worker 0] RTSP: Server closed connection
03:52:03 DEBUG [Worker 0] RTSP: Server closed connection during TEARDOWN (acceptable)
03:52:03 DEBUG [Worker 0] RTSP: Main socket closed
03:52:03 DEBUG [Worker 0] RTSP: Session cleanup complete
03:52:03 DEBUG [Worker 0] RTSP: Graceful TEARDOWN completed
03:52:03 DEBUG [Worker 0] RTSP: Server supports GET_PARAMETER for keepalive
03:52:03 DEBUG [Worker 0] RTSP: Server advertised methods: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 200 OK
CSeq: 5
Server: FonsView SS/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER

03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
DESCRIBE rtsp://124.75.28.73:55554/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021 RTSP/1.0
CSeq: 6
User-Agent: rtp2httpd/3.8.3
Accept: application/sdp

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (497 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 200 OK
CSeq: 6
Server: FonsView SS/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Content-Type: application/sdp
Content-Length: 141
Content-Base: rtsp://124.75.28.73:55554/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021

03:52:03 DEBUG [Worker 0] RTSP: Response body data (state=6): v=0
o=- 1 1 IN IP4 0.0.0.0
s=RTSP Session
t=0 0
c=IN IP4 0.0.0.0
m=video 0 RTP/AVP 33
a=range:clock=20260209T100049Z-20260209T110049Z
03:52:03 DEBUG [Worker 0] RTSP: Setting up UDP sockets
03:52:03 DEBUG [Worker 0] RTSP: RTP socket registered with epoll
03:52:03 DEBUG [Worker 0] RTSP: RTCP socket registered with epoll
03:52:03 DEBUG [Worker 0] RTSP: UDP sockets bound to ports 19736 (RTP) and 19737 (RTCP)
03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
SETUP rtsp://124.75.28.73:55554/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021 RTSP/1.0
CSeq: 7
User-Agent: rtp2httpd/3.8.3
Transport: MP2T/RTP/TCP;unicast;interleaved=0-1,MP2T/TCP;unicast;interleaved=0-1,RTP/AVP/TCP;unicast;interleaved=0-1,MP2T/RTP/UDP;unicast;client_port=19736-19737,MP2T/UDP;unicast;client_port=19736-19737,RTP/AVP;unicast;client_port=19736-19737

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (713 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 DEBUG [Worker 0] RTSP: Parsing server transport response: MP2T/TCP;unicast;interleaved=0-1;ssrc=2293a4ee;mode="PLAY"
03:52:03 INFO [Worker 0] RTSP: Server selected MP2T transport
03:52:03 INFO [Worker 0] RTSP: Using TCP interleaved transport
03:52:03 DEBUG [Worker 0] RTSP: Server confirmed TCP interleaved channels: 0/1
03:52:03 DEBUG [Worker 0] RTSP: Closed UDP RTP socket (use TCP interleaved mode)
03:52:03 DEBUG [Worker 0] RTSP: Closed UDP RTCP socket (use TCP interleaved mode)
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 200 OK
CSeq: 7
Server: FonsView SS/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Session: 580101358
Transport: MP2T/TCP;unicast;interleaved=0-1;ssrc=2293a4ee;mode="PLAY"

03:52:03 DEBUG [Worker 0] RTSP: Prepared request:
PLAY rtsp://124.75.28.73:55554/LIVE/1270332?AuthInfo=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&r2h-token=abcff&TRANSPORT=MP2T/TCP&DURATION=20260209T100049Z-20260209T110049Z&LID=1270332&Provider_id=SHDXFH_live&Pcontent_id=00000001000000050000000005000012&FvSeid=481aa2c27a137e53&FvTSDesb=1770634849-250011&TSDescribeResp=1770634849-262021 RTSP/1.0
CSeq: 8
User-Agent: rtp2httpd/3.8.3
Session: 580101358

03:52:03 DEBUG [Worker 0] RTSP: Request sent completely (488 bytes)
03:52:03 DEBUG [Worker 0] RTSP: Request sent completely, waiting for response
03:52:03 DEBUG [Worker 0] RTSP: Received complete header:
RTSP/1.0 200 OK
CSeq: 8
Server: FonsView SS/1.0
Date: Mon, 09 Feb 2026 11:00:49 GMT
Session: 580101358
Scale: 1.000000

03:52:03 INFO [Worker 0] RTSP: Stream started successfully
03:57:04 INFO [Worker 0] RTSP: Server closed connection
03:57:04 DEBUG [Worker 0] RTSP: Auto-cleanup triggered on ERROR state
03:57:04 DEBUG [Worker 0] RTSP: Main socket closed
03:57:04 DEBUG [Worker 0] RTSP: Session cleanup complete
03:57:04 ERROR [Worker 0] RTSP: Socket event handling failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions