Class NodeDssSignaler
Simple signaler for debug and testing. This is based on https://github.com/bengreenier/node-dss and SHOULD NOT BE USED FOR PRODUCTION.
Inherited Members
Namespace: Microsoft.MixedReality.WebRTC.Unity
Assembly: cs.temp.dll.dll
Syntax
public class NodeDssSignaler : Signaler
Fields
AutoLogErrors
Automatically log all errors to the Unity console.
Declaration
public bool AutoLogErrors
Field Value
Type | Description |
---|---|
Boolean |
HttpServerAddress
The https://github.com/bengreenier/node-dss HTTP service address to connect to
Declaration
public string HttpServerAddress
Field Value
Type | Description |
---|---|
String |
LocalPeerId
Unique identifier of the local peer.
Declaration
public string LocalPeerId
Field Value
Type | Description |
---|---|
String |
PollTimeMs
The interval (in ms) that the server is polled at
Declaration
public float PollTimeMs
Field Value
Type | Description |
---|---|
Single |
RemotePeerId
Unique identifier of the remote peer.
Declaration
public string RemotePeerId
Field Value
Type | Description |
---|---|
String |
Methods
SendMessageAsync(IceCandidate)
Asynchronously send an ICE candidate to the remote peer.
Declaration
public override Task SendMessageAsync(IceCandidate candidate)
Parameters
Type | Name | Description |
---|---|---|
IceCandidate | candidate | The ICE candidate to send to the remote peer. |
Returns
Type | Description |
---|---|
Task | A |
Overrides
SendMessageAsync(SdpMessage)
Asynchronously send an SDP message to the remote peer.
Declaration
public override Task SendMessageAsync(SdpMessage message)
Parameters
Type | Name | Description |
---|---|---|
SdpMessage | message | The SDP message to send to the remote peer. |
Returns
Type | Description |
---|---|
Task | A |
Overrides
Update()
Unity Engine Update() hook
Declaration
protected override void Update()