are there any KMP voice/audio recording libraries?...
# multiplatform
y
are there any KMP voice/audio recording libraries? We would like to use it atleast for the desktop .
j
I had to implement expect/actual for this functionality using native components.
y
Great. Can you please share.Do you have your library on GitHub?
j
My implementation is for android and ios, let me know if you are interested
y
Yes please, it will be very helpful!
j
There are many examples for android out there. What took me a bit more investigation was the iOS side. The code and some issue resolution is on this stack. https://stackoverflow.com/questions/78324557/kotlin-mutiplarform-returns-buildconverter-audioconverternew-returned-50-with
to start a session use:
Copy code
val session = AVAudioSession.sharedInstance()
Out of curiosity, what are you building?
y
Nothing yet, but thinking abt a simple recorder and speech to text utility
j
cool mate
feel free to reach out if anything comes up
372 Views