mjehrhart / viewu

The Viewu App is a compact, user-friendly iOS application designed to integrate seamlessly with Frigate NVR systems.
https://www.viewu.app
GNU General Public License v3.0
54 stars 1 forks source link

set-up go2rtc RTSP credentials #40

Open Privatecoder opened 1 month ago

Privatecoder commented 1 month ago

Re-streaming in my go2rtc requires authentication in my config:

go2rtc:
  rtsp:
    username: username
    password: secret

How would I configure this in the server or client (iOS) app?

Note: This is different from #37 which seems to be about nginx-authentication of the frigate app itself.

mjehrhart commented 1 month ago

Okay so this is something I haven’t seen yet. I’ll need to add this as a feature request to do.

On Oct 12, 2024 at 11:47 AM, <Privatecoder @.***)> wrote:

Re-streaming in my go2rtc requires authentication in my config

go2rtc: rtsp: username: username password: secret

How would I configure these settings in the server or client (iOS) app?

Note: This is different from #37 (https://github.com/mjehrhart/viewu/issues/37) which seems to be about nginx-authentication of the frigate app itself.

— Reply to this email directly, view it on GitHub (https://github.com/mjehrhart/viewu/issues/40), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AXJNK63NCGKZWQ6BFTLJNILZ3FVD3AVCNFSM6AAAAABP2UY2JGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DGMZSHAZTKMI). You are receiving this because you are subscribed to this thread.Message ID: @.***>

Privatecoder commented 1 month ago

When parsing frigate‘s config you could grab those key/value pairs (username / password) if they exist and simply add it to the connection string as rtsp://<username>:<password>@<frigate_ip>:8554/<camera_name>

docs