Developer Documentation

OdinAudioDataReceivedEventPayload.samples16

public samples16: Uint8Array

The audio data received from the peer as 16-bit PCM samples ranging from -32768 to 32767 as a byte array. Use const samplesArray = new Int16Array(samples16.buffer) to get an actual array