Skip to content

Commit 04f1aa2

Browse files
committed
Fix trash in webrtc.html
1 parent 0dacdea commit 04f1aa2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

www/webrtc.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@
5151
pc.addIceCandidate({candidate: msg.value, sdpMid: ''});
5252
} else if (msg.type === 'webrtc/answer') {
5353
pc.setRemoteDescription({type: 'answer', sdp: msg.value});
54-
pc.getTransceivers().forEach(t => {
55-
if (t.receiver.track.kind === 'audio') {
56-
t.currentDirection
57-
}
58-
})
5954
}
6055
}
6156

0 commit comments

Comments
 (0)