This can be done for example to allow utility app to control a flashlight feature while not preventing other apps to access the same underlying camera device.
Value (DWORD)
Explanation
0 or AllowTorchControlSharing value not existing
TorchControl will not be allowed from shared mode MediaCapture instance
1
TorchControl will be allowed from shared mode MediaCapture instance
AllowTorchControlSharing registry value location:
OEMs should create a new registry value AllowTorchControlSharing (DWORD) and set it to 1 to allow shared mode control.
TorchControl does not have an event mechanism to notify state changes thus by controlling the torch from multiple applications may cause the torch being in different state than one application thinks if the state was changed by another application.
The KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING is a property payload structure for video processing settings related to white balance, exposure mode, and focus mode.
KSPROPERTY_CAMERACONTROL_EXTENDED_FRAMERATE_THROTTLE is a dynamic control that reduces the frame rate of the video by a scale factor of the original frame rate.