Add OBS podcast ingestion and account withdrawal privacy controls
Support scoped RTMPS publishing through MediaMTX, authenticated replay, resource accounting and PostIt activation/revocation. Close withdrawn accounts, erase managed files and purge eligible payment residues after one year. Include migrations, documentation and regression tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
97b350be2d
commit
b157dce4e4
54 changed files with 12996 additions and 50 deletions
|
|
@ -7,6 +7,11 @@ public static class PodcastServiceCollectionExtensions
|
|||
public static IServiceCollection AddPodcasts(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
services.Configure<PodcastOptions>(configuration.GetSection("Podcast"));
|
||||
services.Configure<PodcastObsOptions>(configuration.GetSection("Podcast:Obs"));
|
||||
services.AddScoped<IPodcastObsService, PodcastObsService>();
|
||||
services.AddHttpClient<IPodcastObsRelay, PodcastObsRelay>(client => client.Timeout = TimeSpan.FromSeconds(10))
|
||||
.ConfigurePrimaryHttpMessageHandler(() => new HttpClientHandler { AllowAutoRedirect = false });
|
||||
services.AddHostedService<PodcastObsWorker>();
|
||||
services.AddSingleton<ILiveProcessor, LiveProcessor>();
|
||||
services.AddScoped<IPodcastScheduleService, PodcastScheduleService>();
|
||||
services.AddSingleton<IPodcastReplayRemuxer, FfmpegPodcastReplayRemuxer>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue