DlnaFlags.cs 1.8 KB

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