Fix camera source plugin, add compatibility check