SdpMediaDescription.TransportProtocol Property
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.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Property TransportProtocol As String
Get
Set
'Usage
Dim instance As SdpMediaDescription
Dim value As String
value = instance.TransportProtocol
instance.TransportProtocol = value
public string TransportProtocol { get; set; }
Property Value
Type: System.String
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when value is null. |
ArgumentException | Thrown when value is an empty string. |