modifié: test.html
This commit is contained in:
parent
1a139f4044
commit
3aa3c139ef
@ -8,7 +8,7 @@
|
|||||||
<script type="text/javascript" >
|
<script type="text/javascript" >
|
||||||
var ws = new WebSocket ("ws://192.168.1.23/test");
|
var ws = new WebSocket ("ws://192.168.1.23/test");
|
||||||
function refresh() {
|
function refresh() {
|
||||||
ws.send("next");
|
ws.writemessage("next")= function(evt){;};
|
||||||
}
|
}
|
||||||
ws.onmessage = function (evt) {
|
ws.onmessage = function (evt) {
|
||||||
var str = "<img src='data:image/jpeg;base64,"+evt.data+"'>";
|
var str = "<img src='data:image/jpeg;base64,"+evt.data+"'>";
|
||||||
|
Reference in New Issue
Block a user