Fix issue 1) not recognizes some usb device, 2) reconnect when ffmpeg encoder error
[rtmpclient.git] / app / src / main / jni / libuvc-0.0.6 / README.md
1 `libuvc` is a cross-platform library for USB video devices, built atop `libusb`.
2 It enables fine-grained control over USB video devices exporting the standard USB Video Class
3 (UVC) interface, enabling developers to write drivers for previously unsupported devices,
4 or just access UVC devices in a generic fashion.
5
6 ## Getting and Building libuvc
7
8 Prerequisites: You will need `libusb` and [CMake](http://www.cmake.org/) installed.
9
10 To build, you can just run these shell commands:
11
12     git clone https://github.com/ktossell/libuvc
13     cd libuvc
14     mkdir build
15     cd build
16     cmake ..
17     make && sudo make install
18
19 and you're set! If you want to change the build configuration, you can edit `CMakeCache.txt`
20 in the build directory, or use a CMake GUI to make the desired changes.
21
22 ## Developing with libuvc
23
24 The documentation for `libuvc` can currently be found at https://int80k.com/libuvc/doc/.
25
26 Happy hacking!