Skip to content

Commit 756f197

Browse files
Merge remote-tracking branch 'upstream/master' into ai_server
2 parents 2a9b7d1 + bd8576e commit 756f197

File tree

248 files changed

+6779
-4692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+6779
-4692
lines changed

web/includes/Monitor.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,10 +549,7 @@ public function Monitor_Status() {
549549
}
550550

551551
public function getStreamSrc($args, $querySep='&') {
552-
$streamSrc = $this->Server()->UrlToZMS(
553-
ZM_MIN_STREAMING_PORT ?
554-
ZM_MIN_STREAMING_PORT+(int)($this->{'Id'}/5) :
555-
null);
552+
$streamSrc = $this->Server()->UrlToZMS(ZM_MIN_STREAMING_PORT ? ZM_MIN_STREAMING_PORT+(int)($this->{'Id'}/5) : null);
556553

557554
$args['monitor'] = $this->{'Id'};
558555

web/js/MonitorStream.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,8 @@ function MonitorStream(monitorData) {
11541154
// Try to reload the image stream.
11551155
if (stream.src) {
11561156
console.log('Reloading stream: ' + stream.src);
1157-
let src = (-1 != stream.src.indexOf('rand=')) ? stream.src.replace(/rand=\d+/i, 'rand='+Math.floor((Math.random() * 1000000) )) : '&rand='+Math.floor((Math.random() * 1000000));
1157+
// Instead of changing rand, perhaps we should be changing connKey.
1158+
let src = (-1 != stream.src.indexOf('rand=')) ? stream.src.replace(/rand=\d+/i, 'rand='+Math.floor((Math.random() * 1000000) )) : stream.src+'&rand='+Math.floor((Math.random() * 1000000));
11581159
src = src.replace(/auth=\w+/i, 'auth='+auth_hash);
11591160
// Maybe updated auth
11601161
if (src != stream.src) {

web/skins/classic/js/bootstrap-table-1.23.5/bootstrap-table-locale-all.js renamed to web/skins/classic/assets/bootstrap-table-1.24.1/bootstrap-table-locale-all.js

Lines changed: 1154 additions & 1053 deletions
Large diffs are not rendered by default.

web/skins/classic/assets/bootstrap-table-1.24.1/bootstrap-table-locale-all.min.js

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)