 			facing = "front"
 			facingLabel = "Front Camera"
 		}
-		
+
 		if device.isConnected == false || (hasAudio == false && hasVideo == false) {
 			continue
 		}
-		
+
 		NSLog("- device [uniqueID:'%@', localizedName:'%@', facing:%@, audio:%@, video:%@, connected:%@]",
 			String(device.uniqueID), String(device.localizedName), String(facing),
 			String(hasAudio), String(hasVideo), String(device.isConnected))
-		
+
 		if hasAudio == false {
 			// Add English facingLabel suffix if localizedName does not match for facing detection using label
 			let deviceLabel = device.localizedName.contains(facingLabel) ?
 					device.localizedName : device.localizedName + " (" + facingLabel + ")";
-			
+
 			let device = MediaDeviceInfo(
 				deviceId: device.uniqueID,
 				kind: "videoinput",
 				label: deviceLabel
 			)
-				
+
 			// Put Front devices at beginning of the videoDevicesArr
 			if (facing == "front") {
 				// Simple Swift 4 array unshift

class PluginEnumerateDevices {
	class func call(_ callback: (_ data: NSDictionary) -> Void) {
		NSLog("PluginEnumerateDevices#call()")
		
		let audioDevices: [MediaDeviceInfo] = getAllAudioDevices()
		let videoDevices: [MediaDeviceInfo] = getAllVideoDevices()
		let allDevices = videoDevices + audioDevices;
		
		let json: NSMutableDictionary = [
			"devices": NSMutableArray()
		]
		
		// Casting to NSMutableDictionary
		for device: MediaDeviceInfo in allDevices {
			(json["devices"] as! NSMutableArray).add([

			}
		}
	}

	return videoDevicesArr
}

