informaweb
DIAdiscord.js - Imagine an app
•Created by informaweb on 7/15/2023 in #djs-voice
audio file that does not play from the beginning, skips and stops after a few seconds.
i have add sodium library
i have test flac file. It's differnt. Flac file is playing directly at start of song but it's stops after 10 seconds
9 replies
DIAdiscord.js - Imagine an app
•Created by informaweb on 7/15/2023 in #djs-voice
audio file that does not play from the beginning, skips and stops after a few seconds.
yes
--------------------------------------------------
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: 4.0.4
- sodium: not found
- libsodium-wrappers: 0.7.11
- tweetnacl: 1.0.3
FFmpeg
- version: 5.0.1-static https://johnvansickle.com/ffmpeg/
- libopus: yes
9 replies
DIAdiscord.js - Imagine an app
•Created by informaweb on 7/15/2023 in #djs-voice
audio file that does not play from the beginning, skips and stops after a few seconds.
all mp3 maybe flac format too, i does testing that
9 replies
DIAdiscord.js - Imagine an app
•Created by informaweb on 7/15/2023 in #djs-voice
audio file that does not play from the beginning, skips and stops after a few seconds.
yes, it plays the song . the file is encoded in mp3
i have also testing without FFmpeg,. In put file directly in resource constant but it same problem. i have the sound, but don't start to begin of file and jumps and stop before the end of music
9 replies
DIAdiscord.js - Imagine an app
•Created by informaweb on 7/15/2023 in #djs-voice
audio file that does not play from the beginning, skips and stops after a few seconds.
I've changed
const resource = createAudioResource(
streamingUrl, {
inputType: StreamType.OggOpus,
silencePaddingFrames: 0,
metadata: {
title: item.Name,
url: streamingUrl,
artwork: item.ImageTags.Primary,
},
inlineVolume: true,
});
but nothing change,
I always have the music that doesn't start at the beginning of the song and stops before the end and I always have the jumps
9 replies
DIAdiscord.js - Imagine an app
•Created by informaweb on 7/15/2023 in #djs-voice
audio file that does not play from the beginning, skips and stops after a few seconds.
9 replies