diff --git a/www/webrtc/index.html b/www/webrtc/index.html
index 8f9b60e6..44ab4dae 100644
--- a/www/webrtc/index.html
+++ b/www/webrtc/index.html
@@ -155,7 +155,7 @@
audioEnable:document.getElementById('audioEnable').checked,
videoEnable:document.getElementById('videoEnable').checked,
recvOnly:recvOnly,
- resolution:{w:w,h:h},
+ resolution:{w,h},
usedatachannel:document.getElementById('datachannel').checked,
}
);