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

    Show / Hide Table of Contents

    Interface IMediaSourceProvider

    Namespace: MediaBrowser.Controller.Library
    Assembly: MediaBrowser.Controller.dll
    Syntax
    public interface IMediaSourceProvider

    Methods

    GetMediaSources(BaseItem, CancellationToken)

    Gets the media sources.

    Declaration
    Task<List<MediaSourceInfo>> GetMediaSources(BaseItem item, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    BaseItem item

    The item.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Collections.Generic.List<MediaSourceInfo>>

    OpenMediaSource(String, List<ILiveStream>, CancellationToken)

    Opens the media source.

    Declaration
    Task<ILiveStream> OpenMediaSource(string openToken, List<ILiveStream> currentLiveStreams, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.String openToken
    System.Collections.Generic.List<ILiveStream> currentLiveStreams
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task<ILiveStream>

    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.