Class SdpAnswerSettings
Class for passing the media settings to use when building an SDP object in response to an offered SDP
Inherited Members
Namespace: SipLib.Sdp
Assembly: SipLib.dll
Syntax
public class SdpAnswerSettings
Constructors
| Edit this page View SourceSdpAnswerSettings(List<string>, List<string>, string, string, MediaPortManager)
Constructor.
Declaration
public SdpAnswerSettings(List<string> AudioCodecs, List<string> VideoCodecs, string userName, string fingerprint, MediaPortManager portManager)
Parameters
Type | Name | Description |
---|---|---|
List<string> | AudioCodecs | List of supported audio codecs |
List<string> | VideoCodecs | List of supported video codecs |
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 SourceEnableAudio
If true, then answer with an audio media MediaDescription if audio media is offered. Else, reject the audio media.
Declaration
public bool EnableAudio { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableMsrp
If true, then answer with an MSRP media MediaDescription if MSRP media is offered. Else, reject the MSRP media.
Declaration
public bool EnableMsrp { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableRtt
If true, then answer with an RTT media MediaDescription if RTT media is offered. Else, reject the RTT media.
Declaration
public bool EnableRtt { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableVideo
If true, then answer with an video media MediaDescription if video media is offered. Else, reject the video media.
Declaration
public bool EnableVideo { get; set; }
Property Value
Type | Description |
---|---|
bool |
Fingerprint
Fingerprint of the self-signed X.509 certificate that that will be used for DTLS-SDES keying material negotiation
Declaration
public string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
PortManager
MediaPortManager to use for allocation of media ports.
Declaration
public MediaPortManager PortManager { get; set; }
Property Value
Type | Description |
---|---|
MediaPortManager |
SupportedAudioCodecs
Contains a list of supported audio codecs. For example: "PCMU", "PCMA", "G722"
Declaration
public List<string> SupportedAudioCodecs { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
SupportedVideoCodecs
Contains a list of supported video codecs. For example: "H264", "VP8"
Declaration
public List<string> SupportedVideoCodecs { get; set; }
Property Value
Type | Description |
---|---|
List<string> |
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 |