Files
jellyfin-jellyfin-1/MediaBrowser.Model/MediaInfo/PlaybackInfoRequest.cs

45 lines
1.3 KiB
C#
Raw Normal View History

using MediaBrowser.Model.Dlna;
namespace MediaBrowser.Model.MediaInfo
{
public class PlaybackInfoRequest
{
2015-03-31 14:50:08 -04:00
public string Id { get; set; }
public string UserId { get; set; }
2017-01-03 00:15:59 -05:00
public long? MaxStreamingBitrate { get; set; }
2015-03-31 14:50:08 -04:00
public long? StartTimeTicks { get; set; }
public int? AudioStreamIndex { get; set; }
public int? SubtitleStreamIndex { get; set; }
2016-10-20 14:02:42 -04:00
public int? MaxAudioChannels { get; set; }
2015-03-31 14:50:08 -04:00
public string MediaSourceId { get; set; }
public string LiveStreamId { get; set; }
public DeviceProfile DeviceProfile { get; set; }
2017-02-20 02:04:03 -05:00
public bool EnableDirectPlay { get; set; }
public bool EnableDirectStream { get; set; }
public bool EnableTranscoding { get; set; }
2017-03-10 13:33:17 -05:00
public bool ForceDirectPlayRemoteMediaSource { get; set; }
public bool AllowVideoStreamCopy { get; set; }
public bool AllowAudioStreamCopy { get; set; }
2017-02-20 02:04:03 -05:00
public PlaybackInfoRequest()
{
2017-03-10 13:33:17 -05:00
ForceDirectPlayRemoteMediaSource = true;
2017-02-20 02:04:03 -05:00
EnableDirectPlay = true;
EnableDirectStream = true;
EnableTranscoding = true;
AllowVideoStreamCopy = true;
AllowAudioStreamCopy = true;
2017-02-20 02:04:03 -05:00
}
}
}