aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/MediaInfoDtos/OpenLiveStreamDto.cs
blob: f797a380764d2bd225f5d626e2358a402d32061c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System.Diagnostics.CodeAnalysis;
using MediaBrowser.Model.Dlna;
using MediaBrowser.Model.MediaInfo;

namespace Jellyfin.Api.Models.MediaInfoDtos
{
    /// <summary>
    /// Open live stream dto.
    /// </summary>
    public class OpenLiveStreamDto
    {
        /// <summary>
        /// Gets or sets the device profile.
        /// </summary>
        public DeviceProfile? DeviceProfile { get; set; }

        /// <summary>
        /// Gets or sets the device play protocols.
        /// </summary>
        [SuppressMessage("Microsoft.Performance", "CA1819:DontReturnArrays", MessageId = "DevicePlayProtocols", Justification = "Imported from ServiceStack")]
        [SuppressMessage("Microsoft.Performance", "SA1011:ClosingBracketsSpace", MessageId = "DevicePlayProtocols", Justification = "Imported from ServiceStack")]
        public MediaProtocol[]? DirectPlayProtocols { get; set; }
    }
}