Class RemotingConnect
Sample component to configure and manage a remote connection to a HoloLens v2 device.
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()