feat: add authenticated live podcasts and simplify native video playback
Include podcast capture, ingestion and replay, dependency and installer updates, and native video positioning after navigation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
d9b183c500
commit
4fc91cec3e
45 changed files with 2330 additions and 378 deletions
14
src/Yavsc.Api/Services/PodcastServiceCollectionExtensions.cs
Normal file
14
src/Yavsc.Api/Services/PodcastServiceCollectionExtensions.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Yavsc.Services;
|
||||
|
||||
namespace Yavsc.Api.Services;
|
||||
|
||||
public static class PodcastServiceCollectionExtensions
|
||||
{
|
||||
public static IServiceCollection AddPodcasts(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
services.Configure<PodcastOptions>(configuration.GetSection("Podcast"));
|
||||
services.AddSingleton<ILiveProcessor, LiveProcessor>();
|
||||
services.AddOpenApi("podcasts", options => options.ShouldInclude = description => description.GroupName == "podcasts");
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue