Closed ndbroadbent closed 9 years ago
Are you sure it's not needed? I thought it was necessary to not affect the rest of the system's audio (e.g. currently playing music).
I'm not sure, but I'm already setting it to AVAudioSessionCategoryAmbient
in my app. It seems that setting it again screws up my AVCaptureSession
, for some reason, and I can no longer record videos.
But also, we aren't actually changing the volume here, since it's being set back to the previous value?
Anyway, that's ok, my case is probably a pretty obscure bug, so I'm happy to just use a fork for now. Maybe we can wait until either Apple fixes it, or someone else reports the same issue.
This doesn't seem to be necessary, and can screw up
AVCaptureSessions
- specifically, subsequent calls toAVCaptureMovieFileOutput#startRecordingToOutputFileURL
Fixes #7