public bool Equals(CameraConfig config) { if (config.Width == this.Width && config.Height == this.Height && config.BitRate == this.BitRate) return true; return false; }
// On resolution change recreate direct3d device with new size public void UpdateResoultion(CameraConfig newResolution) { _resolution = newResolution; CreateD3Device(); }