PlaybackInfoRequest.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 ForceDirectPlayRemoteMediaSource { get; set; }
  20. public bool AllowVideoStreamCopy { get; set; }
  21. public bool AllowAudioStreamCopy { get; set; }
  22. public PlaybackInfoRequest()
  23. {
  24. ForceDirectPlayRemoteMediaSource = true;
  25. EnableDirectPlay = true;
  26. EnableDirectStream = true;
  27. EnableTranscoding = true;
  28. AllowVideoStreamCopy = true;
  29. AllowAudioStreamCopy = true;
  30. }
  31. }
  32. }