VideoRequestDto.cs 781 B

1234567891011121314151617181920212223
  1. namespace MediaBrowser.Controller.Streaming;
  2. /// <summary>
  3. /// The video request dto.
  4. /// </summary>
  5. public class VideoRequestDto : StreamingRequestDto
  6. {
  7. /// <summary>
  8. /// Gets a value indicating whether this instance has fixed resolution.
  9. /// </summary>
  10. /// <value><c>true</c> if this instance has fixed resolution; otherwise, <c>false</c>.</value>
  11. public bool HasFixedResolution => Width.HasValue || Height.HasValue;
  12. /// <summary>
  13. /// Gets or sets a value indicating whether to enable subtitles in the manifest.
  14. /// </summary>
  15. public bool EnableSubtitlesInManifest { get; set; }
  16. /// <summary>
  17. /// Gets or sets a value indicating whether to enable trickplay images.
  18. /// </summary>
  19. public bool EnableTrickplay { get; set; }
  20. }