Click or drag to resize
SdpMessage Class
SDPMessage is responsible for parsing or compiling all Fields contained in a SDP Message.
Inheritance Hierarchy
SystemObject
  StreamCoders.SdpSdpMessage

Namespace: StreamCoders.Sdp
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class SdpMessage : IMessageAppendix

The SdpMessage type exposes the following members.

Constructors
  NameDescription
Public methodSdpMessage
Constructor.
Top
Properties
  NameDescription
Public propertyFields
Is a list which contains all SDP Message Fields (BaseFields) in a SDP Message.
Top
Methods
  NameDescription
Public methodStatic memberCreate(String)
Creates an SdpMessage object given a string containing an SDP message.
Public methodStatic memberCreate(Boolean, Boolean)
Creates a generic SDPMessage containing version, origin, connection, time, control, range and optional audio/video fields.
Public methodStatic memberCreate(IEnumerableSdpMedia, String, Double)
Creates an SDPMessage from pre-created SDPMedia objects.
Public methodDeleteMedia
Removes an SDPMedia object.
Public methodFindAttribute
Attempts to find an SDP attribute with a particular key name (e.g. "a=control" where "control" is the attribute key name of the control key/value pair).
Public methodFindField
Attempts to find one or more Field types in an SDP. (e.g. FindField(FieldTypes.Attribute) will return all field starting with "a=" in an SDP).
Public methodFindFirstField
Attempts to find first occurance of a field.
Public methodFindMedia
Gets an SDPMedia object that has media types such as "audio" or "video" Example: SDPMedia videoMedia = FindMedia("video");
Public methodParse
Parses.
Public methodToString
Convert this object into a string representation.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
Remarks
This class also contains helper functions, such as Create, Find to make working with SDP easier.
See Also