Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Class MediaSourceInfo

    Inheritance
    System.Object
    MediaSourceInfo
    MediaInfo
    Namespace: MediaBrowser.Model.Dto
    Assembly: MediaBrowser.Model.dll
    Syntax
    public class MediaSourceInfo

    Properties

    AddApiKeyToDirectStreamUrl

    Declaration
    public bool AddApiKeyToDirectStreamUrl { get; set; }
    Property Value
    Type Description
    System.Boolean

    AnalyzeDurationMs

    Declaration
    [Obsolete]
    public int? AnalyzeDurationMs { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Bitrate

    Declaration
    public int? Bitrate { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    BufferMs

    Declaration
    [Obsolete]
    public int? BufferMs { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Container

    Declaration
    public string Container { get; set; }
    Property Value
    Type Description
    System.String

    ContainerStartTimeTicks

    Declaration
    public long? ContainerStartTimeTicks { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Controller

    Internal use only. Temporary

    Declaration
    [IgnoreDataMember]
    public object Controller { get; set; }
    Property Value
    Type Description
    System.Object

    DefaultAudioStream

    Declaration
    [IgnoreDataMember]
    public MediaStream DefaultAudioStream { get; }
    Property Value
    Type Description
    MediaStream

    DefaultAudioStreamIndex

    Declaration
    public int? DefaultAudioStreamIndex { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    DefaultSubtitleStreamIndex

    Declaration
    public int? DefaultSubtitleStreamIndex { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    DirectStreamUrl

    Declaration
    public string DirectStreamUrl { get; set; }
    Property Value
    Type Description
    System.String

    EncoderPath

    Declaration
    public string EncoderPath { get; set; }
    Property Value
    Type Description
    System.String

    EncoderProtocol

    Declaration
    public MediaProtocol? EncoderProtocol { get; set; }
    Property Value
    Type Description
    System.Nullable<MediaProtocol>

    Formats

    Declaration
    public string[] Formats { get; set; }
    Property Value
    Type Description
    System.String[]

    HasMixedProtocols

    Declaration
    public bool HasMixedProtocols { get; set; }
    Property Value
    Type Description
    System.Boolean

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    IsInfiniteStream

    Declaration
    public bool IsInfiniteStream { get; set; }
    Property Value
    Type Description
    System.Boolean

    IsRemote

    Differentiate internet url vs local network

    Declaration
    public bool IsRemote { get; set; }
    Property Value
    Type Description
    System.Boolean

    ItemId

    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
    Type Description
    System.String

    LiveStreamId

    Declaration
    public string LiveStreamId { get; set; }
    Property Value
    Type Description
    System.String

    MediaStreams

    Declaration
    public List<MediaStream> MediaStreams { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<MediaStream>

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    OpenToken

    Declaration
    public string OpenToken { get; set; }
    Property Value
    Type Description
    System.String

    Path

    Declaration
    public string Path { get; set; }
    Property Value
    Type Description
    System.String

    ProbePath

    Declaration
    public string ProbePath { get; set; }
    Property Value
    Type Description
    System.String

    ProbeProtocol

    Declaration
    public MediaProtocol? ProbeProtocol { get; set; }
    Property Value
    Type Description
    System.Nullable<MediaProtocol>

    Protocol

    Declaration
    public MediaProtocol Protocol { get; set; }
    Property Value
    Type Description
    MediaProtocol

    ReadAtNativeFramerate

    Declaration
    [Obsolete]
    public bool ReadAtNativeFramerate { get; set; }
    Property Value
    Type Description
    System.Boolean

    RequiredHttpHeaders

    Declaration
    public Dictionary<string, string> RequiredHttpHeaders { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, System.String>

    RequiresClosing

    Declaration
    public bool RequiresClosing { get; set; }
    Property Value
    Type Description
    System.Boolean

    RequiresLooping

    Declaration
    public bool RequiresLooping { get; set; }
    Property Value
    Type Description
    System.Boolean

    RequiresOpening

    Declaration
    public bool RequiresOpening { get; set; }
    Property Value
    Type Description
    System.Boolean

    RunTimeTicks

    Declaration
    public long? RunTimeTicks { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    ServerId

    Used only by our Windows app. Not used by Emby Server.

    Declaration
    public string ServerId { get; set; }
    Property Value
    Type Description
    System.String

    Size

    Declaration
    public long? Size { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    SortName

    Declaration
    public string SortName { get; set; }
    Property Value
    Type Description
    System.String

    SupportsDirectPlay

    Declaration
    public bool SupportsDirectPlay { get; set; }
    Property Value
    Type Description
    System.Boolean

    SupportsDirectStream

    Declaration
    public bool SupportsDirectStream { get; set; }
    Property Value
    Type Description
    System.Boolean

    SupportsProbing

    Declaration
    [Obsolete]
    public bool SupportsProbing { get; set; }
    Property Value
    Type Description
    System.Boolean

    SupportsTranscoding

    Declaration
    public bool SupportsTranscoding { get; set; }
    Property Value
    Type Description
    System.Boolean

    Timestamp

    Declaration
    public TransportStreamTimestamp? Timestamp { get; set; }
    Property Value
    Type Description
    System.Nullable<TransportStreamTimestamp>

    TrancodeLiveStartIndex

    Declaration
    public int? TrancodeLiveStartIndex { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    TranscodeReasons

    Declaration
    [IgnoreDataMember]
    public TranscodeReason[] TranscodeReasons { get; set; }
    Property Value
    Type Description
    TranscodeReason[]

    TranscodingContainer

    Declaration
    public string TranscodingContainer { get; set; }
    Property Value
    Type Description
    System.String

    TranscodingSubProtocol

    Declaration
    public string TranscodingSubProtocol { get; set; }
    Property Value
    Type Description
    System.String

    TranscodingUrl

    Declaration
    public string TranscodingUrl { get; set; }
    Property Value
    Type Description
    System.String

    Type

    Declaration
    public MediaSourceType Type { get; set; }
    Property Value
    Type Description
    MediaSourceType

    Video3DFormat

    Declaration
    public Video3DFormat? Video3DFormat { get; set; }
    Property Value
    Type Description
    System.Nullable<Video3DFormat>

    VideoStream

    Declaration
    [IgnoreDataMember]
    public MediaStream VideoStream { get; }
    Property Value
    Type Description
    MediaStream

    WallClockStart

    Declaration
    public DateTimeOffset? WallClockStart { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTimeOffset>

    Methods

    GetDefaultAudioStream(Nullable<Int32>)

    Declaration
    public MediaStream GetDefaultAudioStream(int? defaultIndex)
    Parameters
    Type Name Description
    System.Nullable<System.Int32> defaultIndex
    Returns
    Type Description
    MediaStream

    GetMediaStream(MediaStreamType, Int32)

    Declaration
    public MediaStream GetMediaStream(MediaStreamType type, int index)
    Parameters
    Type Name Description
    MediaStreamType type
    System.Int32 index
    Returns
    Type Description
    MediaStream

    GetMediaStreams(MediaStreamType)

    Declaration
    public List<MediaStream> GetMediaStreams(MediaStreamType type)
    Parameters
    Type Name Description
    MediaStreamType type
    Returns
    Type Description
    System.Collections.Generic.List<MediaStream>

    GetStreamCount(MediaStreamType)

    Declaration
    public int? GetStreamCount(MediaStreamType type)
    Parameters
    Type Name Description
    MediaStreamType type
    Returns
    Type Description
    System.Nullable<System.Int32>

    InferTotalBitrate(Boolean)

    Declaration
    public void InferTotalBitrate(bool force = false)
    Parameters
    Type Name Description
    System.Boolean force

    IsSecondaryAudio(MediaStream)

    Declaration
    public bool? IsSecondaryAudio(MediaStream stream)
    Parameters
    Type Name Description
    MediaStream stream
    Returns
    Type Description
    System.Nullable<System.Boolean>

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.