Create variants

This commit is contained in:
2023-07-11 16:08:57 +01:00
parent 58adc8b9ae
commit 1fba6c3c37
7 changed files with 206 additions and 30 deletions

View File

@ -41,6 +41,11 @@ public class Config
/// Cost/min
/// </summary>
public int Cost { get; init; } = 10;
/// <summary>
/// List of video variants
/// </summary>
public List<Variant> Variants { get; init; } = null!;
}
public class LndConfig
@ -51,3 +56,11 @@ public class LndConfig
public string MacaroonPath { get; init; } = null!;
}
public class Variant
{
public string Name { get; init; } = null!;
public int Width { get; init; }
public int Height { get; init; }
public int Bandwidth { get; init; }
}