xiqi / react-native-live-audio-stream

Get live audio stream data for React Native (works for iOS and Android)
MIT License
86 stars 36 forks source link

Can the LiveAudioStream.init(options) take bufferSize as an input? #3

Closed soesujith closed 3 years ago

soesujith commented 4 years ago

Can the LiveAudioStream.init(options) take bufferSize as an input? Currently the buffer size i get after conversion by Buffer.from(data, 'base64') is 2048. I would like to get a size of 4096.

Is that possible? Thank you in advance

thomasbrueggemann commented 3 years ago

@sbsujith I had the same need and created a PR to allow just that: #4

xiqi commented 3 years ago

@thomasbrueggemann Thanks for the PR! And my apologies for forgetting about this issue for a long time!