Class ContentFeatureBuilder
Inheritance
System.Object
ContentFeatureBuilder
Assembly: MediaBrowser.Model.dll
Syntax
public class ContentFeatureBuilder
Constructors
ContentFeatureBuilder(DeviceProfile)
Declaration
public ContentFeatureBuilder(DeviceProfile profile)
Parameters
Methods
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 |
|
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 |
|
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> |
|
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, ExtendedVideoTypes? extendedVideoType = null, ExtendedVideoSubTypes? extendedVideoSubType = null)
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 |
|
| System.Nullable<ExtendedVideoTypes> |
extendedVideoType |
|
| System.Nullable<ExtendedVideoSubTypes> |
extendedVideoSubType |
|
Returns
| Type |
Description |
| System.Collections.Generic.List<System.String> |
|
Extension Methods