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