262 Commits

Author SHA1 Message Date
CSantosM
5edb36670b ov-components: standardize device service usage and improve component styles 2026-01-27 15:39:09 +01:00
CSantosM
7208cb3a65 ov-components: Improves virtual background support handling
Adds a more robust mechanism to manage virtual background support, including:

- Displaying a warning message when the browser does not support virtual backgrounds.
- Disabling background selection buttons when virtual backgrounds are not supported.
- Optimizing background processor initialization and attachment for different browsers (handling lazy loading for Firefox).
- Centralizing the check for virtual background support in the OpenViduService.

This change ensures a better user experience by clearly indicating when virtual backgrounds are unavailable and preventing users from attempting to use an unsupported feature.
2026-01-26 13:13:47 +01:00
CSantosM
6cfa44c4f1 ov-components: Refactors Firefox background processor handling
Simplifies the logic for attaching and detaching the background processor in Firefox.

Ensures the processor is stopped when background effects are disabled, optimizing performance.
2026-01-22 19:35:22 +01:00
CSantosM
465403f8cb ov-components: Added getParticipantByIdentity to participantService 2026-01-22 12:31:00 +01:00
CSantosM
b321d5bb69 ov-components: enhance resize handling and add height tracking in LayoutComponent 2026-01-19 17:03:24 +01:00
CSantosM
59e4a14d15 ov-components: enhance background processing for Firefox and add getVideoTrack method 2026-01-18 16:31:07 +01:00
Carlos Santos
8dd058fd50 ov-components: add disconnected state handling and translations for multiple languages 2026-01-15 18:03:27 +01:00
github-actions
9dc4236f1e openvidu-components-angular: Bumped version to 3.5.0 2025-12-29 11:54:10 +00:00
Carlos Santos
28da654141 ov-components: adjust top bar height from 80px to 50px for improved layout consistency 2025-12-23 16:51:02 +01:00
Carlos Santos
c2a87459cd ov-components: update status icons visibility and styling for better user feedback 2025-12-23 13:15:11 +01:00
Carlos Santos
ce7dd0aa6f ov-components: replace user media subscription with reactive effect for local participant changes 2025-12-22 19:46:10 +01:00
Carlos Santos
703403f182 ov-components: refactor toolbar panel buttons to use Angular signals for state management and enhance badge styles 2025-12-22 19:42:49 +01:00
Carlos Santos
13cfff1aad ov-components: refine participant name container styles and adjust flex container layout 2025-12-22 19:14:07 +01:00
Carlos Santos
961867941a ov-component: introduce layout management classes and caching mechanism
- Added LayoutDimensionsCache for caching dimension calculations to optimize layout rendering.
- Implemented LayoutRenderer for handling DOM manipulation and rendering of layout elements.
- Created layout-types model to define various layout-related types and constants.
- Developed OpenViduLayout class to orchestrate layout calculations and rendering, maintaining backward compatibility.
- Updated document and layout services to reference new layout model structure.
2025-12-22 18:03:45 +01:00
Carlos Santos
3c02121ebe ov-components: enhance layout flexibility with additional element slots and improved rendering logic 2025-12-22 16:55:57 +01:00
Carlos Santos
ff492a1f22 ov-components: add isPinned getter to determine if participant's video is fixed in UI 2025-12-22 13:21:32 +01:00
Carlos Santos
f300788c1e ov-components: migrate to Angular signals for local and remote participants 2025-12-22 13:20:58 +01:00
Carlos Santos
1b9162b6e5 ov-components: Enhance layout handling by adding support for small elements and adjusting layout calculations 2025-12-19 20:18:50 +01:00
Carlos Santos
d229da9e47 ov-components: Add encryption key mismatch warning in chat panel and update translations 2025-12-17 17:39:04 +01:00
Carlos Santos
ddc7226b64 ov-components: Avoid unnecessary encryption decryption data channels
Livekit client now encrypt and decrypt data channels
Updated imports
2025-12-17 17:38:28 +01:00
Carlos Santos
47253bbda1 ov-components: update link color and font weight in styles 2025-12-17 16:10:08 +01:00
Carlos Santos
d9ebae88fa ov-components: update hover timeout duration in StreamComponent 2025-12-11 13:49:55 +01:00
Carlos Santos
00a9a21de3 ov-components: update element selectors for screen share functionality in tests and add local participant class in layout 2025-12-11 11:27:06 +01:00
Carlos Santos
3a5f0d28da ov-components: make changes compile library with latest livekit dependencies 2025-12-11 10:06:18 +01:00
Carlos Santos
87ec92ecc8 ov-components: optimize background processor application for video tracks 2025-12-05 16:41:49 +01:00
Carlos Santos
435db94254 ov-components: streamline virtual background processing 2025-12-05 15:40:40 +01:00
Carlos Santos
007297e4ff ov-components: update dependencies and refactor OpenVidu service
- Updated @livekit/track-processors from 0.6.1 to 0.7.0 in openvidu-components-angular/package.json
- Updated livekit-client from 2.15.15 to 2.16.0 in openvidu-components-angular/package.json
- Updated livekit-client from ^2.15.0 to ^2.16.0 in openvidu-components-angular/projects/openvidu-components-angular/package.json
- Updated @livekit/track-processors from ^0.6.0 to ^0.7.0 in openvidu-components-angular/projects/openvidu-components-angular/package.json
- Refactored OpenViduService to change roomOptions.e2ee to roomOptions.encryption for E2EE configuration
- Reorganized import statements in OpenViduService for better readability
2025-12-05 15:39:55 +01:00
Carlos Santos
895cf0e72c ov-components: Add screen track class to local participant tracks
participant-panel: Bind participant name to participant container
2025-12-04 19:51:48 +01:00
Carlos Santos
3531932c88 ov-components: Fixed directive value update
Ensures consistent identification of participant elements by using the participant identity, facilitating easier manipulation and tracking of elements.

Improves component updates by storing the remote participants value locally.
2025-12-02 21:00:07 +01:00
Carlos Santos
9918b07f51 ov-components: Add directive for injecting custom menu items into toolbar more options 2025-11-27 20:05:16 +01:00
Carlos Santos
171a5104ae ov-components: Add directive for injecting custom elements into settings panel 2025-11-27 20:05:16 +01:00
Carlos Santos
e59ed89a0b ov-components: Mark pre-join component tutorial link as internal 2025-11-27 20:05:16 +01:00
Carlos Santos
a0de27a78e ov-components: Refine stream video controls styling and improve hover effects 2025-11-21 13:44:39 +01:00
Carlos Santos
9c89adbdee Revert "ov-components: Optimize layout handling with caching and resize improvements"
This reverts commit 0cf5101931405a9810ea1849ce3bef80810ba5cf.
2025-11-20 18:11:40 +01:00
Carlos Santos
0cf5101931 ov-components: Optimize layout handling with caching and resize improvements 2025-11-20 17:39:14 +01:00
Carlos Santos
7c17e19cbb ov-components: Remove debug log for configuration in GlobalConfigService constructor 2025-11-20 17:39:14 +01:00
Carlos Santos
3be9dd6741 ov-components: Add getter for room name in ParticipantModel 2025-11-18 18:01:27 +01:00
Carlos Santos
bea3b8e70a ov-components: Refactor ActionService and related tests to improve dialog handling and mock implementations 2025-11-14 12:02:42 +01:00
Carlos Santos
0f075008a4 ov-components: Refactor DeviceService to improve permission handling and add utility methods
- Extracted permission strategies into a separate method for better readability.
- Created a method to handle permission strategy attempts and return valid devices.
- Added a utility method to filter out invalid devices.
- Improved error handling in getMediaDevicesFirefox method.

test: Add unit tests for DocumentService

- Implemented comprehensive tests for DocumentService methods including toggleFullscreen, isSmallElement, and fullscreen handling.
- Mocked document and element interactions to ensure proper functionality.

feat: Implement E2EE service with encryption and decryption capabilities

- Developed E2eeService to handle end-to-end encryption with methods for encrypting and decrypting data.
- Added caching for decrypted strings to optimize performance.
- Included tests for various scenarios including encryption failures and binary data handling.

test: Add unit tests for PanelService

- Created tests for PanelService to validate panel opening, closing, and state management.
- Ensured proper emissions from panelStatusObs during panel state changes.

fix: Initialize externalType in PanelService to avoid undefined state

- Set default value for externalType to an empty string to prevent potential issues.
2025-11-13 20:16:01 +01:00
Carlos Santos
b1fb3406a0 ov-components: Added missing translation 2025-11-13 13:41:54 +01:00
Carlos Santos
f3e551fc4a ov-components: Refactor data handling in SessionComponent to improve payload processing and error logging 2025-11-12 17:51:26 +01:00
Carlos Santos
ba80504c9e ov-components: Improve error handling for encryption errors in RoomEvent 2025-11-12 12:01:25 +01:00
Carlos Santos
c50b4a6d2f Remove outdated package-lock.json from openvidu-components-angular project 2025-11-12 11:21:11 +01:00
Carlos Santos
fb1dc9d95a ov-components: Enhance data handling in SessionComponent and add safeJsonParse utility 2025-11-11 17:30:38 +01:00
Carlos Santos
bb62986000 Updates participant name logic
Updates participant name input id.

Improves participant name visibility logic
by considering audio-only streams.
2025-11-10 17:29:58 +01:00
Carlos Santos
48eec08509 ov-components: Implement E2EE support for chat messages and participant names and add E2EE service 2025-11-10 12:49:54 +01:00
Carlos Santos
9950a2ba21 ov-components: Add E2EEKey directive and integrate E2EE configuration in OpenViduService
ov-components: Update E2EE error messages for improved clarity across multiple languages
2025-11-05 17:51:42 +01:00
Carlos Santos
17ed624e40 ov-components: Removes redundant computed property
Simplifies the template by directly using the `showLeaveButton` property.

Removes the now-unnecessary computed property that duplicated the value.
2025-10-28 17:18:18 +01:00
Carlos Santos
6c9a8a1bc2 ov-components: Update imports in global-config.service.ts 2025-10-21 20:19:31 +02:00
Carlos Santos
c576133b42 ov-components: Adds build and copy scripts
Adds `cpx` and `rimraf` packages.
Updates library build script to remove destination directory and copy distribution files.
Updates library package configurations.
2025-10-21 19:22:12 +02:00