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

[Only review purpose, don't merge] Changes for supporting stickiness for load balancers #11

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

anildigital
Copy link
Contributor

Hi @ndarilek

I had to these changes for supporting stickiness. Janus can't be clustered for a videoroom, all participants of a video room need to connect to the same instance.

So to solve this problem, I had to store the cookie in an in-memory cache and then pass it in subsequent requests for that particular room WebRTC in Janus.

P.S. I am also using a third party library named ConCache (https://github.com/sasa1977/con_cache) which I have not added in mix.exs here.. but my Phoenix app has it as a dependency.

Do you have any inputs .. if this can be improved much better than this?

Thanks!

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

Successfully merging this pull request may close these issues.

1 participant