void ProbeEncoder() { videoEncoder = new VideoEncoder(this); videoEncoder.HandleEncoderProbed += HandleEncoderProbed; videoEncoder.GetSupportedProfiles(); }