From 41dc5e6d075f7f94f951961c6726308bf8f17fae Mon Sep 17 00:00:00 2001 From: Pierre Belanger Date: Sat, 30 Dec 2023 20:30:59 -0500 Subject: [PATCH] Remove RTMP(1935) port --- .devcontainer/devcontainer.json | 6 +----- docker/main/Dockerfile | 1 - .../main/rootfs/usr/local/nginx/conf/nginx.conf | 15 --------------- docs/docs/frigate/installation.md | 1 - 4 files changed, 1 insertion(+), 22 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0c460cfad..d0c1f2c9a 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,7 +10,7 @@ "features": { "ghcr.io/devcontainers/features/common-utils:1": {} }, - "forwardPorts": [5000, 5001, 5173, 1935, 8554, 8555], + "forwardPorts": [5000, 5001, 5173, 8554, 8555], "portsAttributes": { "5000": { "label": "NGINX", @@ -24,10 +24,6 @@ "label": "Vite Server", "onAutoForward": "silent" }, - "1935": { - "label": "RTMP", - "onAutoForward": "silent" - }, "8554": { "label": "gortc RTSP", "onAutoForward": "silent" diff --git a/docker/main/Dockerfile b/docker/main/Dockerfile index e35eac191..bba0da93a 100644 --- a/docker/main/Dockerfile +++ b/docker/main/Dockerfile @@ -191,7 +191,6 @@ COPY --from=deps-rootfs / / RUN ldconfig EXPOSE 5000 -EXPOSE 1935 EXPOSE 8554 EXPOSE 8555/tcp 8555/udp diff --git a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf index 46706a92f..24c294725 100644 --- a/docker/main/rootfs/usr/local/nginx/conf/nginx.conf +++ b/docker/main/rootfs/usr/local/nginx/conf/nginx.conf @@ -275,18 +275,3 @@ http { } } } - -rtmp { - server { - listen 1935; - chunk_size 4096; - allow publish 127.0.0.1; - deny publish all; - allow play all; - application live { - live on; - record off; - meta copy; - } - } -} diff --git a/docs/docs/frigate/installation.md b/docs/docs/frigate/installation.md index fcdaa68ba..c12e3de3a 100644 --- a/docs/docs/frigate/installation.md +++ b/docs/docs/frigate/installation.md @@ -295,7 +295,6 @@ docker run \ --network=bridge \ --privileged \ --workdir=/opt/frigate \ - -p 1935:1935 \ -p 5000:5000 \ -p 8554:8554 \ -p 8555:8555 \