feat: signal server tag
This commit is contained in:
+4
@@ -62,6 +62,10 @@ export function createPeerConnection(
|
||||
|
||||
connection.onicecandidate = (event) => {
|
||||
if (event.candidate) {
|
||||
if (!callbacks.isSignalingConnected()) {
|
||||
return;
|
||||
}
|
||||
|
||||
logger.info('ICE candidate gathered', {
|
||||
remotePeerId,
|
||||
candidateType: (event.candidate as RTCIceCandidate & { type?: string }).type
|
||||
|
||||
Reference in New Issue
Block a user