projects
/
henge
/
kiak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db732e6
)
minor fixes
author
jordan lavatai
<jordanlavatai@gmail.com>
Tue, 4 Jul 2017 23:40:30 +0000
(16:40 -0700)
committer
jordan lavatai
<jordanlavatai@gmail.com>
Tue, 4 Jul 2017 23:40:30 +0000
(16:40 -0700)
client.js
patch
|
blob
|
history
diff --git
a/client.js
b/client.js
index
cb3872f
..
676861a
100644
(file)
--- a/
client.js
+++ b/
client.js
@@
-85,7
+85,7
@@
function pollServerForAnswer(url, data, resolve, reject) {
/* Poll server for ice candidates until ice is complete */
function pollServerForICECandidate(cpc) {
window.setInterval(() => {
- if (cpc.iceGatheringState.localeCompare('complete')
=
== 0) {
+ if (cpc.iceGatheringState.localeCompare('complete')
!
== 0) {
return new Promise((resolve, reject) => {
console.log('Client: Requesting ICE Candidates from server')
const request = new XMLHttpRequest()