feature: Opus format resolution + sidecar lookup contract (Phase 18.2)

This commit is contained in:
daniel-c-harvey
2026-06-23 07:45:06 -04:00
parent e845dc3496
commit 19793ba1c3
5 changed files with 323 additions and 0 deletions
+5
View File
@@ -77,6 +77,11 @@ namespace DeepDrftAPI
builder.Services.AddSingleton<FfmpegOpusEncoder>();
builder.Services.AddSingleton<OpusTranscodeService>();
// Opus delivery format resolution + sidecar lookup (Phase 18.2). The seam 18.3 calls behind
// the ?format= stream param and the sidecar path. Stateless over the FileDatabase + content
// service singletons; the lossless branch reuses the existing read path unchanged (C2).
builder.Services.AddSingleton<TrackFormatResolver>();
return Task.CompletedTask;
}