Table of Contents

Class SIPMediaConfig

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll
public sealed class SIPMediaConfig : IMessage<SIPMediaConfig>, IEquatable<SIPMediaConfig>, IDeepCloneable<SIPMediaConfig>, IBufferMessage, IMessage
Inheritance
SIPMediaConfig
Implements
IBufferMessage
Inherited Members

Constructors

SIPMediaConfig()

public SIPMediaConfig()

SIPMediaConfig(SIPMediaConfig)

public SIPMediaConfig(SIPMediaConfig other)

Parameters

other SIPMediaConfig

Properties

Codecs

List of allowed codecs. If only_listed_codecs is not set, this list is added to default codecs.

public RepeatedField<SIPCodec> Codecs { get; }

Property Value

RepeatedField<SIPCodec>

DropAudioDuringDtmf

Stop sending audio RTP while outbound DTMF digits are sent. Always on when the telephone-event clock rate differs from the audio codec's.

public bool DropAudioDuringDtmf { get; set; }

Property Value

bool

Encryption

public SIPMediaEncryption Encryption { get; set; }

Property Value

SIPMediaEncryption

HasEncryption

Gets whether the "encryption" field is set

public bool HasEncryption { get; }

Property Value

bool

MediaTimeout

Use specific media timeout. If zero or not specified, will use default timeout.

public Duration MediaTimeout { get; set; }

Property Value

Duration

OnlyListedCodecs

if set, ignore the default codecs and use the list below.

public bool OnlyListedCodecs { get; set; }

Property Value

bool

Methods

ClearEncryption()

Clears the value of the "encryption" field

public void ClearEncryption()