AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
3.88k stars 318 forks source link

Integrate iCatch DVR #676

Open fulviomeomartini opened 9 months ago

fulviomeomartini commented 9 months ago

Hi, I was unable to integrate my DVR in any way. I cannot find its RTSP URL even though I see that when I open the native app and establish a connection, Wireshark notifies me that the connection uses an RTSP stream. If I analyze the TCP stream, it tells me that it connects to the path: "/cgi-bin/net_video.cgi?hq=0&iframe=65535&pframe=65535&audio=0", but when I connect, it fails to extract the video stream. How can I find the URL and integrate it? I was only able to integrate an MJPEG stream, which is low quality, while with the native app (SoCatch), I can view in high definition. I found the low-resolution URL through the browser, which only allows connecting in high resolution through Internet Explorer and an ActiveX plugin. I have attached some Wireshark screenshots that may be helpful to you. The screeshots of go2rtc are in order of the configuration My configuration:

streams:
  casameomartini: http://admin:pass@192.168.1.92:9000/cgi-bin/net_jpeg.cgi?ch=0&time=1696623164023
  casameomartini2: bubble://admin:pass@192.168.1.92:9000/cgi-bin/net_video.cgi?hq=1&iframe=65535&pframe=65535&audio=65535
  casameomartini3: rtsp://admin:pass@192.168.1.92:9000/cgi-bin/net_video.cgi?hq=1&iframe=65535&pframe=65535&audio=65535
  casameomartini4: dvrip://admin:pass@192.168.1.92:9000/

Screenshot 2023-10-07 alle 12 39 30 Screenshot 2023-10-07 alle 12 12 04 Screenshot 2023-10-07 alle 12 43 24 Screenshot 2023-10-07 alle 12 43 38 Screenshot 2023-10-07 alle 12 44 07

AlexxIT commented 9 months ago

You can send Wireshark dumps to me in PM

fulviomeomartini commented 9 months ago

ok, i sent them on telegram

gurglingtonic commented 5 months ago

@fulviomeomartini hello. did you manage to get the url for high resolution from icatch?

AlexxIT commented 1 month ago

Please let me know if the problem is relevant

fulviomeomartini commented 1 month ago

I actually haven't found a solution. My current solution is a url_path that, once clicked, opens the "socatch" app on my iPhone. I hope someone better than me will be able to integrate it

AlexxIT commented 1 month ago

What's your nick in Telegram? So I can check history.

fulviomeomartini commented 1 month ago

@meotapin

AlexxIT commented 1 month ago

I see. It's a pretty complicated protocol. I'm not likely to take it, but I'll leave the issue open.