Emby Emby Emby BetaDev
  • Emby Home
  • Dev Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface ICodecProvider

    Objects implementing this interface will be detected at runtime. Executing GetCodecList(IHostInfo) will allow a codec provider to a list of codecs that it has detected.

    Namespace: MediaBrowser.Controller.Codecs
    Assembly: MediaBrowser.Controller.dll
    Syntax
    public interface ICodecProvider
    Remarks

    The purpose of this provider model is to allow platform specific detection implementations.

    Methods

    GetCodecList(IHostInfo)

    A codec info provider implements this method to return a list of detected codecs.

    Declaration
    Task<List<ICodecBase>> GetCodecList(IHostInfo hostInfo)
    Parameters
    Type Name Description
    IHostInfo hostInfo
    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<ICodecBase>>

    A list of codecs.

    IsApplicable(IHostInfo)

    Indicates whether a codec info provider is applicable to the current platform and configuration

    Declaration
    bool IsApplicable(IHostInfo hostInfo)
    Parameters
    Type Name Description
    IHostInfo hostInfo
    Returns
    Type Description
    System.Boolean

    true if the provider is applicable; otherwise, false.

    Extension Methods

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