2015-03-26 09:58:02 -07:00
|
|
|
|
using MediaBrowser.Model.Dlna;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.MediaInfo
|
|
|
|
|
{
|
|
|
|
|
public class PlaybackInfoRequest
|
|
|
|
|
{
|
2015-03-31 11:50:08 -07:00
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string UserId { get; set; }
|
|
|
|
|
|
2017-01-02 22:15:59 -07:00
|
|
|
|
public long? MaxStreamingBitrate { get; set; }
|
2015-03-31 11:50:08 -07:00
|
|
|
|
|
|
|
|
|
public long? StartTimeTicks { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? AudioStreamIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? SubtitleStreamIndex { get; set; }
|
|
|
|
|
|
2016-10-20 11:02:42 -07:00
|
|
|
|
public int? MaxAudioChannels { get; set; }
|
|
|
|
|
|
2015-03-31 11:50:08 -07:00
|
|
|
|
public string MediaSourceId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string LiveStreamId { get; set; }
|
|
|
|
|
|
2015-03-26 09:58:02 -07:00
|
|
|
|
public DeviceProfile DeviceProfile { get; set; }
|
2017-02-20 00:04:03 -07:00
|
|
|
|
|
|
|
|
|
public bool EnableDirectPlay { get; set; }
|
|
|
|
|
public bool EnableDirectStream { get; set; }
|
|
|
|
|
public bool EnableTranscoding { get; set; }
|
2017-03-31 12:50:55 -07:00
|
|
|
|
public bool AllowVideoStreamCopy { get; set; }
|
|
|
|
|
public bool AllowAudioStreamCopy { get; set; }
|
2017-06-03 00:36:32 -07:00
|
|
|
|
public bool AutoOpenLiveStream { get; set; }
|
2017-07-03 10:16:01 -07:00
|
|
|
|
public bool EnableMediaProbe { get; set; }
|
2017-02-20 00:04:03 -07:00
|
|
|
|
|
|
|
|
|
public PlaybackInfoRequest()
|
|
|
|
|
{
|
|
|
|
|
EnableDirectPlay = true;
|
|
|
|
|
EnableDirectStream = true;
|
|
|
|
|
EnableTranscoding = true;
|
2017-03-31 12:50:55 -07:00
|
|
|
|
AllowVideoStreamCopy = true;
|
|
|
|
|
AllowAudioStreamCopy = true;
|
2017-07-03 10:16:01 -07:00
|
|
|
|
EnableMediaProbe = true;
|
2017-02-20 00:04:03 -07:00
|
|
|
|
}
|
2015-03-26 09:58:02 -07:00
|
|
|
|
}
|
|
|
|
|
}
|