From: Matteo Nastasi (mop) Date: Wed, 25 Apr 2012 09:09:59 +0000 (+0200) Subject: gst status object and sess-ion value passed to http_streaming as params X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=xynt.git;a=commitdiff_plain;h=5ba9cf2d51aeb6ca0d9687c908ccb10496e843ca gst status object and sess-ion value passed to http_streaming as params --- diff --git a/web/test-hs-rd.php b/web/test-hs-rd.php index bd4667e..78baf48 100644 --- a/web/test-hs-rd.php +++ b/web/test-hs-rd.php @@ -19,7 +19,12 @@ function mop_flush() function main() { - $st = 0; + GLOBAL $st; + + if (!isset($st)) { + $st = 0; + } + $fp = fopen("/tmp/test-hs-rd.log", "a"); fwrite($fp, "START\n"); fclose($fp); @@ -38,9 +43,10 @@ function main() // exit(); sleep(30); } - printf("", $i, ($first ? "
" : ""), $i); + +printf("", $i, ($first ? "
" : ""), $i, $i); if ($first) printf("", $s); diff --git a/web/test-hs.php b/web/test-hs.php index 3ffd263..c09c75c 100644 --- a/web/test-hs.php +++ b/web/test-hs.php @@ -4,14 +4,25 @@