fix: convert Uint8Array to Buffer in _bufferToFloat32
LiveKit SDK returns audio data as Uint8Array/ArrayBuffer, not Node.js Buffer. Added Buffer.from() conversion before readInt16LE operations. Fixes: TypeError: buffer.readInt16LE is not a function Permet à l'audio reçu des clients d'être converti en Float32 pour lecture.
This commit is contained in:
+37975
-59
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user