| | | 1 | | #nullable disable |
| | | 2 | | #pragma warning disable CS1591 |
| | | 3 | | |
| | | 4 | | using System; |
| | | 5 | | using System.Collections.Generic; |
| | | 6 | | using MediaBrowser.Model.Dlna; |
| | | 7 | | |
| | | 8 | | namespace MediaBrowser.Model.MediaInfo |
| | | 9 | | { |
| | | 10 | | public class LiveStreamRequest |
| | | 11 | | { |
| | | 12 | | public LiveStreamRequest() |
| | | 13 | | { |
| | 0 | 14 | | EnableDirectPlay = true; |
| | 0 | 15 | | EnableDirectStream = true; |
| | 0 | 16 | | AlwaysBurnInSubtitleWhenTranscoding = false; |
| | 0 | 17 | | DirectPlayProtocols = new MediaProtocol[] { MediaProtocol.Http }; |
| | 0 | 18 | | } |
| | | 19 | | |
| | | 20 | | public string OpenToken { get; set; } |
| | | 21 | | |
| | | 22 | | public Guid UserId { get; set; } |
| | | 23 | | |
| | | 24 | | public string PlaySessionId { get; set; } |
| | | 25 | | |
| | | 26 | | public int? MaxStreamingBitrate { get; set; } |
| | | 27 | | |
| | | 28 | | public long? StartTimeTicks { get; set; } |
| | | 29 | | |
| | | 30 | | public int? AudioStreamIndex { get; set; } |
| | | 31 | | |
| | | 32 | | public int? SubtitleStreamIndex { get; set; } |
| | | 33 | | |
| | | 34 | | public int? MaxAudioChannels { get; set; } |
| | | 35 | | |
| | | 36 | | public Guid ItemId { get; set; } |
| | | 37 | | |
| | | 38 | | public DeviceProfile DeviceProfile { get; set; } |
| | | 39 | | |
| | | 40 | | public bool EnableDirectPlay { get; set; } |
| | | 41 | | |
| | | 42 | | public bool EnableDirectStream { get; set; } |
| | | 43 | | |
| | | 44 | | public bool AlwaysBurnInSubtitleWhenTranscoding { get; set; } |
| | | 45 | | |
| | | 46 | | public IReadOnlyList<MediaProtocol> DirectPlayProtocols { get; set; } |
| | | 47 | | } |
| | | 48 | | } |