Copies an Int16Array (an inbound LiveKit frame's data) to a standalone little-endian PCM ArrayBuffer for the bridge. Copied (not aliased) so a recycled SDK buffer can't mutate bytes the model is still reading.
Int16Array
data
ArrayBuffer
Copies an
Int16Array(an inbound LiveKit frame'sdata) to a standalone little-endian PCMArrayBufferfor the bridge. Copied (not aliased) so a recycled SDK buffer can't mutate bytes the model is still reading.