namespace NostrStreamer; public class Config { /// /// Bitcoin network /// public string Network { get; init; } = "mainnet"; /// /// Ingest URL /// public Uri RtmpHost { get; init; } = null!; /// /// SRS api server host /// public Uri SrsApiHost { get; init; } = null!; /// /// SRS Http server host /// public Uri SrsHttpHost { get; init; } = null!; /// /// Public host where playlists are located /// public Uri DataHost { get; init; } = null!; /// /// Public URL for the api /// public Uri ApiHost { get; init; } = null!; public string PrivateKey { get; init; } = null!; public string[] Relays { get; init; } = Array.Empty(); public LndConfig Lnd { get; init; } = null!; } public class LndConfig { public Uri Endpoint { get; init; } = null!; public string CertPath { get; init; } = null!; public string MacaroonPath { get; init; } = null!; }