shepeliev / webrtc-kmp

WebRTC Kotlin Multiplatform SDK
Apache License 2.0
173 stars 36 forks source link

Reciveing audio samples #104

Open kfirgedal opened 6 months ago

kfirgedal commented 6 months ago

Firstly, I want to extend my gratitude for your excellent work on the webrtc-kmp library – it's been instrumental in my project's development.

I've encountered a requirement in my application where I need to capture both audio and video samples on the receiving end for further processing. While I've managed to successfully obtain video samples using the RemoteVideoStreamTrack's onFrame method, I'm currently facing a hurdle in capturing audio samples.

Could you kindly provide guidance or assistance on how to capture audio samples in a similar manner within the webrtc-kmp library? Any pointers or insights you could offer would be greatly appreciated.

Thank you very much for your time and support.