Table of Contents

Enum BackupCodecPolicy

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

Policy for publisher to handle subscribers that are unable to support the primary codec of a track

public enum BackupCodecPolicy

Fields

[OriginalName("PREFER_REGRESSION")] PreferRegression = 0

default behavior, the track prefer to regress to backup codec and all subscribers will receive the backup codec, the sfu will try to regress codec if possible but not assured.

[OriginalName("REGRESSION")] Regression = 2

force the track to regress to backup codec, this option can be used in video conference or the publisher has limited bandwidth/encoding power

[OriginalName("SIMULCAST")] Simulcast = 1

encoding/send the primary and backup codec simultaneously