Git Product home page Git Product logo

Comments (8)

cresouls avatar cresouls commented on August 15, 2024 2

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.

vic13 avatar vic13 commented on August 15, 2024

I'm having the same issue. Did you manage to fix it?

from fusuma.

shakked avatar shakked commented on August 15, 2024

No I did not, ended up using default UIImagePickerController

from fusuma.

ytakzk avatar ytakzk commented on August 15, 2024

@shakked Done 👍

from fusuma.

artemsmikh avatar artemsmikh commented on August 15, 2024

Is there really no way other than changing code inside the library?

from fusuma.

shakked avatar shakked commented on August 15, 2024

@artemsmikh It looks like @ytakzk fixed the bug.

from fusuma.

artemsmikh avatar artemsmikh commented on August 15, 2024

@shakked I thought so but I can't find that fix anywhere.

from fusuma.

eddieespinal avatar eddieespinal commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.