yavsc/src/Yavsc.Server/Settings/PodcastOptions.cs
Paul Schneider 1dcbfe159a
feat(podcasts): prepare seekable MP4 replays and overlay controls
Remux completed broadcasts with FFmpeg, retain source segments and account for both formats. Serve authenticated byte ranges and add native Android/Desktop replay controls with auto-hide.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-25 00:48:53 +01:00

13 lines
571 B
C#

namespace Yavsc.Services;
public sealed class PodcastOptions
{
public string RootPath { get; set; } = Path.Combine(AppContext.BaseDirectory, "DataDir", "podcasts");
public int MaxSegmentBytes { get; set; } = 8 * 1024 * 1024;
public long MaxOwnerBytes { get; set; } = 1024L * 1024 * 1024;
public int MaxSegments { get; set; } = 7200;
public int MaxOwnerPodcasts { get; set; } = 100;
public int IdleTimeoutSeconds { get; set; } = 60;
public string FfmpegPath { get; set; } = "ffmpeg";
public int ReplayTimeoutSeconds { get; set; } = 600;
}