diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-23 17:51:03 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-23 18:42:13 +0300 |
commit | 9a59215f9e7fca3ef940133824afc4aed04815f9 (patch) | |
tree | 7c276070de23440484781873a1c861efdc2ce609 /localwebsite/handlers | |
parent | 503d6350921f161b258f41cea4d0ebd0b5e795fc (diff) |
localwebsite: cams: debug video events, support iOS
Diffstat (limited to 'localwebsite/handlers')
-rw-r--r-- | localwebsite/handlers/MiscHandler.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/localwebsite/handlers/MiscHandler.php b/localwebsite/handlers/MiscHandler.php index 61a82e0..486ff45 100644 --- a/localwebsite/handlers/MiscHandler.php +++ b/localwebsite/handlers/MiscHandler.php @@ -52,7 +52,7 @@ class MiscHandler extends RequestHandler public function GET_cams() { global $config; - list($hls_debug) = $this->input('b:hls_debug'); + list($hls_debug, $video_events) = $this->input('b:hls_debug, b:video_events'); $hls_opts = [ 'startPosition' => -1 @@ -65,7 +65,8 @@ class MiscHandler extends RequestHandler $this->tpl->set([ 'hls_host' => $config['cam_hls_host'], 'hls_opts' => $hls_opts, - 'cams' => $config['cam_list'] + 'cams' => $config['cam_list'], + 'video_events' => $video_events ]); $this->tpl->set_title('Камеры'); $this->tpl->render_page('cams.twig'); |