Class SdpOfferSettings
Class for passing the media settings to use when building an SDP to offer in a new call (INVITE) request.
Inherited Members
Namespace: SipLib.Sdp
Assembly: SipLib.dll
Syntax
public class SdpOfferSettings
Constructors
| Edit this page View SourceSdpOfferSettings(List<string>, List<string>, string, string, MediaPortManager)
Constructor.
Declaration
public SdpOfferSettings(List<string> AudioCodecs, List<string> VideoCodecs, string userName, string fingerprint, MediaPortManager portManager)
Parameters
Type | Name | Description |
---|---|---|
List<string> | AudioCodecs | List of audio codecs to offer. |
List<string> | VideoCodecs | List of video codecs to offer. |
string | userName | User name to use for the session owner and MSRP URI in the media descriptions |
string | fingerprint | Fingerprint of the self-signed X.509 certificate that will be used for DTLS-SDES keying material negotiation |
MediaPortManager | portManager | MediaPortManager to use use for allocation of media ports. |
Properties
| Edit this page View SourceFingerprint
Fingerprint of the self-signed X.509 certificate that that will be used for DTLS-SDES keying material negotiation.
Declaration
[JsonIgnore]
public string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
MsrpSetupType
Connection setup method for MSRP media. The default is SetupType.active for outgoing calls.
Declaration
public SetupType MsrpSetupType { get; set; }
Property Value
Type | Description |
---|---|
SetupType |
OfferAudio
If true then offer audio media. The default setting is true.
Declaration
public bool OfferAudio { get; set; }
Property Value
Type | Description |
---|---|
bool |
OfferAudioCodecs
Contains a list of audio codecs to offer. For example: "PCMU", "PCMA", "G722", etc. The default setting is "PCMU".
Declaration
public List<string> OfferAudioCodecs { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
OfferMsrp
If true, then offer Message Session Rely Protocol (MSRP) media. The default setting is false.
Declaration
public bool OfferMsrp { get; set; }
Property Value
Type | Description |
---|---|
bool |
OfferRtt
If true then offer Real Time Text (RTT) media The default setting is false.
Declaration
public bool OfferRtt { get; set; }
Property Value
Type | Description |
---|---|
bool |
OfferVideo
If true, then offer video media. The default setting is false.
Declaration
public bool OfferVideo { get; set; }
Property Value
Type | Description |
---|---|
bool |
OfferVideoCodecs
Contains a list of video codecs to offer. For example: "H264", "VP8". The default setting is "H264".
Declaration
public List<string> OfferVideoCodecs { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
PortManager
MediaPortManager to use for allocation of media ports.
Declaration
public MediaPortManager PortManager { get; set; }
Property Value
Type | Description |
---|---|
MediaPortManager |
RtpEncryptionType
Specifies the type of media encryption to use for RTP type media (Audio, Video and RTT).
Declaration
public RtpEncryptionEnum RtpEncryptionType { get; set; }
Property Value
Type | Description |
---|---|
RtpEncryptionEnum |
UseTlsForMsrp
If true, the use TLS for MSRP media (MSRPS). The default setting is false.
Declaration
public bool UseTlsForMsrp { get; set; }
Property Value
Type | Description |
---|---|
bool |
UserName
User name to use for the session owner and MSRP URI in the media descriptions
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
string |