DEV Community


Discussion on: Video call with WebRTC Angular and ASP.NET Core

babakmou profile image

It is exactly your code. I have made no changes,
There were some other errors which could be fixed. For example, I had to add type "any" for "data" as parameter of all peer.on() event listeners.

Thread Thread
sebalr profile image
Sebastian Larrieu Author • Edited

It may be related to some TS or Angular upgrade. Try changing the empty array param in line 31 to a new types empty array.
Instead of [] change to new Array with UserInfo as type between <<>>

Some comments have been hidden by the post's author - find out more