Comments (8)
in FSVideoCameraView.swift , add the following code in functions initialize and flipbuttonpressed
for device in AVCaptureDevice.devicesWithMediaType(AVMediaTypeAudio) {
let device = device as? AVCaptureDevice
var audioInput = try! AVCaptureDeviceInput(device: device)
session.addInput(audioInput)
}
from fusuma.
I'm having the same issue. Did you manage to fix it?
from fusuma.
No I did not, ended up using default UIImagePickerController
from fusuma.
@shakked Done 👍
from fusuma.
Is there really no way other than changing code inside the library?
from fusuma.
@artemsmikh It looks like @ytakzk fixed the bug.
from fusuma.
@shakked I thought so but I can't find that fix anywhere.
from fusuma.
Can someone please put this fix in the library? I can do a Pull request if needed. I was able to fix it in Swift 4 using the following code changes:
for device in AVCaptureDevice.devices(for: AVMediaType.audio) {
let audioInput = try! AVCaptureDeviceInput(device: device)
session.addInput(audioInput)
}
I added this inside func initialize()
after line 96
I would love to have this added to the library so that I don't have to modify the files directly inside my project and then have issues in the future.
Thanks.
from fusuma.
Related Issues (20)
- Please update UI for iPhone X HOT 3
- Update failing tests
- Support For Swift 4.2 HOT 1
- Wrong crop height ratio according to available modes. HOT 6
- App crashing for iPad with iOS 12.1.1
- i can not select more than one image HOT 1
- not called
- Unable to use flashlight if camera starts with front camera position.
- selected image is not clearly indicated HOT 2
- fusumaMultipleImageSelected not getting called. HOT 3
- Memory leak issue
- Add NSMotionUsageDescription to plist or remove accelerometer
- Reload after auth given HOT 4
- for iOS 13, wrong image size HOT 2
- zoom in or zoom out image in crop view increase collection view height
- Library no work HOT 3
- Customize selected image icon
- Auto select first image HOT 1
- Unable to get path from phAsset
- FUSUMA: Multiple Images not loading in order
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 fusuma.