Add +1 because we will now use 30000 instead of 30001.. so some existing configs may break.

This commit is contained in:
Isaac Connor
2025-10-09 11:01:08 -04:00
parent 1e8d299c31
commit b5a10ca1ce

View File

@@ -543,7 +543,7 @@ class Monitor extends ZM_Object {
}
public function getStreamSrc($args, $querySep='&') {
$streamSrc = $this->Server()->UrlToZMS(ZM_MIN_STREAMING_PORT ? ZM_MIN_STREAMING_PORT+(int)($this->{'Id'}/5) : null);
$streamSrc = $this->Server()->UrlToZMS(ZM_MIN_STREAMING_PORT ? ZM_MIN_STREAMING_PORT+(int)($this->{'Id'}/5)+1 : null);
$args['monitor'] = $this->{'Id'};