From: Matteo Nastasi (mop) Date: Tue, 17 Apr 2012 05:17:42 +0000 (+0200) Subject: more readable log, start/stop button added, many body related events traced X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=xynt.git;a=commitdiff_plain;h=72aee8c82069da4a642d1469bd50eeb5cfd2769e more readable log, start/stop button added, many body related events traced --- diff --git a/web/test-hs-rd.php b/web/test-hs-rd.php index 27146b4..4f13f24 100644 --- a/web/test-hs-rd.php +++ b/web/test-hs-rd.php @@ -9,7 +9,7 @@ var ctx_new = ""; window.onload = function () { if (http_streaming != "ready") http_streaming.reload(); }; - + -push(\"$('cont').innerHTML = '%d';\"); -", $i, $i); +push(\"$('cont').innerHTML += '%s %d';\"); +", $i, ($i == 0 ? "
" : ""), $i); } else { // exit(); diff --git a/web/test-hs.php b/web/test-hs.php index 6804a99..3ffd263 100644 --- a/web/test-hs.php +++ b/web/test-hs.php @@ -6,16 +6,40 @@ - +
INIT
+ + STOP + + START + + diff --git a/web/xynt/xynt-http-streaming.js b/web/xynt/xynt-http-streaming.js index d671d8f..7efb2f5 100644 --- a/web/xynt/xynt-http-streaming.js +++ b/web/xynt/xynt-http-streaming.js @@ -197,6 +197,8 @@ http_streaming.prototype = { }, abort: function () { + // this.log("PATH: "+this.ifra.contentWindow.location.protocol + "://" + this.ifra.contentWindow.location.host + "/" + this.ifra.contentWindow.location.pathname); + this.gst.abort(); if (this.watchdog_hdl != null) { clearTimeout(this.watchdog_hdl);