openvidu-2/openvidu-components-angular
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
..
2024-07-02 19:19:05 +02:00
2024-07-02 19:19:05 +02:00

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