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

Allow using multiple strategies simultaneously to make an app more robust #100

Open
dragonman225 opened this issue Jan 21, 2025 · 1 comment

Comments

@dragonman225
Copy link

dragonman225 commented Jan 21, 2025

Since strategies are usually transparent to an app, it might be a good idea to use multiple strategies simultaneously. This way, if one strategy fails completely — such as when an update changes the protocol of the infrastructure software used by all providers of a strategy, or when all providers of a strategy are blocked by a firewall — we can still maintain functionality using other working strategies.

Instead of asking users to manually switch strategies (which could be confusing if they choose different ones and struggle to connect), or running two separate strategies with two rooms to manage (where we might need to ignore duplicate media streams and data messages from different rooms), it would be better if the room handle multiple strategies. This approach would be similar to how the room currently manages multiple relay servers for a single strategy.

@rogersanick
Copy link

Great idea! I have experimented with several strategies to see which is best. Composeable strategies would be incredible.

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

No branches or pull requests

2 participants