Class AdaptiveVariants

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.MediaPlayer.dll

    Provides the ability to control the maximum limit of the available streaming variant for Player.

    public class AdaptiveVariants
    Inheritance
    object
    AdaptiveVariants

    Properties

    View Source

    AvailableAdaptiveVariants

    Retrieves all the available adaptive streaming variants.

    Declaration
    public IEnumerable<VariantInfo> AvailableAdaptiveVariants { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<T><VariantInfo>

    It returns a list contained all the available adaptive variants.

    Exceptions
    Type Condition
    System.InvalidOperationException

    The player is not in the valid state.

    System.ObjectDisposedException

    The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of.

    See Also
    VariantInfo

    Methods

    View Source

    GetMaxLimit()

    Gets the maximum limit of the adaptive streaming variant.

    Declaration
    public VariantInfo GetMaxLimit()
    Returns
    Type Description
    VariantInfo

    The VariantInfo containing the variant information.

    Exceptions
    Type Condition
    System.ObjectDisposedException

    The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of.

    See Also
    SetMaxLimit(int, int, int)
    View Source

    SetMaxLimit(int, int, int)

    Sets the maximum limit of adaptive streaming variants.

    Declaration
    public void SetMaxLimit(int bandwidth, int width = -1, int height = -1)
    Parameters
    Type Name Description
    int bandwidth
    int width
    int height
    Exceptions
    Type Condition
    System.ObjectDisposedException

    The Tizen.Multimedia.AdaptiveVariants.Player has already been disposed of.

    System.ArgumentOutOfRangeException

    is less than -1.
    -or-
    is less than -1.
    -or-
    is less than -1.

    See Also
    GetMaxLimit()
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX