Jazea / Onvif.Core

A lightweight ONVIF Discovery and Client library.
MIT License
71 stars 26 forks source link

How to specify an alternate port for Onvif Connection #11

Closed Videstra closed 4 months ago

Videstra commented 1 year ago

The CreatePTZClientAsync and CreateMediaClientAsync instantiations accept an IP address, Username and Password. My implementation also requires the ability to specify an alternate port (other than 80). How is that done in CreateMediaClientAsync and CreatePTZClientAsync?

differentrain commented 4 months ago
var foo = await OnvifClientFactory.CreateDeviceClientAsync("192.168.1.2:8003", "username", "password");