Class SessionDescription
An SDP session description, as offers and answers carry it: the session's lines and attributes, then the media sections.
Inheritance
SessionDescription
Namespace: Uniform.Matrix.WebRtc.Sdp
Assembly: Uniform.Matrix.WebRtc.dll
public sealed class SessionDescription
Properties
|
Edit this page
View Source
The session-level attributes, without a=.
Declaration
public List<string> Attributes { get; }
Property Value
|
Edit this page
View Source
The session-level lines other than attributes, in order, e.g. v=0.
Declaration
public List<string> Lines { get; }
Property Value
|
Edit this page
View Source
Declaration
public List<MediaDescription> Media { get; }
Property Value
Methods
|
Edit this page
View Source
Return the value of the first session attribute named name, or null.
Declaration
public string? Get(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
|
Edit this page
View Source
Return the value of an attribute of a media section, or of the session when the section has none, as ICE and DTLS attributes may be either.
Declaration
public string? Get(MediaDescription media, string name)
Parameters
Returns
|
Edit this page
View Source
Parse SDP text, with any line endings.
Declaration
public static SessionDescription Parse(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
|
Edit this page
View Source
Return the SDP text, with CRLF line endings.
Declaration
public override string ToString()
Returns
Overrides