Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio issue while screen recording #9

Open
subaAnand opened this issue Mar 16, 2021 · 3 comments
Open

Audio issue while screen recording #9

subaAnand opened this issue Mar 16, 2021 · 3 comments

Comments

@subaAnand
Copy link

tried to record screen with audio....
in this am try to access bufferType both audioapp and audiomic.
but am not able to record both buffertype.
can you give me solution for this?

@subaAnand
Copy link
Author

@giridharvc7 can you please support to access both buffer type .
if (bufferType == .audioMic || bufferType == .audioApp) {
}

@subaAnand
Copy link
Author

let audioOutputSettings: [String : Any] = [
AVNumberOfChannelsKey: 6,
AVFormatIDKey: kAudioFormatMPEG4AAC_HE,
AVSampleRateKey: 44100,
AVChannelLayoutKey: NSData(bytes: &channelLayout, length: MemoryLayout.size(ofValue: channelLayout)),
]

            my audio Output structure .

@fukemy
Copy link

fukemy commented Oct 7, 2021

change sample rate to 48000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants