diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 05:22:52 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 05:22:52 +0300 |
commit | 9327c98e48863dabec92b15f6a1d184e7bcfddb0 (patch) | |
tree | f32efe1d2362a25dee0c0c358f94f6f1aca4b0c6 /web | |
parent | e6e728d89b7eb06b0878fcd73dbf4ab38cfe4ec1 (diff) |
web_kbn upd
Diffstat (limited to 'web')
-rw-r--r-- | web/kbn_assets/app.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/web/kbn_assets/app.js b/web/kbn_assets/app.js index 9136af9..4405e8d 100644 --- a/web/kbn_assets/app.js +++ b/web/kbn_assets/app.js @@ -140,12 +140,11 @@ function indexInit() { var Cameras = { hlsOptions: null, - host: null, - proto: null, + pfx: null, hlsDebugVideoEvents: false, getUrl: function(name) { - return this.proto + '://' + this.host + '/ipcam/' + name + '/live.m3u8'; + return this.pfx + '/live.m3u8'; }, setupHls: function(video, name, useHls) { @@ -201,8 +200,7 @@ var Cameras = { }, init: function(opts) { - this.proto = opts.proto; - this.host = opts.host; + this.pfx = opts.pfx; this.hlsOptions = opts.hlsConfig; var useHls; |