Search Results for

    Show / Hide Table of Contents

    Class VersionUtility

    Provides utility methods for checking version compatibility and feature support based on remote version strings.

    Inheritance
    System.Object
    VersionUtility
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public static class VersionUtility : object

    Methods

    ClusteringVersionSupport(String)

    Determines the clustering version supported by the remote endpoint.

    Declaration
    public static int ClusteringVersionSupport(string remoteVersion)
    Parameters
    Type Name Description
    System.String remoteVersion

    The version string of the remote endpoint to check.

    Returns
    Type Description
    System.Int32

    2 if the remote version supports clustering v2 (version 1.24.0 or later); otherwise, 1 for clustering v1 support.

    Remarks

    Clustering v2 is supported starting from version 1.24.0. Earlier versions or unparseable version strings default to clustering v1 support.

    IsRemoteEligibleToReceiveTransportCCReports(String, String)

    Determines whether the remote version is eligible to receive transport wide cc reports and adapt based on them.

    Declaration
    public static bool IsRemoteEligibleToReceiveTransportCCReports(string remoteVersion, string minVersion)
    Parameters
    Type Name Description
    System.String remoteVersion
    System.String minVersion
    Returns
    Type Description
    System.Boolean

    RemoteSupportsBitrateRequests(String)

    Determines whether the remote version supports bitrate requests.

    Declaration
    public static bool RemoteSupportsBitrateRequests(string remoteVersion)
    Parameters
    Type Name Description
    System.String remoteVersion

    The version string of the remote endpoint to check.

    Returns
    Type Description
    System.Boolean

    true if the remote version supports bitrate requests (version 1.13.1 or later); otherwise, false.

    Remarks

    Bitrate requests are supported starting with version 1.13.1. If the version string cannot be parsed, this method returns false.

    RemoteSupportsClientSideRedirection(String)

    Determines whether the remote version supports client-side redirection.

    Declaration
    public static bool RemoteSupportsClientSideRedirection(string remoteVersion)
    Parameters
    Type Name Description
    System.String remoteVersion

    The version string of the remote endpoint to check.

    Returns
    Type Description
    System.Boolean

    true if the remote version supports client-side redirection (version 1.12.1 or later); otherwise, false.

    Remarks

    Client-side redirection is supported starting with version 1.12.1. If the version string cannot be parsed, this method returns false.

    RemoteSupportsSynchronizedStreamGroups(String)

    Determines whether the remote version supports synchronized stream groups.

    Declaration
    public static bool RemoteSupportsSynchronizedStreamGroups(string remoteVersion)
    Parameters
    Type Name Description
    System.String remoteVersion

    The version string of the remote endpoint to check.

    Returns
    Type Description
    System.Boolean

    true if the remote version supports bitrate requests (version 1.25.0 or later); otherwise, false.

    Remarks

    Synchronized stream groups are supported starting with version 1.25.0. If the version string cannot be parsed, this method returns false.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.25.0