-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
40 lines (40 loc) · 1.19 KB
/
Copy pathconfig.json.example
File metadata and controls
40 lines (40 loc) · 1.19 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
{
"mode": "client",
"client": {
"server_url": "https://your-server-ip:8443",
"auth_token": "a-strong-random-shared-secret-token",
"obfuscation_key": "some-secret-xor-obfuscation-key",
"concurrency": 4,
"chunk_duration": 2,
"use_docker": true,
"docker_image": "linuxserver/ffmpeg",
"max_upload_retries": 5,
"streams": [
{
"stream_path": "stream_abc123",
"input_url": "rtmp://0.0.0.0:1935",
"temp_dir": "./tmp_client/stream_abc123"
}
]
},
"server": {
"listen_addr": ":8443",
"auth_token": "a-strong-random-shared-secret-token",
"obfuscation_key": "some-secret-xor-obfuscation-key",
"buffer_duration": 60,
"rebuffer_duration": 4,
"chunk_duration": 2,
"inactive_session_timeout": 120,
"tls_cert_file": "/etc/letsencrypt/live/your-server-ip/fullchain.pem",
"tls_key_file": "/etc/letsencrypt/live/your-server-ip/privkey.pem",
"use_docker": true,
"docker_image": "linuxserver/ffmpeg",
"streams": [
{
"path": "stream_abc123",
"target_rtmp_url": "rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx",
"temp_dir": "./tmp_server/stream_abc123"
}
]
}
}