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. |
mediaType | The media type. See Media |
System. |
transportPort | The transport port. |
System. |
transportProtocol | The transport protocol. |
System. |
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. |
SctpDtlsTransportProtocol
Gets the protocol keyword for the DTLS over SCTP data profile.
Declaration
public static string SctpDtlsTransportProtocol { get; }
Property Value
Type | Description |
---|---|
System. |
SctpTransportProtocol
Gets the protocol keyword for the SCTP data profile.
Declaration
public static string SctpTransportProtocol { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
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. |
WebRtcDatachannelAssociationUsage
Gets the Association Usage name registry for WebRTC Datachannel.
Declaration
public static string WebRtcDatachannelAssociationUsage { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
protocol | Protocol keyword. |
Returns
Type | Description |
---|---|
System. |
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. |
protocol | Protocol keyword. |
Returns
Type | Description |
---|---|
System. |
Value indicating whther a given protocol supports encryption. |