should be working once again with proper media stream id and everything

This commit is contained in:
talksik
2022-04-28 16:37:09 -05:00
parent f68b551a43
commit 3f350bc09f
2 changed files with 19 additions and 16 deletions
+2
View File
@@ -49,6 +49,8 @@ async function handleJoin(req: Request, res: Response) {
console.log(`hacking around small problem with adding track`, e);
}
peer.addTransceiver("video");
// allow this peer connection to receive other peoples' streams
peer.ontrack = (e: any) => handleStreams(e, peer, lineId);