Method SetHostUsbIpAddress
- Namespace
- Dgi_VisionarySolutionsSeries5Driver
- Assembly
- DGI.Framework.Transport.VisionarySolutions.Series5Driver.dll
SetHostUsbIpAddress(string)
Sets Decoder to connect its USB ports to an Encoder different from the Encoder sending video. Used for Independent Routing
public Task<bool> SetHostUsbIpAddress(string ipAddress)
Parameters
ipAddressstringEncoder IP Address. Use an empty string to disconnect link to encoder
Returns
Examples
To connect the USB from an encoder at address "192.168.0.147". Note that hostnames are not supported
var result = await vsDecoderDriver.SetHostUsbIpAddress("192.168.0.147")
To disconnect the USB from an encoder at address send a blank string
var result = await vsDecoderDriver.SetHostUsbIpAddress("")
Remarks
USB.ENABLED must be checked in the Web Configuration. Listen to VideoTimingChanged and StreamChanged Events for updated changes. Disconnecting USB seems to work when sending a valid address that cannot possibly be in the network, aka, a public IP address. Any address can be chosen, so this driver picked 1.1.1.1