Method SetHostIpAddress
- Namespace
- Dgi_VisionarySolutionsSeries4Driver
- Assembly
- DGI.Framework.Transport.VisionarySolutions.Series4Driver.dll
SetHostIpAddress(string)
Sets Decoder to display stream from an Encoder. Used for Linked Routing
public Task<bool> SetHostIpAddress(string ipAddress)
Parameters
ipAddressstringEncoder IP Address. Use an empty string to set blank the video according to VideoOutputWhenNoEncoder
Returns
- Task<bool>
True if command was accepted. False if it wasn't
Examples
To display feed encoded by an encoder at address "192.168.0.147". Note that hostnames are not supported
var result = await vsDecoderDriver.SetHostIpAddress("192.168.0.147")
To blank the video set the stream to an empty string. The video output mode will be set to VideoOutputWhenNoEncoder
var result = await vsDriver.SetHostIpAddress("")
Remarks
Listen to VideoTimingChanged and StreamChanged Events for updated changes