fm.liveswitch.VersionUtility Class Referenceabstract

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

Static Public Member Functions

static int clusteringVersionSupport (String remoteVersion)
 Determines the clustering version supported by the remote endpoint. More...
 
static boolean isRemoteEligibleToReceiveTransportCCReports (String remoteVersion, String minVersion)
 Determines whether the remote version is eligible to receive transport wide cc reports and adapt based on them. More...
 
static boolean remoteSupportsBitrateRequests (String remoteVersion)
 Determines whether the remote version supports bitrate requests. More...
 
static boolean remoteSupportsClientSideRedirection (String remoteVersion)
 Determines whether the remote version supports client-side redirection. More...
 
static boolean remoteSupportsSynchronizedStreamGroups (String remoteVersion)
 Determines whether the remote version supports synchronized stream groups. More...
 

Detailed Description

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

Member Function Documentation

◆ clusteringVersionSupport()

static int fm.liveswitch.VersionUtility.clusteringVersionSupport ( String  remoteVersion)
static

Determines the clustering version supported by the remote endpoint.

    Clustering v2 is supported starting from version 1.24.0. Earlier versions or unparseable version strings default to clustering v1 support.
Parameters
remoteVersionThe version string of the remote endpoint to check.
Returns
2
if the remote version supports clustering v2 (version 1.24.0 or later); otherwise,
1
for clustering v1 support.

◆ isRemoteEligibleToReceiveTransportCCReports()

static boolean fm.liveswitch.VersionUtility.isRemoteEligibleToReceiveTransportCCReports ( String  remoteVersion,
String  minVersion 
)
static

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

Parameters
remoteVersion
minVersion

◆ remoteSupportsBitrateRequests()

static boolean fm.liveswitch.VersionUtility.remoteSupportsBitrateRequests ( String  remoteVersion)
static

Determines whether the remote version supports bitrate requests.

    Bitrate requests are supported starting with version 1.13.1. If the version string cannot be parsed, this method returns @code false  @endcode .
Parameters
remoteVersionThe version string of the remote endpoint to check.
Returns
true
if the remote version supports bitrate requests (version 1.13.1 or later); otherwise,
false
.

◆ remoteSupportsClientSideRedirection()

static boolean fm.liveswitch.VersionUtility.remoteSupportsClientSideRedirection ( String  remoteVersion)
static

Determines whether the remote version supports client-side redirection.

    Client-side redirection is supported starting with version 1.12.1. If the version string cannot be parsed, this method returns @code false  @endcode .
Parameters
remoteVersionThe version string of the remote endpoint to check.
Returns
true
if the remote version supports client-side redirection (version 1.12.1 or later); otherwise,
false
.

◆ remoteSupportsSynchronizedStreamGroups()

static boolean fm.liveswitch.VersionUtility.remoteSupportsSynchronizedStreamGroups ( String  remoteVersion)
static

Determines whether the remote version supports synchronized stream groups.

    Synchronized stream groups are supported starting with version 1.25.0. If the version string cannot be parsed, this method returns @code false  @endcode .
Parameters
remoteVersionThe version string of the remote endpoint to check.
Returns
true
if the remote version supports bitrate requests (version 1.25.0 or later); otherwise,
false
.