Class SDPMediaAnnouncement
Inheritance
System.Object
SDPMediaAnnouncement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: SIPSorcery.dll
public class SDPMediaAnnouncement
Constructors
|
Improve this Doc
View Source
Declaration
public SDPMediaAnnouncement()
|
Improve this Doc
View Source
Declaration
public SDPMediaAnnouncement(SDPConnectionInformation connection)
Parameters
|
Improve this Doc
View Source
Declaration
public SDPMediaAnnouncement(SDPMediaTypesEnum mediaType, SDPConnectionInformation connection, int port, SDPMessageMediaFormat messageMediaFormat)
Parameters
|
Improve this Doc
View Source
Declaration
public SDPMediaAnnouncement(SDPMediaTypesEnum mediaType, int port, List<SDPApplicationMediaFormat> appMediaFormats)
Parameters
|
Improve this Doc
View Source
Declaration
public SDPMediaAnnouncement(SDPMediaTypesEnum mediaType, int port, List<SDPAudioVideoMediaFormat> mediaFormats)
Parameters
|
Improve this Doc
View Source
Declaration
public SDPMediaAnnouncement(int port)
Parameters
Type |
Name |
Description |
System.Int32 |
port |
|
Fields
|
Improve this Doc
View Source
List of media formats for "application media announcements. Application media announcements have different
semantics to audio/video announcements. They can also use aribtrary strings as the format ID.
Declaration
public Dictionary<string, SDPApplicationMediaFormat> ApplicationMediaFormats
Field Value
|
Improve this Doc
View Source
Declaration
public List<string> BandwidthAttributes
Field Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
|
Improve this Doc
View Source
Declaration
public SDPConnectionInformation Connection
Field Value
|
Improve this Doc
View Source
Declaration
public const MediaStreamStatusEnum DEFAULT_STREAM_STATUS = MediaStreamStatusEnum.SendRecv
Field Value
|
Improve this Doc
View Source
Declaration
public string DtlsFingerprint
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public List<string> ExtraMediaAttributes
Field Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
|
Improve this Doc
View Source
a=extmap - Mapping for RTP header extensions
Declaration
public Dictionary<int, RTPHeaderExtension> HeaderExtensions
Field Value
|
Improve this Doc
View Source
Declaration
public List<string> IceCandidates
Field Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
|
Improve this Doc
View Source
Declaration
public bool IceEndOfCandidates
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public IceRolesEnum? IceRole
Field Value
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string m_CRLF = "\r\n"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public long MaxMessageSize
Field Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Declaration
public SDPMediaTypesEnum Media
Field Value
|
Improve this Doc
View Source
Declaration
public const string MEDIA_EXTENSION_MAP_ATTRIBUE_PREFIX = "a=extmap:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_ATTRIBUTE_PREFIX = "a=rtpmap:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_FEEDBACK_PREFIX = "a=rtcp-fb:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_MAX_MESSAGE_SIZE_ATTRIBUE_PREFIX = "a=max-message-size:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_PARAMETERS_ATTRIBUE_PREFIX = "a=fmtp:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_PATH_ACCEPT_TYPES_PREFIX = "a=accept-types:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_PATH_MSRP_PREFIX = "a=path:msrp:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_SCTP_MAP_ATTRIBUE_PREFIX = "a=sctpmap:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_SCTP_PORT_ATTRIBUE_PREFIX = "a=sctp-port:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_SSRC_ATTRIBUE_PREFIX = "a=ssrc:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string MEDIA_FORMAT_SSRC_GROUP_ATTRIBUE_PREFIX = "a=ssrc-group:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string MediaDescription
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
For AVP these will normally be a media payload type as defined in the RTP Audio/Video Profile.
Declaration
public Dictionary<int, SDPAudioVideoMediaFormat> MediaFormats
Field Value
|
Improve this Doc
View Source
If being used in a bundle this the ID for the announcement.
Example: a=mid:audio or a=mid:video.
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
For AVP these will normally be a media payload type as defined in the RTP Audio/Video Profile.
Declaration
public SDPMessageMediaFormat MessageMediaFormat
Field Value
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.Nullable<System.UInt16> |
|
|
Improve this Doc
View Source
Declaration
public List<SDPSecurityDescription> SecurityDescriptions
Field Value
|
Improve this Doc
View Source
If the RFC5576 is being used this is the list of "ssrc" attributes
supplied.
Declaration
public List<SDPSsrcAttribute> SsrcAttributes
Field Value
|
Improve this Doc
View Source
The "ssrc" attributes group ID as specified in RFC5576.
Declaration
public string SsrcGroupID
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public const string TIAS_BANDWIDTH_ATTRIBUE_PREFIX = "b=TIAS:"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Optional Transport Independent Application Specific Maximum (TIAS) bandwidth.
Declaration
public uint TIASBandwidth
Field Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
The stream status of this media announcement.
Declaration
public MediaStreamStatusEnum? MediaStreamStatus { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public void AddCryptoLine(string crypto)
Parameters
Type |
Name |
Description |
System.String |
crypto |
|
|
Improve this Doc
View Source
Declaration
public void AddExtra(string attribute)
Parameters
Type |
Name |
Description |
System.String |
attribute |
|
|
Improve this Doc
View Source
Declaration
public SDPSecurityDescription GetCryptoLine(SDPSecurityDescription.CryptoSuites cryptoSuite)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public string GetFormatListAttributesToString()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string GetFormatListToString()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Attempts to locate a media format corresponding to telephone events. If available its
format ID is returned.
Declaration
public int GetTelephoneEventFormatID()
Returns
Type |
Description |
System.Int32 |
If found the format ID for telephone events or -1 if not.
|
|
Improve this Doc
View Source
Declaration
public bool HasCryptoLine(SDPSecurityDescription.CryptoSuites cryptoSuite)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void ParseMediaFormats(string formatList)
Parameters
Type |
Name |
Description |
System.String |
formatList |
|
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Extension Methods