PlaybackInfoRequest.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using MediaBrowser.Model.Dlna;
  2. namespace MediaBrowser.Model.MediaInfo
  3. {
  4. public class PlaybackInfoRequest
  5. {
  6. public string Id { get; set; }
  7. public string UserId { get; set; }
  8. public long? MaxStreamingBitrate { get; set; }
  9. public long? StartTimeTicks { get; set; }
  10. public int? AudioStreamIndex { get; set; }
  11. public int? SubtitleStreamIndex { get; set; }
  12. public int? MaxAudioChannels { get; set; }
  13. public string MediaSourceId { get; set; }
  14. public string LiveStreamId { get; set; }
  15. public DeviceProfile DeviceProfile { get; set; }
  16. public bool EnableDirectPlay { get; set; }
  17. public bool EnableDirectStream { get; set; }
  18. public bool EnableTranscoding { get; set; }
  19. public bool AllowVideoStreamCopy { get; set; }
  20. public bool AllowAudioStreamCopy { get; set; }
  21. public bool AutoOpenLiveStream { get; set; }
  22. public bool EnableMediaProbe { get; set; }
  23. public PlaybackInfoRequest()
  24. {
  25. EnableDirectPlay = true;
  26. EnableDirectStream = true;
  27. EnableTranscoding = true;
  28. AllowVideoStreamCopy = true;
  29. AllowAudioStreamCopy = true;
  30. EnableMediaProbe = true;
  31. }
  32. }
  33. }