Commit 5f42d569 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed buffer backward viewing

parent a7aa5b7e
...@@ -582,6 +582,7 @@ camInterface.prototype.gotShadow=function() { ...@@ -582,6 +582,7 @@ camInterface.prototype.gotShadow=function() {
} }
gRequests.inProgress= false; gRequests.inProgress= false;
document.imageGot= true; document.imageGot= true;
document.getElementById("idCameraImage").src=gRequests.shadowImage.src; document.getElementById("idCameraImage").src=gRequests.shadowImage.src;
var tmp = gRequests.imgsrv; var tmp = gRequests.imgsrv;
...@@ -590,6 +591,11 @@ camInterface.prototype.gotShadow=function() { ...@@ -590,6 +591,11 @@ camInterface.prototype.gotShadow=function() {
var img_addr = tmp[1].replace(/\//ig,""); var img_addr = tmp[1].replace(/\//ig,"");
var img_port = tmp[2].replace(/\//ig,""); var img_port = tmp[2].replace(/\//ig,"");
var circbuf_fp = gRequests.circbuf_fp;
if (circbuf_fp){
img_port = img_port+"/"+circbuf_fp.replace(/\//ig,"");
}
if (jp4obj!=undefined){ if (jp4obj!=undefined){
var tmp = jp4obj.data.getAddr(); var tmp = jp4obj.data.getAddr();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment