I require a C or C++ project that will compile into an SO file that is usable on an Android device. The library should allow me to open a USB camera given its name and receive a video feed from it. I will also need to make a simultaneous connection to a second connected USB camera (it's actually a single device for Android with two cameras).
1: Must use NDK-BUILD to build the source into an SO library
2: The output should create both armeabi and armeabi-v7a binaries
3: The SO should be able to open a USB camera connected to an Android device
4: The SO should not be limited to opening one camera at the same time
5: The SO should allow me to obtain video feed from more than one camera at the same time
6: I should be able to specify the resolution of the capture when opening the cameras
7: I should be able to use the library from a Mono 2 project using [DllImport] - I will write a Unity3D plugin that will consume the library