modifié: test.html

This commit is contained in:
sidya82 2014-02-28 06:17:21 +01:00
parent 1a139f4044
commit 3aa3c139ef

View File

@ -8,7 +8,7 @@
<script type="text/javascript" >
var ws = new WebSocket ("ws://192.168.1.23/test");
function refresh() {
ws.send("next");
ws.writemessage("next")= function(evt){;};
}
ws.onmessage = function (evt) {
var str = "<img src='data:image/jpeg;base64,"+evt.data+"'>";