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
4.78k stars 384 forks source link

tls: handshake failure error when using dom.ru intercom camera via go2rtc #1377

Open rybakov-ks opened 2 weeks ago

rybakov-ks commented 2 weeks ago

Hello,

I’m using go2rtc as an addition to Home Assistant to stream the video feed from the dom.ru intercom camera. My config looks like this:

streams:
  dom_ru: |
    expr: let camera = ""; let token = ""; let operator = 99;
    fetch("https://myhome.novotelecom.ru/rest/v1/forpost/cameras/"+camera+"/video", {
      headers: {Authorization: "Bearer "+token, Operator: operator}
    }).json().data.URL.

I obtained the camera ID and token using HTTP Toolkit (the "Open Door" feature and other APIs work fine). However, when I attempt to retrieve the video stream, I get the following error:

streams: Get "https://cctv-sa1-dmfn.cheb.vs.ertelecom.ru:18080/rtsp/11982237297/MNypLLf03HkJMdj930FG": remote error: tls: handshake failure.

I would appreciate any ideas or suggestions on how to resolve this issue!

Thank you!

AlexxIT commented 1 week ago

What version of go2rtc do you have?

rybakov-ks commented 1 week ago

Current version: 1.9.4