-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.env
More file actions
64 lines (50 loc) · 1.47 KB
/
config.example.env
File metadata and controls
64 lines (50 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# SCTE-35 Stream Injector Environment Configuration
# Copy this file to .env.local and update the values
# Application Configuration
NODE_ENV=production
PORT=3000
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key-here
# Database Configuration (if using Prisma)
DATABASE_URL="postgresql://username:password@localhost:5432/scte35_injector"
# FFmpeg Configuration
FFMPEG_PATH=/usr/bin/ffmpeg
FFPROBE_PATH=/usr/bin/ffprobe
# SRT Configuration
SRT_DEFAULT_LATENCY=120
SRT_DEFAULT_BANDWIDTH=10000000
# Security Configuration
JWT_SECRET=your-jwt-secret-here
API_RATE_LIMIT=100
CORS_ORIGIN=http://localhost:3000
# Monitoring Configuration
ENABLE_MONITORING=true
LOG_LEVEL=info
METRICS_ENDPOINT=/api/metrics
# Stream Configuration
DEFAULT_INPUT_URL=https://cdn.itassist.one/BREAKING/NEWS/index.m3u8
DEFAULT_OUTPUT_URL=srt://itassist.one:8888?streamid=#!::r=live/live,m=publish
# Pre-roll Configuration
PREROLL_ENABLED=true
PREROLL_DEFAULT_DURATION=30
PREROLL_STORAGE_PATH=/tmp/preroll
# Time Synchronization
NTP_SERVER=pool.ntp.org
TIME_SYNC_INTERVAL=30000
# Hardware Acceleration (optional)
CUDA_ENABLED=false
QSV_ENABLED=false
VAAPI_ENABLED=false
# Redis Configuration (for caching)
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=
# WebSocket Configuration
WS_PORT=3001
WS_CORS_ORIGIN=http://localhost:3000
# File Upload Configuration
MAX_FILE_SIZE=100MB
UPLOAD_PATH=/tmp/uploads
# Logging Configuration
LOG_FILE_PATH=/var/log/scte35-injector.log
LOG_MAX_SIZE=10MB
LOG_MAX_FILES=5