using System; using MediaBrowser.Model.Dlna; namespace Jellyfin.Api.Models.MediaInfoDtos { /// /// Plabyback info dto. /// public class PlaybackInfoDto { /// /// Gets or sets the playback userId. /// public Guid? UserId { get; set; } /// /// Gets or sets the max streaming bitrate. /// public int? MaxStreamingBitrate { get; set; } /// /// Gets or sets the start time in ticks. /// public long? StartTimeTicks { get; set; } /// /// Gets or sets the audio stream index. /// public int? AudioStreamIndex { get; set; } /// /// Gets or sets the subtitle stream index. /// public int? SubtitleStreamIndex { get; set; } /// /// Gets or sets the max audio channels. /// public int? MaxAudioChannels { get; set; } /// /// Gets or sets the media source id. /// public string? MediaSourceId { get; set; } /// /// Gets or sets the live stream id. /// public string? LiveStreamId { get; set; } /// /// Gets or sets the device profile. /// public DeviceProfile? DeviceProfile { get; set; } /// /// Gets or sets a value indicating whether to enable direct play. /// public bool? EnableDirectPlay { get; set; } /// /// Gets or sets a value indicating whether to enable direct stream. /// public bool? EnableDirectStream { get; set; } /// /// Gets or sets a value indicating whether to enable transcoding. /// public bool? EnableTranscoding { get; set; } /// /// Gets or sets a value indicating whether to enable video stream copy. /// public bool? AllowVideoStreamCopy { get; set; } /// /// Gets or sets a value indicating whether to allow audio stream copy. /// public bool? AllowAudioStreamCopy { get; set; } /// /// Gets or sets a value indicating whether to auto open the live stream. /// public bool? AutoOpenLiveStream { get; set; } } }