Comments (3)
This issue can be fixed by setting
_session.automaticallyConfiguresApplicationAudioSession = false;
and by setting
AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayAndRecord, withOptions: [.DuckOthers, .DefaultToSpeaker])
Somewhere in your app, in AppDelegate for example.
That would be great if we could have the choice to set automaticallyConfiguresApplicationAudioSession, I'll use a fork of this project in the meantime.
from llsimplecamera.
I realized that if you comment out the line [self.session addInput:_audioDeviceInput];
the music from another app will continue to play in the background.
from llsimplecamera.
@kyco16 The above fix seems to disable the audio when recording the video. The background apps music keeps playing, but my videos don't have any audio. Did you have the same result, and did you find a fix? Thanks!
from llsimplecamera.
Related Issues (20)
- Default music player sound keep playing while recording video. HOT 3
- version 5.0.0 syntax.
- Shutter HOT 1
- Videos Are Always Mirrored
- Can't play recorded video
- adding basic filters are not working with LLSimple camera HOT 1
- Swift - startRecording not working
- iOS 10+ compatibility
- How to disable shutter sound while capture picture? HOT 1
- flash feture can not work
- To set the maximum video recording time and to get the location of image HOT 1
- Video is too large,video similar to wechat ,10s, 2M , and How to change it HOT 1
- how to change video quality in 2M HOT 1
- Bug during Call Iphone
- How to Remove the Camera Layer from LLSimpleCamera? HOT 1
- Need to throw error if there is no enough memory in device for video
- Captured Image Orientation
- How to flip camera during video recording
- 图片压缩 HOT 1
- [AVCaptureSession startRunning] should be called from background thread
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llsimplecamera.