Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go2rtc dashboard as an iframe in the Frigate UI #7668

Closed
felipecrs opened this issue Sep 3, 2023 · 7 comments
Closed

go2rtc dashboard as an iframe in the Frigate UI #7668

felipecrs opened this issue Sep 3, 2023 · 7 comments
Labels
enhancement New feature or request stale

Comments

@felipecrs
Copy link
Contributor

Describe what you are trying to accomplish and why in non technical terms
I am testing whether some cameras I have are working with 2-way audio or not, but to test that, I need the go2rtc dashboard to be served with HTTPs.

When running go2rtc as its own add-on, this is trivial thanks to hassio's ingress. But when running it inside Frigate, it's a lot more complicated.

Describe the solution you'd like

I believe it would be possible to embed the go2rtc dashboard in the Frigate UI itself, by using some iframe trickery I suppose. I am not experienced with this, but I'm assuming it's possible and it should not be too difficult.

Describe alternatives you've considered

  1. Run go2rtc-addon temporarily as its own add-on: I have to shutdown Frigate, copy the config and so on.
  2. Expose 1984 in Frigate add-on config, and configure NGINX Proxy Manager to proxy it to some address like go2rtc-home.mydomain.com. This requires NGINX Proxy Manager which I suppose many people don't even know about, but that's the solution I'm using for now.

Additional context
None.

@felipecrs felipecrs added the enhancement New feature or request label Sep 3, 2023
@NickM-27
Copy link
Collaborator

NickM-27 commented Sep 3, 2023

I think the same work that would go into this would be more worthwhile just supporting two way talk in the frigate webui

@felipecrs
Copy link
Contributor Author

That's true.

@skrashevich
Copy link
Contributor

go2rtc can serve https itself from version 1.6.0
AlexxIT/go2rtc#352

@felipecrs
Copy link
Contributor Author

Yeah, but it doesn't make anything easier. To make it work I would need to setup a local DNS server or expose 1984 to open internet, which I very much don't want.

@skrashevich
Copy link
Contributor

skrashevich commented Sep 5, 2023

you can get wildcard cert for your domain and create a sub-domain (A-record) that point to local IP of frigate/go2rtc host

@felipecrs
Copy link
Contributor Author

That's clever, I could do that indeed.

Still, I would have to generate a certificate and configure the domain.

Too much work for such a simple goal.

(PS: I'm not looking for alternative solutions, as stated in the issue description I already have one solution working).

@github-actions
Copy link

github-actions bot commented Oct 6, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Oct 6, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

3 participants