Awalz / SwiftyCam

A Snapchat Inspired iOS Camera Framework written in Swift
BSD 2-Clause "Simplified" License
2.08k stars 327 forks source link

The sound in the video is very quiet #231

Open Adakhan opened 4 years ago

Adakhan commented 4 years ago

The sound in the captured video is very quiet. I made allowBackgroundAudio = true audioEnabled = true But the sound is still quiet.

Ludotrico commented 4 years ago

I have the same issue. In addition, the video when exported and then watched in the Photos app is muted but can be unmuted by tapping the unmute button in the Photos app.

Perhaps this is the fix.

Any suggestions? @Awalz @jonandersen

gwenfriedman commented 4 years ago

I am having a similar problem. I am trying to play audio while recording a video. While the video is recording the audio is very quiet. When the video is playing back the audio is a normal volume. Is there a fix to make the audio a normal volume while the video is recording?

Adakhan commented 4 years ago

I tried to set allowBackgroundAudio = false. Probably it fixed the problem.

M-I-N commented 4 years ago

I tried to set allowBackgroundAudio = false. Probably it fixed the problem.

This fixes the quiet sound.

@Ludotrico, @gwenfriedman perhaps you can try this.

The implementation of func setBackgroundAudioPreference() is the reason for this quiet sound.

iqbal92 commented 1 year ago

@Adakhan I tried to set allowBackgroundAudio = false then fixed audio issue, but my app not getting any caption (words of audio) without allowBackgroundAudio. when I set allowBackgroundAudio = true then video caption getting proper. can you help me.