I found the @types/pexrtc package in npm, but I don’t know how to import it to my Angular project after I installed it with npm install @types/pexrtc.
When I try to import pexrtc,and vscode shows error
Module not found: Error: Can’t resolve ‘pexrtc’ in ‘\src\app\services’
node_modules/@types/pexrtc/index.d.ts’ is not a module.
I never used this package before, but that the best approach is to use the package
@pexip/infinity. You can do the same stuff than with PexRTC and you have the typings.
You have here the documentation: @pexip/infinity | Pexip Developer Portal
And you have also a React tutorial, but you can apply the same concepts to Angular: Introduction | Pexip Developer Portal