Class MediaFormatProfileResolver
Inheritance
System.Object
MediaFormatProfileResolver
Assembly: MediaBrowser.Model.dll
public class MediaFormatProfileResolver
Methods
Declaration
public MediaFormatProfile? ResolveAudioFormat(ReadOnlySpan<char> container, int? bitrate, int? frequency, int? channels)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
container |
|
System.Nullable<System.Int32> |
bitrate |
|
System.Nullable<System.Int32> |
frequency |
|
System.Nullable<System.Int32> |
channels |
|
Returns
Declaration
public MediaFormatProfile? ResolveImageFormat(ReadOnlySpan<char> container, int? width, int? height)
Parameters
Type |
Name |
Description |
System.ReadOnlySpan<System.Char> |
container |
|
System.Nullable<System.Int32> |
width |
|
System.Nullable<System.Int32> |
height |
|
Returns
Declaration
public string[] ResolveVideoFormat(ReadOnlySpan<char> container, ReadOnlySpan<char> videoCodec, ReadOnlySpan<char> audioCodec, int? width, int? height, TransportStreamTimestamp timestampType)
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 |
|
TransportStreamTimestamp |
timestampType |
|
Returns
Type |
Description |
System.String[] |
|
Extension Methods