MixedReality-WebRTC MixedReality-WebRTC
Search Results for

    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._nativePeer
    Signaler._mainThreadWorkQueue
    Signaler.OnPeerInitialized()
    Signaler.OnPeerUninitializing()
    Signaler.OnEnable()
    Signaler.OnDisable()
    Signaler.OnIceCandidateReadyToSend(IceCandidate)
    Signaler.OnSdpOfferReadyToSend(SdpMessage)
    Signaler.OnSdpAnswerReadyToSend(SdpMessage)
    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 object completed once the message has been sent, but not necessarily delivered.

    Overrides
    Signaler.SendMessageAsync(IceCandidate)

    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 object completed once the message has been sent, but not necessarily delivered.

    Overrides
    Signaler.SendMessageAsync(SdpMessage)

    Update()

    Unity Engine Update() hook

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

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

    In This Article
    Back to top Generated by DocFX