---
title: "ClusterAssigner"
description: "API documentation for ClusterAssigner"
url: https://developer.disguise.one/python-api/docs/clusterassigner/
---

# ClusterAssigner

Base class (inherits properties and methods): _[Resource](/python-api/docs/resource#resource)_

## Nested Classes

-   [SplitType](/python-api/docs/clusterassigner.splittype#splittype)

## Properties

#### **codec** : _int_

H265 currently supported.

_UserName: Codec for compressed video_

#### **compressedBitrate** : _int_

Target bitrate for AV1 (ST2110-22).

_UserName: Compressed bitrate (Kbps)_

#### **enableAlpha** : _bool_

_UserName: Alpha_

#### **maxTileSize** : _[Int2](/python-api/docs/int2#int2)_

Largest resolution before viewports are split into tiles.  
Null values default to a safe limit

_UserName: Maximum tile size (pixels)_

#### **overlap** : _int_

Overlap between splits that is blended together.  
Use to hide simulation imperfections.

_UserName: Splitting overlap (pixels)_

#### **padding** : _int_

Padding between splits that is rendered, but cut off before compositing.  
Use to remove screen-space edge artifacts.  
If in Full-Frame mode, padding will apply on the outside of the frame

_UserName: Padding (pixels)_

#### **preferredNetwork** : _[IPAddress](/python-api/docs/ipaddress#ipaddress)_

_UserName: Preferred network_

#### **proxySettings** : _[ProxySettings](/python-api/docs/proxysettings#proxysettings)_

_UserName: Proxy streams_

#### **scaleFactor** : _float_

Scale factor for the resolution. Downscaled streams will be upscaled using Super Resolution techniques

_UserName: Scale factor_

#### **splitter** : _int_

_Options: {0: ‘Tiles’, 1: ‘Full frame’, 2: ‘Manual’}  
UserName: Splitting strategy_

#### **transportBitDepth** : _int_

#### **transportFormat** : _int_

#### **transportType** : _int_

## Variables

#### **COMPRESSION\_CODEC\_AV1** : _Final\[[NetworkVideo\_CompressionCodec](/python-api/docs/networkvideo_compressioncodec#networkvideo_compressioncodec)\]_ = NetworkVideo\_CompressionCodec.AV1

Transport sending compressed video compressed with the AV1 codec

#### **COMPRESSION\_CODEC\_H265** : _Final\[[NetworkVideo\_CompressionCodec](/python-api/docs/networkvideo_compressioncodec#networkvideo_compressioncodec)\]_ = NetworkVideo\_CompressionCodec.H265

Transport sending compressed video compressed with the H.265 codec

## Methods

#### **isUpscaleSupported**(self) -> _bool_

#### **isValidCombination**(self) -> _bool_

#### **maxTransportResolution**(self) -> _[Int2](/python-api/docs/int2#int2)_

## Static Methods

#### **isValidWorkloadTransportCombination**(type: _[NetworkVideo\_TransportType](/python-api/docs/networkvideo_transporttype#networkvideo_transporttype)_, format: _[NetworkVideo\_TransportFormat](/python-api/docs/networkvideo_transportformat#networkvideo_transportformat)_, bitDepth: _[NetworkVideo\_TransportBitDepth](/python-api/docs/networkvideo_transportbitdepth#networkvideo_transportbitdepth)_, alphaEnabled: _bool_, codec: _[NetworkVideo\_CompressionCodec](/python-api/docs/networkvideo_compressioncodec#networkvideo_compressioncodec)_) -> _bool_
