Juan Navarro 0678d86eeb openvidu-server: simplify logic for recording track selection
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.
2021-10-15 16:53:44 +02:00
2016-10-10 15:31:27 +02:00
2020-02-04 11:25:54 +01:00
2021-10-07 12:47:56 +02:00
2020-03-16 10:22:41 +01:00

Backers on Open Collective Sponsors on Open Collective License badge Npm version Npm downloads

Documentation Status Docker badge Support badge Twitter Follow

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]

Languages
TypeScript 49.2%
Bicep 10.9%
Java 10.9%
HTML 9.5%
HCL 8.9%
Other 10.5%