We're a place where coders share, stay up-to-date and grow their careers.
I did it in angular
npm install simple-peer npm install @types/simple-peer
It only worked after i add the below script in index.html :(
<script src="https://cdnjs.cloudflare.com/ajax/libs/simple-peer/6.2.1/simplepeer.min.js"></script>
Why is that so. Please help.
You have to import simple peer in component ts. Check the GitHub
Some comments have been hidden by the post's author - find out more
I did it in angular
npm install simple-peer
npm install @types/simple-peer
It only worked after i add the below script in index.html :(
Why is that so. Please help.
You have to import simple peer in component ts. Check the GitHub