AForge.Robotics.Surveyor.SRV1Camera.SetQuality C# (CSharp) Method

SetQuality() public method

Set video quality.

The method sets video quality, which is specified in [1, 8] range - 1 is the highest quality level, 8 is the lowest quality level.

Setting higher quality level and resolution may increase delays for other requests processed by SRV1 class. So if robot is used not only for video, but also for controlling servos/motors, and higher response level is required, then do not set very high quality and resolution.

Invalid quality level was specified.
public SetQuality ( int quality ) : void
quality int Video quality to set, [1, 8].
return void
        public void SetQuality( int quality )
        {
            communicator.SetQuality( quality );
        }