mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Initial integration.
This commit is contained in:
parent
604ff238d6
commit
85e41d5def
20 changed files with 484 additions and 303 deletions
|
|
@ -19,6 +19,7 @@ INSTALLED_APPS = [
|
|||
'apps.hdhr',
|
||||
'apps.m3u',
|
||||
'apps.output',
|
||||
'apps.proxy.apps.ProxyConfig',
|
||||
'core',
|
||||
'drf_yasg',
|
||||
'django.contrib.admin',
|
||||
|
|
@ -155,3 +156,25 @@ SIMPLE_JWT = {
|
|||
'ROTATE_REFRESH_TOKENS': False, # Optional: Whether to rotate refresh tokens
|
||||
'BLACKLIST_AFTER_ROTATION': True, # Optional: Whether to blacklist refresh tokens
|
||||
}
|
||||
|
||||
# Proxy Settings
|
||||
PROXY_SETTINGS = {
|
||||
'HLS': {
|
||||
'DEFAULT_URL': '', # Default HLS stream URL if needed
|
||||
'BUFFER_SIZE': 1000,
|
||||
'USER_AGENT': 'VLC/3.0.20 LibVLC/3.0.20',
|
||||
'CHUNK_SIZE': 8192,
|
||||
'CLIENT_POLL_INTERVAL': 0.1,
|
||||
'MAX_RETRIES': 3,
|
||||
'MIN_SEGMENTS': 12,
|
||||
'MAX_SEGMENTS': 16,
|
||||
'WINDOW_SIZE': 12,
|
||||
'INITIAL_SEGMENTS': 3,
|
||||
},
|
||||
'TS': {
|
||||
'DEFAULT_URL': '', # Default TS stream URL if needed
|
||||
'BUFFER_SIZE': 1000,
|
||||
'RECONNECT_DELAY': 5,
|
||||
'USER_AGENT': 'VLC/3.0.20 LibVLC/3.0.20',
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue