Class StreamBuilder
Inheritance
System.Object
StreamBuilder
Assembly: MediaBrowser.Model.dll
public class StreamBuilder
Constructors
Declaration
public StreamBuilder(ITranscoderSupport transcoderSupport, ILogger logger)
Parameters
Declaration
public StreamBuilder(ITranscoderSupport transcoderSupport, ILogger logger, UserConfiguration userConfiguration)
Parameters
Methods
Declaration
public StreamInfo BuildAudioItem(AudioOptions options)
Parameters
Returns
Declaration
public StreamInfo BuildVideoItem(VideoOptions options)
Parameters
Returns
GetSubtitleProfile(MediaSourceInfo, MediaStream, SubtitleProfile[], PlayMethod, ITranscoderSupport, EncodingContext, ReadOnlySpan<Char>, ReadOnlySpan<Char>, ReadOnlySpan<Char>)
Declaration
public static SubtitleProfile GetSubtitleProfile(MediaSourceInfo mediaSource, MediaStream subtitleStream, SubtitleProfile[] subtitleProfiles, PlayMethod playMethod, ITranscoderSupport transcoderSupport, EncodingContext encodingContext, ReadOnlySpan<char> outputContainer, ReadOnlySpan<char> transcodingSubProtocol, ReadOnlySpan<char> manifestSubtitleFormat)
Parameters
Returns
Declaration
public static string NormalizeMediaSourceFormatIntoSingleContainer(ReadOnlySpan<char> inputContainer, ReadOnlySpan<char> inputPath, DeviceProfile profile, DlnaProfileType type)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
inputContainer |
|
System.ReadOnlySpan<System.Char> |
inputPath |
|
DeviceProfile |
profile |
|
DlnaProfileType |
type |
|
Returns
Type |
Description |
System.String |
|
Extension Methods