deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.18k stars 284 forks source link

RTSP stream problem -Stream exit by signal or not client #341

Open nakladalm opened 1 year ago

nakladalm commented 1 year ago

Hello,

I have 2 cameras via RTSP, the one that is Ubiquiti works, but the one I have BESDER 1080//960P/720p Full HD IP Camera XMEye so from VLC works for me, but via RTSPtoWEB does not work.

Where's the bug?

OK camera (ubiquiti): rtsp://123.123.123.123:15644/live/ch00_0

Fail/Problem (BESDER) : rtsp://123.123.123.123:15645/user=web&password=123&channel=1&stream=0.sdp?real_stream (VLC player from internet and local site - ok)

Camera 2: https://www.aliexpress.com/item/32975438755.html?spm=a2g0o.order_list.order_list_main.45.67dc1802xOkGYF

LOG docker image: 2023/06/03 12:43:48 [OPTIONS rtsp://123.123.123.123:15645/user=web&password=123&channel=1&stream=0.sdp/ RTSP/1.0 CSeq: 5 Require: implicit-play User-Agent: Lavf58.76.100 Session: 5155470 ] 2023/06/03 12:44:02 [TEARDOWN rtsp://123.123.123.123:15645/user=web&password=123&channel=1&stream=0.sdp/ RTSP/1.0 CSeq: 6 User-Agent: Lavf58.76.100 Session: 5155470 ] 2023/06/03 12:44:02 [RTSP Client RTP Read Header read tcp ?:?:?:?:33776->123.123.123.123:15645: use of closed network connection] 2023/06/03 12:44:02 [RTSP Client Close <nil>] INFO[2023-06-03T12:44:02Z] Stream exit by signal or not client call=StreamServerRunStream channel=0 func=StreamServerRunStreamDo module=core stream=RK2