diff --git a/opsi/frontend/templates/settings.html b/opsi/frontend/templates/settings.html index 2f1c653..bcc3ef3 100644 --- a/opsi/frontend/templates/settings.html +++ b/opsi/frontend/templates/settings.html @@ -54,8 +54,8 @@

General


diff --git a/opsi/modules/videoio/h264.py b/opsi/modules/videoio/h264.py index a038ec2..7d7bff4 100644 --- a/opsi/modules/videoio/h264.py +++ b/opsi/modules/videoio/h264.py @@ -48,9 +48,9 @@ def register(self, func: "H264CameraServer"): self.pipelines[func.name] = pipeline if NT_AVAIL: url = self.hook.url.split("/")[2].split(":")[0] - port = "" if self.port == 554 else self.port + port = "" if self.port == 554 else ":{self.port}" NetworkDict(f"/GStreamer/{func.name}")["/streams"] = [ - f"rtsp://{url}:{port}/{func.name}", + f"rtsp://{url}{port}/{func.name}", ] def unregister(self, func: "H264CameraServer"):