Do I Need a go2rtc restream to connect to remote go2rtc service? #19422
-
|
I tried asking in AI and didn't get my answer exactly. Instead of configuring a restream, can I configure the cameras to connect directly to the remote go2rtc service? I am trying that and get a 401. so not sure how to setup auth if i'm not connecting to a local restream config. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
|
Based on the available sources, you do not necessarily need a local go2rtc restream to connect cameras to a remote go2rtc service. The documentation shows that go2rtc streams can be configured with various source types, not just local RTSP streams (1). However, the sources don't provide specific information about authentication methods for connecting to remote go2rtc services or how to handle 401 authentication errors when connecting directly to external go2rtc instances. The documentation shows that go2rtc supports many different stream types (1), and you can configure cameras to use external sources. For example, the configuration shows streams can reference external RTSP URLs: go2rtc:
streams:
back:
- rtsp://user:password@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2But the sources don't contain specific guidance on remote go2rtc service authentication or troubleshooting 401 errors for external go2rtc connections. For authentication setup with remote go2rtc services, you might want to check the go2rtc documentation directly or visit GitHub for more specific guidance on this configuration scenario. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
You're free to use an external go2rtc instance for the URLs in your camera config, but know that you will lose the benefits of the much improved live view that using the internal go2rtc provides. |
Beta Was this translation helpful? Give feedback.
Not sure where the 401 is coming from, go2rtc streams can be accessed without authorization: https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#security