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
OnIceCandiateReadyToSend(String, Int32, String)
Callback fired when an ICE candidate message has been generated and is ready to be sent to the remote peer by the signaling object.
Declaration
protected override void OnIceCandiateReadyToSend(string candidate, int sdpMlineIndex, string sdpMid)
Parameters
Type | Name | Description |
---|---|---|
String | candidate | |
Int32 | sdpMlineIndex | |
String | sdpMid |
Overrides
OnSdpAnswerReadyToSend(String)
Callback fired when a local SDP answer has been generated and is ready to be sent to the remote peer by the signaling object.
Declaration
protected override void OnSdpAnswerReadyToSend(string answer)
Parameters
Type | Name | Description |
---|---|---|
String | answer |
Overrides
OnSdpOfferReadyToSend(String)
Callback fired when a local SDP offer has been generated and is ready to be sent to the remote peer by the signaling object.
Declaration
protected override void OnSdpOfferReadyToSend(string offer)
Parameters
Type | Name | Description |
---|---|---|
String | offer |
Overrides
SendMessageAsync(Signaler.Message)
Asynchronously send a signaling message to the remote peer.
Declaration
public override Task SendMessageAsync(Signaler.Message message)
Parameters
Type | Name | Description |
---|---|---|
Signaler.Message | message | The signaling message to send to the remote peer. |
Returns
Type | Description |
---|---|
Task | A Task object completed once the message has been sent, but not necessarily delivered. |
Overrides
Update()
Unity Engine Update() hook
Declaration
protected override void Update()