livekit / client-sdk-swift

LiveKit Swift Client SDK. Easily build live audio or video experiences into your mobile app, game or website.
https://livekit.io
Apache License 2.0
173 stars 84 forks source link

Variable sampleRate for `toAVAudioPCMBuffer()` #373

Closed hiroshihorie closed 1 month ago

hiroshihorie commented 1 month ago

Dynamically compute sampleRate instead of hardcoding.

hiroshihorie commented 1 month ago

A bit worried if it's correct for more than 1 ch (stereo etc.) But once stereo is implemented the whole SDK will need to be throughly checked.