Class Media
An SDP media description with a transport protocol of "RTP/AVP" or "RTP/SAVP".
Inherited Members
Namespace: FM.LiveSwitch.Sdp.Sctp
Assembly: FM.LiveSwitch.dll
Syntax
public class Media : Media
  Constructors
Media(String, Int32, String, String)
Initializes a new instance of the Media class.
Declaration
public Media(string mediaType, int transportPort, string transportProtocol, string associationUsage)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | mediaType | The media type. See MediaType for possible values.  | 
      
| System.Int32 | transportPort | The transport port.  | 
      
| System.String | transportProtocol | The transport protocol.  | 
      
| System.String | associationUsage | The association usage.  | 
      
Properties
DtlsSctpTransportProtocol
Gets the protocol keyword for the SCTP over DTLS data profile.
Declaration
public static string DtlsSctpTransportProtocol { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SctpDtlsTransportProtocol
Gets the protocol keyword for the DTLS over SCTP data profile.
Declaration
public static string SctpDtlsTransportProtocol { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SctpTransportProtocol
Gets the protocol keyword for the SCTP data profile.
Declaration
public static string SctpTransportProtocol { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
TcpDtlsSctpTransportProtocol
Gets the protocol keyword for the SCTP over DTLS over TCP data profile.
Declaration
public static string TcpDtlsSctpTransportProtocol { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
UdpDtlsSctpTransportProtocol
Gets the protocol keyword for the SCTP over DTLS over UDP data profile.
Declaration
public static string UdpDtlsSctpTransportProtocol { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
WebRtcDatachannelAssociationUsage
Gets the Association Usage name registry for WebRTC Datachannel.
Declaration
public static string WebRtcDatachannelAssociationUsage { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
IsSupported(String)
Returns a value indicating whther a given protocol is supported.
Declaration
public static bool IsSupported(string protocol)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | protocol | Protocol keyword.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | Value indicating whther a given protocol is supported.  | 
      
SupportsEncryption(String)
Returns a value indicating whther a given protocol supports encryption.
Declaration
public static bool SupportsEncryption(string protocol)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | protocol | Protocol keyword.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | Value indicating whther a given protocol supports encryption.  |