Class ContentFeatureBuilder
Inheritance
System.Object
ContentFeatureBuilder
Namespace: MediaBrowser.Model.Dlna
Assembly: MediaBrowser.Model.dll
Syntax
public class ContentFeatureBuilder
Constructors
ContentFeatureBuilder(DeviceProfile)
Declaration
public ContentFeatureBuilder(DeviceProfile profile)
Parameters
Type | Name | Description |
---|---|---|
DeviceProfile | profile |
Methods
BuildAudioHeader(ReadOnlySpan<Char>, ReadOnlySpan<Char>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, Int64, TranscodeSeekInfo)
Declaration
public string BuildAudioHeader(ReadOnlySpan<char> container, ReadOnlySpan<char> audioCodec, int? audioBitrate, int? audioSampleRate, int? audioChannels, int? audioBitDepth, bool isDirectStream, long runtimeTicks, TranscodeSeekInfo transcodeSeekInfo)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Char> | container | |
System.ReadOnlySpan<System.Char> | audioCodec | |
System.Nullable<System.Int32> | audioBitrate | |
System.Nullable<System.Int32> | audioSampleRate | |
System.Nullable<System.Int32> | audioChannels | |
System.Nullable<System.Int32> | audioBitDepth | |
System.Boolean | isDirectStream | |
System.Int64 | runtimeTicks | |
TranscodeSeekInfo | transcodeSeekInfo |
Returns
Type | Description |
---|---|
System.String |
BuildImageHeader(ReadOnlySpan<Char>, Nullable<Int32>, Nullable<Int32>, Boolean, String)
Declaration
public string BuildImageHeader(ReadOnlySpan<char> container, int? width, int? height, bool isDirectStream, string orgPn = null)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Char> | container | |
System.Nullable<System.Int32> | width | |
System.Nullable<System.Int32> | height | |
System.Boolean | isDirectStream | |
System.String | orgPn |
Returns
Type | Description |
---|---|
System.String |
BuildVideoHeader(ReadOnlySpan<Char>, ReadOnlySpan<Char>, ReadOnlySpan<Char>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, TransportStreamTimestamp, Boolean, Int64, ReadOnlySpan<Char>, ReadOnlySpan<Char>, Nullable<Double>, Single, TranscodeSeekInfo, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, ReadOnlySpan<Char>)
Declaration
public List<string> BuildVideoHeader(ReadOnlySpan<char> container, ReadOnlySpan<char> videoCodec, ReadOnlySpan<char> audioCodec, int? width, int? height, int? bitDepth, int? videoBitrate, TransportStreamTimestamp timestamp, bool isDirectStream, long runtimeTicks, ReadOnlySpan<char> videoProfile, ReadOnlySpan<char> videoRange, double? videoLevel, float videoFramerate, TranscodeSeekInfo transcodeSeekInfo, bool? isAnamorphic, bool? isInterlaced, int? refFrames, int? videoRotation, int? numVideoStreams, int? numAudioStreams, ReadOnlySpan<char> videoCodecTag)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Char> | container | |
System.ReadOnlySpan<System.Char> | videoCodec | |
System.ReadOnlySpan<System.Char> | audioCodec | |
System.Nullable<System.Int32> | width | |
System.Nullable<System.Int32> | height | |
System.Nullable<System.Int32> | bitDepth | |
System.Nullable<System.Int32> | videoBitrate | |
TransportStreamTimestamp | timestamp | |
System.Boolean | isDirectStream | |
System.Int64 | runtimeTicks | |
System.ReadOnlySpan<System.Char> | videoProfile | |
System.ReadOnlySpan<System.Char> | videoRange | |
System.Nullable<System.Double> | videoLevel | |
System.Single | videoFramerate | |
TranscodeSeekInfo | transcodeSeekInfo | |
System.Nullable<System.Boolean> | isAnamorphic | |
System.Nullable<System.Boolean> | isInterlaced | |
System.Nullable<System.Int32> | refFrames | |
System.Nullable<System.Int32> | videoRotation | |
System.Nullable<System.Int32> | numVideoStreams | |
System.Nullable<System.Int32> | numAudioStreams | |
System.ReadOnlySpan<System.Char> | videoCodecTag |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |