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

Optimize streaming by making the RPis stream to the server (instead of proxy passing to each RPi) #560

Open
ddabble opened this issue Oct 12, 2022 · 0 comments

Comments

@ddabble
Copy link
Member

ddabble commented Oct 12, 2022

[Originally created on the "Dev-Web" Trello board, by @ddabble on September 3, 2022]

Currently, when multiple users are watching the same RPi’s stream, one stream connection is opened for each user, which are all handled mainly by the RPi (the website server just proxy passes all requests to each RPi through Nginx). This can be optimized by instead making the RPis stream/publish to the website server - which would mean that only one connection is every open for each RPi - and then make the website server respond to each stream request, with no proxy passing whatsoever.

See Oppsett av Octopi stream på verkstedet (an incomplete/unpolished guide) for some details on how this can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ideas
Development

No branches or pull requests

1 participant