summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-10-15 14:15:47 -0700
committeryum <yum.food.vr@gmail.com>2025-10-28 17:19:37 -0700
commit8caabef3412f9368888bc50eacda1fac3f08b039 (patch)
treeba3db045f214c65a67af596124487b1d4cb01303
parent45653c831d286ceb1450bf9f3850c6b5b1a954c1 (diff)
config file cleanup
-rw-r--r--etc/nginx/nginx.conf24
-rwxr-xr-xopt/obsproxy/server.py4
2 files changed, 3 insertions, 25 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index 3eab3a5..8830be7 100644
--- a/etc/nginx/nginx.conf
+++ b/etc/nginx/nginx.conf
@@ -30,7 +30,7 @@ http {
# SSL Settings
##
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
+ ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
##
@@ -63,25 +63,3 @@ http {
# If a .gz suffixed version of a file exists, serve it instead.
gzip_static on;
}
-
-
-#mail {
-# # See sample authentication script at:
-# # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
-#
-# # auth_http localhost/auth.php;
-# # pop3_capabilities "TOP" "USER";
-# # imap_capabilities "IMAP4rev1" "UIDPLUS";
-#
-# server {
-# listen localhost:110;
-# protocol pop3;
-# proxy on;
-# }
-#
-# server {
-# listen localhost:143;
-# protocol imap;
-# proxy on;
-# }
-#}
diff --git a/opt/obsproxy/server.py b/opt/obsproxy/server.py
index 3f9001a..6ad3e38 100755
--- a/opt/obsproxy/server.py
+++ b/opt/obsproxy/server.py
@@ -25,10 +25,10 @@ except ValueError as exc:
raise ValueError('INGEST_RTMP_PORT must be an integer') from exc
INGEST_THREAD_QUEUE_SIZE = int(os.environ.get('INGEST_THREAD_QUEUE_SIZE', '4096'))
HLS_SEGMENT_TIME = float(os.environ.get('HLS_SEGMENT_TIME', '2'))
-HLS_PLAYLIST_SIZE = int(os.environ.get('HLS_PLAYLIST_SIZE', '4'))
+HLS_PLAYLIST_SIZE = int(os.environ.get('HLS_PLAYLIST_SIZE', '3'))
HLS_DELETE_THRESHOLD = int(os.environ.get('HLS_DELETE_THRESHOLD', '20'))
HLS_PLAYLIST_TIMEOUT = float(os.environ.get('HLS_PLAYLIST_TIMEOUT', '5'))
-HLS_PLAYLIST_POLL_INTERVAL = float(os.environ.get('HLS_PLAYLIST_POLL_INTERVAL', '0.2'))
+HLS_PLAYLIST_POLL_INTERVAL = float(os.environ.get('HLS_PLAYLIST_POLL_INTERVAL', '0.1'))
BASE_DIR = Path(os.environ.get('STREAM_DIR', '/var/www/streams'))
SERVER_DOMAIN = os.environ.get('SERVER_DOMAIN', 'yummers.dev')
STREAM_HEX = secrets.token_hex(16)