peerExchange as null.

Apparently config is not necessary.
pull/25/head
Pontus Persson 2017-12-08 16:47:12 +01:00 committed by Pontus Alexander
parent c2357b879a
commit d03297b0a0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function getUserMediaSuccess(stream) {
}
function setup() {
peerConnection = createPeer(peerConnectionConfig);
peerConnection = createPeer(null, peerConnectionConfig);
peerConnection.addEventListener('icecandidate', gotIceCandidate);
peerConnection.addEventListener('addstream', gotRemoteStream);