1
0
mirror of https://github.com/algora-io/tv.git synced 2025-09-16 08:26:20 +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_ACCESS_KEY_ID="tid_..."
AWS_SECRET_ACCESS_KEY="tsec_..." AWS_SECRET_ACCESS_KEY="tsec_..."
BUCKET_MEDIA="..." BUCKET_MEDIA="..."
TRANSCODE=4320p60|2160p60|1440p60|1440p30|720p30|360p30|180p30 RESUME_RTMP=true
``` ```
<!-- ARCHITECTURE --> <!-- ARCHITECTURE -->

View File

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

View File

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