From 04f1aa29004a450f9e4bbee2c993e1831b6594c2 Mon Sep 17 00:00:00 2001 From: Alexey Khit Date: Mon, 31 Oct 2022 08:34:11 +0300 Subject: [PATCH] Fix trash in webrtc.html --- www/webrtc.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/www/webrtc.html b/www/webrtc.html index c0fc9661..1fe9a9fc 100644 --- a/www/webrtc.html +++ b/www/webrtc.html @@ -51,11 +51,6 @@ pc.addIceCandidate({candidate: msg.value, sdpMid: ''}); } else if (msg.type === 'webrtc/answer') { pc.setRemoteDescription({type: 'answer', sdp: msg.value}); - pc.getTransceivers().forEach(t => { - if (t.receiver.track.kind === 'audio') { - t.currentDirection - } - }) } }