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

Option to fetch mic data #7

Closed
marvpaul opened this issue Jan 6, 2023 · 2 comments
Closed

Option to fetch mic data #7

marvpaul opened this issue Jan 6, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@marvpaul
Copy link

marvpaul commented Jan 6, 2023

Feature request:
In my music visualization app I use NatDevice to access the microphone and process the audio data to finally visualize it (FFT …). I also use the same audio data to feed NatCorder, so it can record the microphone audio and include it in the video. Is the same possible using VideoKit (commit audio data from NatDevice)?

Your response on discord: “ Not yet; the current API doesn't expose a way to extract the audio data while recording. I recommend opening an issue for this; we can pretty easily expose an API to allow you to receive mic audio while it's being streamed.https://github.com/natmlx/VideoKit”

It would be great to have this feature - thanks!

@olokobayusuf
Copy link
Contributor

This is in the works 😄

@olokobayusuf olokobayusuf added the enhancement New feature or request label Jan 7, 2023
@olokobayusuf
Copy link
Contributor

olokobayusuf commented Jan 13, 2023

We've added the VideoKitAudioManager component in VideoKit 0.0.6, which exposes an OnSampleBuffer event that can be plugged into. Docs incoming.

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

No branches or pull requests

2 participants