Browse Source

优化一下

main 2.2.2
jiangdongguo 7 years ago
parent
commit
a8537c2929
  1. 10
      app/.gitignore
  2. 2
      libusbcamera/src/main/java/com/serenegiant/usb/common/AbstractUVCCameraHandler.java

10
app/.gitignore

@ -1 +1,11 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.idea
.DS_Store
/build
/captures
.externalNativeBuild
.tags*

2
libusbcamera/src/main/java/com/serenegiant/usb/common/AbstractUVCCameraHandler.java

@ -676,7 +676,7 @@ public abstract class AbstractUVCCameraHandler extends Handler {
// 启动视频编码线程
startVideoRecord();
// 启动音频编码线程
if (!params.isVoiceClose()) {
if (params != null && !params.isVoiceClose()) {
startAudioRecord();
}
callOnStartRecording();

Loading…
Cancel
Save