Current implementation close and reopens the camera to change the configuration. This is done to make sure devices that do not support configuration change on the fly (e.g. ODG R7) is still able to change the configuration.
However, closing and reopening camera is slow (~second). For devices that support on-th-fly configuration change (e.g. nexus 6), it's better not to close and reopen the camera.
Current implementation close and reopens the camera to change the configuration. This is done to make sure devices that do not support configuration change on the fly (e.g. ODG R7) is still able to change the configuration.
However, closing and reopening camera is slow (~second). For devices that support on-th-fly configuration change (e.g. nexus 6), it's better not to close and reopen the camera.