Unable to hear and bots can't hear me

I have this route endpoint in my app nextJS : // route.ts
import { NextRequest } from ‘next/server’;
import { RealtimeClient } from ‘@openai/realtime-api-beta’;

let client: RealtimeClient | null = null;

async function ensureConnection() {
if (!client) {
if (!process.env.OPENAI_API_KEY) throw new Error(‘OpenAI API key missing’);

client = new RealtimeClient({
  apiKey: process.env.OPENAI_API_KEY,
  model: 'gpt-4o-realtime-preview-2024-10-01',
  instructions: `Vous êtes Superia, l'assistant d'IA générative créé par La Super Agence`,
  voice: {
    enable: true,
    audioResponse: true
  }
});

await client.connect();

client.on('conversation.item.completed', ({ item }) => {
  console.log('Received response:', item);
});

}
return client;
}

export async function POST(request: NextRequest) {
try {
const activeClient = await ensureConnection();
const blob = await request.blob();
const buffer = Buffer.from(await blob.arrayBuffer());
const int16Array = new Int16Array(buffer.buffer, buffer.byteOffset, buffer.length / 2);

await activeClient.appendInputAudio(int16Array);
const response = await activeClient.createResponse();

// Check if we have audio response
if (response?.formatted?.audio) {
  return new Response(JSON.stringify({
    response: response.formatted.transcript,
    audio: Array.from(response.formatted.audio)
  }), {
    headers: { 'Content-Type': 'application/json' }
  });
}

return new Response(JSON.stringify({ 
  response: response?.formatted?.transcript
}), {
  headers: { 'Content-Type': 'application/json' }
});

} catch (error) {
console.error(‘Error:’, error);
return new Response(JSON.stringify({ error: String(error) }), {
status: 500,
headers: { ‘Content-Type’: ‘application/json’ }
});
}
}

The thing is I have no error and I receive in my logs : POST /api/robots/audio 200 in 20ms
Received response: {
id: ‘item_AZyK2bBw66GcjgnHyLNc4’,
object: ‘realtime.item’,
type: ‘message’,
status: ‘completed’,
role: ‘user’,
content: [ { type: ‘input_audio’, transcript: null } ],
formatted: {
audio: Int16Array(4261) [
-22973, 897, -32516, -31749, 4604, 3327, 3286, 20099,
-23452, -10372, -21697, -22570, 14021, -10374, 5515, -15864,
-17182, 21480, -30253, -3734, -13523, 21993, 11865, 2597,
28650, 3890, 11272, -2524, -19783, -3275, 11769, -12230,
-11599, -4476, -191, -9183, 25884, 26132, 14342, 15938,
8911, -16215, 25654, 17836, -442, 30574, 13266, -7746,
-1922, 19180, -22484, 5572, -22650, -1939, -12536, -23815,
-30249, 29774, -6301, -16296, -6261, 2546, 6935, 19645,
-2445, -26690, -29849, 7646, -31436, 21902, -4184, 17064,
4165, 9122, -19377, -6648, -462, 2430, -12823, 24884,
-8302, -30098, 1508, -18287, 20439, -16199, -22410, -30540,
-24772, -32353, 20025, 15169, 1677, -1924, 18251, -26906,
-5273, 11949, 7718, 21599,
… 4161 more items
],
text: ‘’,
transcript: ‘’
}
}
But I can’t hear the bots and it can’t hear me, if anyone have ideas.

Thank’s for your support