From 5ba9cf2d51aeb6ca0d9687c908ccb10496e843ca Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Wed, 25 Apr 2012 11:09:59 +0200 Subject: [PATCH] gst status object and sess-ion value passed to http_streaming as params --- web/test-hs-rd.php | 14 ++++++++++---- web/test-hs.php | 17 +++++++++++++---- web/xynt/xynt-http-streaming.js | 9 +++++++-- 3 files changed, 30 insertions(+), 10 deletions(-) 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 @@