mirror of https://github.com/OpenVidu/openvidu.git
![]() Updates the configuration service to use RxJS BehaviorSubjects and Observables for managing configuration values. This change improves the reactivity and maintainability of the configuration system by providing a consistent and type-safe way to manage application settings. Specifically, it introduces a helper method to create configuration items with BehaviorSubject and Observable, and uses distinctUntilChanged and shareReplay operators to optimize the observable streams. ov-components: Refactor configuration management in OpenVidu components - Updated directive methods to use centralized configuration updates for general, stream, and toolbar settings. - Replaced individual setter methods with batch update methods for improved performance and maintainability. - Introduced specific comparison methods for configuration objects to optimize change detection. - Enhanced the structure of configuration interfaces for better clarity and organization. - Removed redundant code and streamlined the configuration service for better readability. ov-components: Enhance participant name handling in PreJoin and Videoconference components |
||
---|---|---|
.. | ||
e2e | ||
projects/openvidu-components-angular | ||
src | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
angular.json | ||
generate-docs.sh | ||
karma.conf.js | ||
migration-guide.md | ||
package-lock.json | ||
package.json | ||
tsconfig.app.json | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.spec.json |
README.md
Openvidu Angular TestAPP
Architechture
openvidu-components-angular
│
└─── src (openvidu-components-testapp)
│
└───projects
│
└─── openvidu-components-angular
How to develop with ease:
Run ng serve
for a dev server.
Run, in a new terminal, npm run lib:serve
for serving the openvidu-components-angular library with live reload for listening changes
Code scaffolding
For generate new components in openvidu-components-angular:
ng g component components/component-name --project=openvidu-components-angular
Build library
npm run lib:build
Publishing
After the library is built, tun the following command:
cd dist/ && npm publish