Class RTCSessionDescriptionInit
Initialiser for the RTCSessionDescription instance.
Inheritance
System.Object
RTCSessionDescriptionInit
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class RTCSessionDescriptionInit
Remarks
As specified in https://www.w3.org/TR/webrtc/#rtcsessiondescription-class.
Properties
| Improve this Doc View Sourcesdp
A string representation of the Session Description.
Declaration
public string sdp { get; set; }
Property Value
Type | Description |
---|---|
System.String |
type
The type of the Session Description.
Declaration
public RTCSdpType type { get; set; }
Property Value
Type | Description |
---|---|
RTCSdpType |
Methods
| Improve this Doc View SourcetoJSON()
Declaration
public string toJSON()
Returns
Type | Description |
---|---|
System.String |
TryParse(String, out RTCSessionDescriptionInit)
Declaration
public static bool TryParse(string json, out RTCSessionDescriptionInit init)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | |
RTCSessionDescriptionInit | init |
Returns
Type | Description |
---|---|
System.Boolean |