SIP .NET Class Library
SIP .NET Class Library
SIP .NET
Independentsoft.Sip.Sdp
Media Class
Media Constructor
Media Properties
Media Methods

# Media Class

Represents media description as a part of SessionDescription.
Inheritance Hierarchy
System
Object
Independentsoft.Sip.Sdp
Media

Namespace: Independentsoft.Sip.Sdp
Assembly: Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
C#
VB
Copy

    public class Media

    Public Class Media

The Media type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| Media | Initializes a new instance of the Media class.
| Media(String, Int32, String) | Initializes a new instance of the Media class with the specified media type, port and protocol type.
| Media(String, Int32, String, String) | Initializes a new instance of the Media class with the specified media type, port, protocol type and name.

Top
Properties

| Name | Description
--- | --- | ---
| Attributes | Gets collection of media attributes.
| Bandwidths | Gets collection of Bandwidth.
| Connection | Gets or sets the media connection data.
| EncryptionKey | Gets encryption key.
| MediaFormats | Gets collection of media formats.
| Name | Gets ot sets name.
| NumberOfPorts | Gets or sets number of ports.
| Port | Gets or sets transport port to which the media stream will be sent.
| TransportProtocol | Gets or sets transport protocol. Most used value is "RTP/AVP".
| Type | Gets or sets media type. Values can be "audio", "video", "application", ...

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetHashCode | (Inherited from Object.)
| GetType | (Inherited from Object.)
| MemberwiseClone | (Inherited from Object.)
| Parse | Converts the specified string representation of a media string to its Media equivalent.
| ToString | Converts the value of this instance to its equivalent string representation. (Overrides Object ToString .)

Top
See Also

#### Reference

Independentsoft.Sip.Sdp Namespace

Copyright 2023 Independentsoft

Send comments on this topic to support@independentsoft.de