OpenLiveStreamDto.cs 906 B

123456789101112131415161718192021222324
  1. using System.Diagnostics.CodeAnalysis;
  2. using MediaBrowser.Model.Dlna;
  3. using MediaBrowser.Model.MediaInfo;
  4. namespace Jellyfin.Api.Models.MediaInfoDtos
  5. {
  6. /// <summary>
  7. /// Open live stream dto.
  8. /// </summary>
  9. public class OpenLiveStreamDto
  10. {
  11. /// <summary>
  12. /// Gets or sets the device profile.
  13. /// </summary>
  14. public DeviceProfile? DeviceProfile { get; set; }
  15. /// <summary>
  16. /// Gets or sets the device play protocols.
  17. /// </summary>
  18. [SuppressMessage("Microsoft.Performance", "CA1819:DontReturnArrays", MessageId = "DevicePlayProtocols", Justification = "Imported from ServiceStack")]
  19. [SuppressMessage("Microsoft.Performance", "SA1011:ClosingBracketsSpace", MessageId = "DevicePlayProtocols", Justification = "Imported from ServiceStack")]
  20. public MediaProtocol[]? DirectPlayProtocols { get; set; }
  21. }
  22. }