Skip to content

Commit

Permalink
Fix trash in webrtc.html
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Oct 31, 2022
1 parent 0dacdea commit 04f1aa2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions www/webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
})
}
}

Expand Down

0 comments on commit 04f1aa2

Please sign in to comment.