Audio non playing on Linux

i've an issue deploying a bot on a linux machine. i've tried with docker and without but same problem
on my windows machine. where i've develped the bot, the audio plays fine
Discord.js version discord.js@14.12.1
Node Version v20.5.0
const channel = interaction.client.channels.cache.get(channelId);
connection = joinVoiceChannel({
    channelId: channelId,
    guildId: guildId,
    adapterCreator: channel.guild.voiceAdapterCreator,
});

const player = createAudioPlayer();

const subscription = connection.subscribe(player);
let resource = createAudioResource("@../../assets/toctoc.mp3");
player.play(resource);

voice deps
--------------------------------------------------
Core Dependencies
- @discordjs/voice: 0.16.0
- prism-media: 1.3.5

Opus Libraries
- @discordjs/opus: 0.9.0
- opusscript: 0.0.8

Encryption Libraries
- sodium-native: not found
- sodium: 3.0.2
- libsodium-wrappers: not found
- tweetnacl: not found

FFmpeg
- version: 5.0.1-static https://johnvansickle.com/ffmpeg/ 
- libopus: yes
--------------------------------------------------

No error on console
Was this page helpful?