DlnaFlags.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #pragma warning disable CS1591
  2. #pragma warning disable SA1600
  3. using System;
  4. namespace MediaBrowser.Model.Dlna
  5. {
  6. [Flags]
  7. public enum DlnaFlags : ulong
  8. {
  9. /*! <i>Background</i> transfer mode.
  10. For use with upload and download transfers to and from the server.
  11. The primary difference between \ref DH_TransferMode_Interactive and
  12. \ref DH_TransferMode_Bulk is that the latter assumes that the user
  13. is not relying on the transfer for immediately rendering the content
  14. and there are no issues with causing a buffer overflow if the
  15. receiver uses TCP flow control to reduce total throughput.
  16. */
  17. BackgroundTransferMode = 1 << 22,
  18. ByteBasedSeek = 1 << 29,
  19. ConnectionStall = 1 << 21,
  20. DlnaV15 = 1 << 20,
  21. /*! <i>Interactive</i> transfer mode.
  22. For best effort transfer of images and non-real-time transfers.
  23. URIs with image content usually support \ref DH_TransferMode_Bulk too.
  24. The primary difference between \ref DH_TransferMode_Interactive and
  25. \ref DH_TransferMode_Bulk is that the former assumes that the
  26. transfer is intended for immediate rendering.
  27. */
  28. InteractiveTransferMode = 1 << 23,
  29. PlayContainer = 1 << 28,
  30. RtspPause = 1 << 25,
  31. S0Increase = 1 << 27,
  32. SenderPaced = 1L << 31,
  33. SnIncrease = 1 << 26,
  34. /*! <i>Streaming</i> transfer mode.
  35. The server transmits at a throughput sufficient for real-time playback of
  36. audio or video. URIs with audio or video often support the
  37. \ref DH_TransferMode_Interactive and \ref DH_TransferMode_Bulk transfer modes.
  38. The most well-known exception to this general claim is for live streams.
  39. */
  40. StreamingTransferMode = 1 << 24,
  41. TimeBasedSeek = 1 << 30
  42. }
  43. }