docs.unity3d.com
    Show / Hide Table of Contents

    Class RemotingConnect

    Sample component to configure and manage a remote connection to a HoloLens v2 device.

    Inheritance
    Object
    RemotingConnect
    Namespace: Global Namespace
    Syntax
    public class RemotingConnect : MonoBehaviour

    Fields

    connectionRetryCount

    The number of connection retries we will attempt.

    Declaration
    public int connectionRetryCount
    Field Value
    Type Description
    Int32

    enableAudio

    Enabled audio to/from the connected device. This is especially important for user voice input.

    Declaration
    public bool enableAudio
    Field Value
    Type Description
    Boolean

    enableVideo

    Enable the streaming of video to/from device.

    Declaration
    public bool enableVideo
    Field Value
    Type Description
    Boolean

    machineName

    The name of the HoloLensV2 device to connect to.

    Declaration
    public string machineName
    Field Value
    Type Description
    String

    maxBitRate

    Maximum data rate you want to use for transmission.

    Declaration
    public int maxBitRate
    Field Value
    Type Description
    Int32

    Methods

    Connect()

    Connect to the remote device.

    Declaration
    public void Connect()

    Disconnect()

    Disconnect from the remove device.

    Declaration
    public void Disconnect()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023