InternalMediaInfoResult.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #nullable disable
  2. using System.Collections.Generic;
  3. using System.Text.Json.Serialization;
  4. namespace MediaBrowser.MediaEncoding.Probing
  5. {
  6. /// <summary>
  7. /// Class MediaInfoResult.
  8. /// </summary>
  9. public class InternalMediaInfoResult
  10. {
  11. /// <summary>
  12. /// Gets or sets the streams.
  13. /// </summary>
  14. /// <value>The streams.</value>
  15. [JsonPropertyName("streams")]
  16. public IReadOnlyList<MediaStreamInfo> Streams { get; set; }
  17. /// <summary>
  18. /// Gets or sets the format.
  19. /// </summary>
  20. /// <value>The format.</value>
  21. [JsonPropertyName("format")]
  22. public MediaFormatInfo Format { get; set; }
  23. /// <summary>
  24. /// Gets or sets the chapters.
  25. /// </summary>
  26. /// <value>The chapters.</value>
  27. [JsonPropertyName("chapters")]
  28. public IReadOnlyList<MediaChapter> Chapters { get; set; }
  29. /// <summary>
  30. /// Gets or sets the frames.
  31. /// </summary>
  32. /// <value>The streams.</value>
  33. [JsonPropertyName("frames")]
  34. public IReadOnlyList<MediaFrameInfo> Frames { get; set; }
  35. }
  36. }