Skip to content

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