[*] 日常优化

This commit is contained in:
acgist
2023-06-12 08:31:14 +08:00
parent e3b6da03c8
commit c35869df0c
7 changed files with 176 additions and 72 deletions

View File

@@ -2449,6 +2449,7 @@ class Taoyao extends RemoteClient {
console.debug("buildPeerConnection onnegotiationneeded", event);
if(peerConnection.connectionState === "connected") {
// TODO重连
peerConnection.restartIce();
}
}
const localStream = await me.getStream();