maxLayer

val maxLayer: EncodingLayer? = null

How many simulcast layers the camera publishes, or null when the track carries no layer preference (audio and screen-share tracks).