aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
blob: 1073f74aaf5f3186d3736b95c1e12ef9028d819c (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
using System.Collections.Generic;

namespace MediaBrowser.Controller.Dlna
{
    public class TranscodingProfile
    {
        public string Container { get; set; }

        public DlnaProfileType Type { get; set; }

        public string VideoCodec { get; set; }
        public string AudioCodec { get; set; }

        public bool EstimateContentLength { get; set; }

        public TranscodeSeekInfo TranscodeSeekInfo { get; set; }

        public List<TranscodingSetting> Settings { get; set; }

        public TranscodingProfile()
        {
            Settings = new List<TranscodingSetting>();
        }
    }

    public class TranscodingSetting
    {
        public TranscodingSettingType Name { get; set; }
        public string Value { get; set; }
    }

    public enum TranscodingSettingType
    {
        Profile = 0,
        MaxAudioChannels = 1
    }

    public enum TranscodeSeekInfo
    {
        Auto = 0,
        Bytes = 1
    }
}