private PiBroker(ICameraClient cameraClient, IBrowserClient browserClients) { Camera = cameraClient; Browsers = browserClients; ServerSettings = new ServerSettings {JpegCompression= 90}; PiSettings = new PiSettings {TransmitImagePeriod = TimeSpan.FromMilliseconds(200)}; }
public void UpdatePi(PiSettings settings) { PiSettings = settings; Camera.UpdateSettings(PiSettings); }
public void UpdateSettings(PiSettings settings) { _clients.All.updateSettings(settings); }