aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/DlnaFlags.cs
blob: 7c7fe8d8f54e443a43f8d42c962f1e8c7f4e9ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;

namespace MediaBrowser.Model.Dlna
{
    [Flags]
    public enum DlnaFlags : ulong
    {
        /*!	<i>Background</i> transfer mode.
		For use with upload and download transfers to and from the server. 
		The primary difference between \ref DH_TransferMode_Interactive and 
		\ref DH_TransferMode_Bulk is that the latter assumes that the user 
		is not relying on the transfer for immediately rendering the content 
		and there are no issues with causing a buffer overflow if the 
		receiver uses TCP flow control to reduce total throughput.
	    */
        BackgroundTransferMode = (1 << 22),

        ByteBasedSeek = (1 << 29),
        ConnectionStall = (1 << 21),

        DlnaV15 = (1 << 20),

        /*! <i>Interactive</i> transfer mode.
            For best effort transfer of images and non-real-time transfers. 
            URIs with image content usually support \ref DH_TransferMode_Bulk too. 
            The primary difference between \ref DH_TransferMode_Interactive and 
            \ref DH_TransferMode_Bulk is that the former assumes that the 
            transfer is intended for immediate rendering.
        */
        InteractiveTransferMode = (1 << 23),

        PlayContainer = (1 << 28),
        RtspPause = (1 << 25),
        S0Increase = (1 << 27),
        SenderPaced = (1L << 31),
        SnIncrease = (1 << 26),

        /*!	<i>Streaming</i> transfer mode.
        The server transmits at a throughput sufficient for real-time playback of 
        audio or video. URIs with audio or video often support the 
        \ref DH_TransferMode_Interactive and \ref DH_TransferMode_Bulk transfer modes. 
        The most well-known exception to this general claim is for live streams.
        */
        StreamingTransferMode = (1 << 24),

        TimeBasedSeek = (1 << 30)
    }
}