Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
5751116b
Commit
5751116b
authored
Jul 09, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added no-image mode (slow with 16 TIFFs)
parent
2cc712b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
multicam.js
src/multicam/multicam.js
+12
-2
No files found.
src/multicam/multicam.js
View file @
5751116b
...
@@ -49,6 +49,7 @@ var cams = [];
...
@@ -49,6 +49,7 @@ var cams = [];
var
wb_en
=
1
;
var
wb_en
=
1
;
var
aexp_en
=
1
;
var
aexp_en
=
1
;
var
skip_previews
=
0
;
$
(
function
(){
$
(
function
(){
...
@@ -62,12 +63,18 @@ function parseURL(){
...
@@ -62,12 +63,18 @@ function parseURL(){
var
parameters
=
location
.
href
.
replace
(
/
\?
/ig
,
"&"
).
split
(
"&"
);
var
parameters
=
location
.
href
.
replace
(
/
\?
/ig
,
"&"
).
split
(
"&"
);
for
(
var
i
=
0
;
i
<
parameters
.
length
;
i
++
)
parameters
[
i
]
=
parameters
[
i
].
split
(
"="
);
for
(
var
i
=
0
;
i
<
parameters
.
length
;
i
++
)
parameters
[
i
]
=
parameters
[
i
].
split
(
"="
);
for
(
var
i
=
1
;
i
<
parameters
.
length
;
i
++
)
{
for
(
var
i
=
1
;
i
<
parameters
.
length
;
i
++
)
{
// alert("parseURL(): parameter: "+parameters[i][0]+"="+parameters[i][1]);
// console.log("parseURL(): parameter: "+parameters[i][0]+"="+parameters[i][1]);
switch
(
parameters
[
i
][
0
])
{
switch
(
parameters
[
i
][
0
])
{
case
"ip"
:
case
"ip"
:
//ips_from_url = true;
//ips_from_url = true;
ips_str
=
parameters
[
i
][
1
];
ips_str
=
parameters
[
i
][
1
];
ips_str
=
ips_str
.
replace
(
/,|;/gm
,
'
\
n'
);
ips_str
=
ips_str
.
replace
(
/,|;/gm
,
'
\
n'
);
break
;
break
;
case
"skip_previews"
:
// do not show previews - terribly slow for Bosons
skip_previews
=
1
;
// alert("parseURL(): got skipping previews");
break
;
}
}
}
}
...
@@ -294,8 +301,11 @@ function rec_button_update_state(){
...
@@ -294,8 +301,11 @@ function rec_button_update_state(){
recording
=
true
;
recording
=
true
;
rec_button_switch
(
recording
);
rec_button_switch
(
recording
);
}
}
if
(
!
skip_previews
)
{
// do not schedule previews as they are very slow for Bosons
refresh_previews_intvl
=
setInterval
(
refresh_previews
,
2000
);
refresh_previews_intvl
=
setInterval
(
refresh_previews
,
2000
);
}
else
{
// alert("skipping previews");
}
refresh_status_intvl
=
setInterval
(
refresh_status
,
2000
);
refresh_status_intvl
=
setInterval
(
refresh_status
,
2000
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment