Class MediaSourceInfo
Inheritance
MediaSourceInfo
Assembly: MediaBrowser.Model.dll
public class MediaSourceInfo
Properties
Declaration
public bool AddApiKeyToDirectStreamUrl { get; set; }
Property Value
Declaration
[Obsolete]
public int? AnalyzeDurationMs { get; set; }
Property Value
Declaration
public int? Bitrate { get; set; }
Property Value
Declaration
[Obsolete]
public int? BufferMs { get; set; }
Property Value
Declaration
public string Container { get; set; }
Property Value
Declaration
public long? ContainerStartTimeTicks { get; set; }
Property Value
Internal use only. Temporary
Declaration
[IgnoreDataMember]
public object Controller { get; set; }
Property Value
Declaration
[IgnoreDataMember]
public MediaStream DefaultAudioStream { get; }
Property Value
Declaration
public int? DefaultAudioStreamIndex { get; set; }
Property Value
Declaration
public int? DefaultSubtitleStreamIndex { get; set; }
Property Value
Declaration
public string DirectStreamUrl { get; set; }
Property Value
Declaration
public string EncoderPath { get; set; }
Property Value
Declaration
public MediaProtocol? EncoderProtocol { get; set; }
Property Value
Declaration
public string[] Formats { get; set; }
Property Value
Declaration
public bool HasMixedProtocols { get; set; }
Property Value
Declaration
public string Id { get; set; }
Property Value
Declaration
public bool IsInfiniteStream { get; set; }
Property Value
Differentiate internet url vs local network
Declaration
public bool IsRemote { get; set; }
Property Value
Used only by our Windows app. Not used by Emby Server.
The id of the item that this mediasource belongs to, if there is one
Also used by Emby for Kodi
Declaration
public string ItemId { get; set; }
Property Value
Declaration
public string LiveStreamId { get; set; }
Property Value
Declaration
public List<MediaStream> MediaStreams { get; set; }
Property Value
Declaration
public string Name { get; set; }
Property Value
Declaration
public string OpenToken { get; set; }
Property Value
Declaration
public string Path { get; set; }
Property Value
Declaration
public string ProbePath { get; set; }
Property Value
Declaration
public MediaProtocol? ProbeProtocol { get; set; }
Property Value
Declaration
public MediaProtocol Protocol { get; set; }
Property Value
Declaration
[Obsolete]
public bool ReadAtNativeFramerate { get; set; }
Property Value
Declaration
public Dictionary<string, string> RequiredHttpHeaders { get; set; }
Property Value
Declaration
public bool RequiresClosing { get; set; }
Property Value
Declaration
public bool RequiresLooping { get; set; }
Property Value
Declaration
public bool RequiresOpening { get; set; }
Property Value
Declaration
public long? RunTimeTicks { get; set; }
Property Value
Used only by our Windows app. Not used by Emby Server.
Declaration
public string ServerId { get; set; }
Property Value
Declaration
public long? Size { get; set; }
Property Value
Declaration
public string SortName { get; set; }
Property Value
Declaration
public bool SupportsDirectPlay { get; set; }
Property Value
Declaration
public bool SupportsDirectStream { get; set; }
Property Value
Declaration
[Obsolete]
public bool SupportsProbing { get; set; }
Property Value
Declaration
public bool SupportsTranscoding { get; set; }
Property Value
Declaration
public TransportStreamTimestamp? Timestamp { get; set; }
Property Value
Declaration
public int? TrancodeLiveStartIndex { get; set; }
Property Value
Declaration
[IgnoreDataMember]
public TranscodeReason[] TranscodeReasons { get; set; }
Property Value
Declaration
public string TranscodingContainer { get; set; }
Property Value
Declaration
public string TranscodingSubProtocol { get; set; }
Property Value
Declaration
public string TranscodingUrl { get; set; }
Property Value
Declaration
public MediaSourceType Type { get; set; }
Property Value
Declaration
public Video3DFormat? Video3DFormat { get; set; }
Property Value
Declaration
[IgnoreDataMember]
public MediaStream VideoStream { get; }
Property Value
Declaration
public DateTimeOffset? WallClockStart { get; set; }
Property Value
Methods
Declaration
public MediaStream GetDefaultAudioStream(int? defaultIndex)
Parameters
Returns
Declaration
public MediaStream GetMediaStream(MediaStreamType type, int index)
Parameters
Returns
Declaration
public List<MediaStream> GetMediaStreams(MediaStreamType type)
Parameters
Returns
Declaration
public int? GetStreamCount(MediaStreamType type)
Parameters
Returns
Declaration
public void InferTotalBitrate(bool force = false)
Parameters
Type |
Name |
Description |
Boolean |
force |
|
Declaration
public bool? IsSecondaryAudio(MediaStream stream)
Parameters
Returns
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
String |
A string that represents the current object.
|
Overrides
Extension Methods