mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
code
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user