BackupCodecPolicy
Defined in: client-sdk-js/src/track/options.ts:328
Policy for handling backup codec behaviour when the primary codec is an advanced codec (VP9 / AV1 / H265).
Enumeration Members
Section titled “Enumeration Members”PREFER_REGRESSION
Section titled “PREFER_REGRESSION”PREFER_REGRESSION: 0;Defined in: client-sdk-js/src/track/options.ts:333
Codec regression is preferred — the SFU will try to regress codec if possible but it is not guaranteed.
REGRESSION
Section titled “REGRESSION”REGRESSION: 2;Defined in: client-sdk-js/src/track/options.ts:337
Always use backup codec only.
SIMULCAST
Section titled “SIMULCAST”SIMULCAST: 1;Defined in: client-sdk-js/src/track/options.ts:335
Multi-codec simulcast: publish both primary and backup codec simultaneously.