1
0
mirror of https://github.com/algora-io/tv.git synced 2024-11-16 00:58:59 +02:00

configure resume rtmp

This commit is contained in:
ty 2024-10-27 13:23:13 -04:00
parent 2a75540fe8
commit d04d6b6765
3 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ AWS_REGION="auto"
AWS_ACCESS_KEY_ID="tid_..."
AWS_SECRET_ACCESS_KEY="tsec_..."
BUCKET_MEDIA="..."
TRANSCODE=4320p60|2160p60|1440p60|1440p30|720p30|360p30|180p30
RESUME_RTMP=true
```
<!-- ARCHITECTURE -->

View File

@ -2,7 +2,7 @@ import Config
config :algora,
mode: :dev,
resume_rtmp: true
resume_rtmp: System.get_env("RESUME_RTMP", "false") == "true"
config :algora, :buckets,
media: System.get_env("BUCKET_MEDIA"),

View File

@ -14,7 +14,7 @@ end
config :algora,
hf_token: System.get_env("HF_TOKEN"),
resume_rtmp: true
resume_rtmp: System.get_env("RESUME_RTMP", "false") == "true"
config :replicate,
replicate_api_token: System.get_env("REPLICATE_API_TOKEN")