Class AudioOptions
Inheritance
System.Object
AudioOptions
Assembly: MediaBrowser.Model.dll
public class AudioOptions
Constructors
Declaration
Properties
Gets or sets the audio transcoding bitrate.
Declaration
public int? AudioTranscodingBitrate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
The audio transcoding bitrate.
|
Context
Gets or sets the context.
Declaration
public EncodingContext Context { get; set; }
Property Value
Declaration
public string DeviceId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool EnableDirectPlay { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool EnableDirectStream { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ForceDirectPlay { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool ForceDirectStream { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public long ItemId { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
Allows an override of supported number of audio channels
Example: DeviceProfile supports five channel, but user only has stereo speakers
Declaration
public int? MaxAudioChannels { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
The application's configured quality setting
Declaration
public long? MaxBitrate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int64> |
|
Optional. Only needed if a specific AudioStreamIndex or SubtitleStreamIndex are requested.
Declaration
public string MediaSourceId { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public MediaSourceInfo[] MediaSources { get; set; }
Property Value
Declaration
public DeviceProfile Profile { get; set; }
Property Value
Methods
Gets the maximum bitrate.
Declaration
public long? GetMaxBitrate(bool isAudio)
Parameters
Type |
Name |
Description |
System.Boolean |
isAudio |
|
Returns
Type |
Description |
System.Nullable<System.Int64> |
System.Nullable<System.Int32>.
|
Extension Methods