Show / Hide Table of Contents

    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.

    Inheritance
    Object
    Signaler
    NodeDssSignaler
    Inherited Members
    Signaler.PeerConnection
    Signaler.OnConnect
    Signaler.OnDisconnect
    Signaler.OnMessage
    Signaler.OnFailure
    Signaler._nativePeer
    Signaler.OnPeerInitialized(PeerConnection)
    Signaler.OnPeerUninitializing(PeerConnection)
    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
    Signaler.OnIceCandiateReadyToSend(String, Int32, String)

    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
    Signaler.OnSdpAnswerReadyToSend(String)

    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
    Signaler.OnSdpOfferReadyToSend(String)

    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
    Signaler.SendMessageAsync(Signaler.Message)

    Update()

    Unity Engine Update() hook

    Declaration
    protected override void Update()
    Overrides
    Signaler.Update()
    Remarks

    https://docs.unity3d.com/ScriptReference/MonoBehaviour.Update.html

    Back to top Generated by DocFX