Browse Source

Merge remote-tracking branch 'origin/master'

main v1.1.1
jiangdongguo 7 years ago
parent
commit
15d33ce804
  1. 4
      README.md

4
README.md

@ -24,7 +24,7 @@ Step 2. Add the dependency
``` ```
dependencies { dependencies {
compile 'com.github.jiangdongguo:AndroidUSBCamera:v1.0.3' compile 'com.github.jiangdongguo:AndroidUSBCamera:v1.1.0'
} }
``` ```
@ -128,7 +128,7 @@ if( !mUSBManager.isRecording()){
mUSBManager.startRecording(videoPath, new AbstractUVCCameraHandler.OnEncodeResultListener() { mUSBManager.startRecording(videoPath, new AbstractUVCCameraHandler.OnEncodeResultListener() {
@Override @Override
public void onEncodeResult(byte[] data, int offset, int length, long timestamp, int type) { public void onEncodeResult(byte[] data, int offset, int length, long timestamp, int type) {
// type=0为视频流,type=1为音频流              // type=0为音频流,type=1为视频流
}); });
} }
// 停止录制 // 停止录制

Loading…
Cancel
Save