DlnaFlags.cs 1.8 KB

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