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
otherSIPMediaConfig
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
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
Encryption
public SIPMediaEncryption Encryption { get; set; }
Property Value
HasEncryption
Gets whether the "encryption" field is set
public bool HasEncryption { get; }
Property Value
MediaTimeout
Use specific media timeout. If zero or not specified, will use default timeout.
public Duration MediaTimeout { get; set; }
Property Value
OnlyListedCodecs
if set, ignore the default codecs and use the list below.
public bool OnlyListedCodecs { get; set; }
Property Value
Methods
ClearEncryption()
Clears the value of the "encryption" field
public void ClearEncryption()