Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Represents a media section of the SDP.
The SdpMediaDescription type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
SdpMediaDescription() | Initializes a new instance of the class. |
![]() |
SdpMediaDescription(String) | Initializes a new instance of the class. |
![]() |
SdpMediaDescription(SdpMediaDescription) | Constructs an copy of the supplied media section. This constructor is private, but the Copy() function may be used to create a copy. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Attributes | Gets the list of "a" lines from the SDP. |
![]() |
Bandwidth | Gets the details of the "b" line from the SDP. |
![]() |
Connection | Gets the details of the "c" line from the SDP. |
![]() |
EncryptionKey | Gets the details of the "k" line from the SDP. |
![]() |
Formats | Gets one or more tokens found at the end of the "m" line. When using RTP for a transport, these tokens usually represent a list of payload types. |
![]() |
MediaName | Gets the type of media represented by the "m" line; for example, "audio" and "video." |
![]() |
Port | Gets the port where the media should be directed. |
![]() |
PortCount | Gets the number of ports in series starting with the value returned by the Port property. Default value if nothing is specified is 1. |
![]() |
TransportProtocol | Gets the transport protocol specified in the "m" line. For example, "RTP/AVP". The default value "RTP/AVP" is used when serializing if nothing else is specified. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Copy | Creates a new instance of SdpMediaDescription with the same values of the current instance. This function performs a deep copy by copying member fields as well. |
![]() |
Equals | (inherited from Object) |
![]() |
Finalize | (inherited from Object) |
![]() |
GetHashCode | (inherited from Object) |
![]() |
GetType | (inherited from Object) |
![]() |
MemberwiseClone | (inherited from Object) |
![]() |
ParseAttribute | Called whenever an attribute should be processed by the parser. A derived class can overload this function and provide customized parsing. The supplied default function will simply create an instance of SdpAttribute and append it to the list of SdpAttributes. Should a derived class still want the attribute appended, it should call the base implementation. |
![]() |
SerializeAttributes | Serializes attributes ("a" lines) onto the supplied SdpWriter. |
![]() |
SerializeFormats | Serializes supported formats onto the supplied StringBuilder. |
![]() |
ToString | (inherited from Object) |
![]() |
Write | Appends the global section of the SDP to the provided string builder. |
Top
.gif)
.gif)
.gif)