using System; using System.Text.Json.Serialization; namespace StreamCinemaLib.API; public class StreamVideo { public int width { get; set; } // horizontal resolution in pixels public int height { get; set; } // vertical resolution in pixels public string codec { get; set; } // ie. AVC public double? aspect { get; set; } // aspect ratio, ie. 1.778 [JsonPropertyName("3d")] public bool is3d { get; set; } public double? duration { get; set; } // in seconds }