Class IceServer
A STUN or TURN server, as Matrix's /voip/turnServer lists them.
Implements
Inherited Members
Namespace: Uniform.Matrix.WebRtc.Ice
Assembly: Uniform.Matrix.WebRtc.dll
Syntax
public sealed record IceServer : IEquatable<IceServer>
Constructors
| Edit this page View SourceIceServer(string, string?, string?)
A STUN or TURN server, as Matrix's /voip/turnServer lists them.
Declaration
public IceServer(string Uri, string? Username = null, string? Password = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Uri | URI such as |
| string | Username | TURN username. |
| string | Password | TURN password. |
Properties
| Edit this page View SourcePassword
TURN password.
Declaration
public string? Password { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Uri
URI such as turn:turn.example.org:3478?transport=udp or stun:stun.example.org; only UDP is used.
Declaration
public string Uri { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Username
TURN username.
Declaration
public string? Username { get; init; }
Property Value
| Type | Description |
|---|---|
| string |