mirror of https://github.com/OpenVidu/openvidu.git
- 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. |
||
|---|---|---|
| .. | ||
| 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