open override val backupCodec: BackupVideoCodec? = null

Multi-codec Simulcast

Codecs such as VP9 and AV1 are not supported by all clients. When backupCodec is set, when an incompatible client attempts to subscribe to the track, LiveKit will automatically publish a secondary track encoded with the backup codec.


SDK source
Link copied to clipboard