Two changes that try to make the code easier to read and maintain in the future. The logic itself doesn't change. - Do not repeat the MediaProfile assignments. This makes the flow much easier to understand. And less error prone. - Do not mix error handling with actual logic. By throwing early, the actual selection logic that follows is more obvious.
openvidu
Visit openvidu.io
Community Forum
Visit OpenVidu Community Forum
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers! 🙏 [Become a backer]
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Description
Languages
TypeScript
49.2%
Bicep
10.9%
Java
10.9%
HTML
9.5%
HCL
8.9%
Other
10.5%