This commit is contained in:
freddyaboulton
2024-10-23 15:11:39 -07:00
parent ac8d2a8be8
commit 1688502e99
11 changed files with 83 additions and 38 deletions

View File

@@ -138,7 +138,7 @@
}
)
stream_state = "waiting"
webrtc_id = _webrtc_id;
webrtc_id = Math.random().toString(36).substring(2);
start(stream, pc, video_source, server.offer, webrtc_id).then((connection) => {
pc = connection;
}).catch(() => {