namespace ytLive.Models;
///
/// A resolution tier offered by the bottom-bar dropdown. Bitrate is Mbps.
/// Width/Height is the output frame; the composition master is always
/// 1920x1080 and a non-16:9 tier renders as a centered crop of it.
///
public sealed record QualityOption(string Display, int Fps, double Bitrate, int Width, int Height)
{
/// Self-documenting label, e.g. "1080p60 (8Mbps)".
public string Label => $"{Display} ({Bitrate:0.#}Mbps)";
}