BradLarson / GPUImage

An open source iOS framework for GPU-based image and video processing
http://www.sunsetlakesoftware.com/2012/02/12/introducing-gpuimage-framework
BSD 3-Clause "New" or "Revised" License
20.2k stars 4.61k forks source link

No audio/sound recording after pause and resume #2599

Open oney opened 5 years ago

oney commented 5 years ago
class MyViewController: CameraBaseViewController {
  var writer: GPUImageMovieWriter
  override func pauseRecording() {
    writer.isPaused = true
  }

  override func resumeRecording() {
    writer.isPaused = false
  }
}

Recording video and audio is fine if no pause. However, if I pause and then resume, the audio disappears, but the video is fine. Can someone help? Thanks!