add switch option of capture device.