Remove logs

This commit is contained in:
Nicolas Mowen 2024-03-13 06:40:10 -06:00
parent c253f5b4d9
commit da9005e4c1

View File

@ -100,13 +100,9 @@ export default function WebRtcPlayer({
return; return;
} }
console.log("passed aPc")
pcRef.current = await aPc; pcRef.current = await aPc;
const ws = new WebSocket(wsURL); const ws = new WebSocket(wsURL);
console.log("pc has loaded")
ws.addEventListener("open", () => { ws.addEventListener("open", () => {
pcRef.current?.addEventListener("icecandidate", (ev) => { pcRef.current?.addEventListener("icecandidate", (ev) => {
if (!ev.candidate) return; if (!ev.candidate) return;