When I started playing music with my player, an error occur.

This is error:
AudioPlayerError: Did not find the EBML tag at the start of the stream
at WebmDemuxer._readTag (/home/fyphen/bot/node_modules/prism-media/src/core/WebmBase.js:113:18)
at WebmDemuxer._transform (/home/fyphen/bot/node_modules/prism-media/src/core/WebmBase.js:47:23)
at Transform._write (node:internal/streams/transform:175:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at PassThrough.ondata (node:internal/streams/readable:766:22)
at PassThrough.emit (node:events:525:35)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9) {
resource: AudioResource {
playStream: WebmDemuxer {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
_remainder: null,
_length: 16384,
_count: 0,
_skipUntil: null,
_track: null,
_incompleteTrack: {},
_ebmlFound: false,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
},
edges: [ [Object] ],
metadata: {
title: 'Avicii - The Nights',
artist: 'AviciiOfficialVEVO',
length: '191',
channel: [TextChannel]
},
volume: undefined,
encoder: undefined,
audioPlayer: AudioPlayer {
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: 100,
_state: [Object],
subscribers: [Array],
behaviors: [Object],
debug: [Function (anonymous)],
[Symbol(kCapture)]: false
},
playbackDuration: 0,
started: false,
silencePaddingFrames: 5,
silenceRemaining: -1
}
}
AudioPlayerError: Did not find the EBML tag at the start of the stream
at WebmDemuxer._readTag (/home/fyphen/bot/node_modules/prism-media/src/core/WebmBase.js:113:18)
at WebmDemuxer._transform (/home/fyphen/bot/node_modules/prism-media/src/core/WebmBase.js:47:23)
at Transform._write (node:internal/streams/transform:175:8)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Writable.write (node:internal/streams/writable:337:10)
at PassThrough.ondata (node:internal/streams/readable:766:22)
at PassThrough.emit (node:events:525:35)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9) {
resource: AudioResource {
playStream: WebmDemuxer {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: true,
_remainder: null,
_length: 16384,
_count: 0,
_skipUntil: null,
_track: null,
_incompleteTrack: {},
_ebmlFound: false,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null
},
edges: [ [Object] ],
metadata: {
title: 'Avicii - The Nights',
artist: 'AviciiOfficialVEVO',
length: '191',
channel: [TextChannel]
},
volume: undefined,
encoder: undefined,
audioPlayer: AudioPlayer {
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: 100,
_state: [Object],
subscribers: [Array],
behaviors: [Object],
debug: [Function (anonymous)],
[Symbol(kCapture)]: false
},
playbackDuration: 0,
started: false,
silencePaddingFrames: 5,
silenceRemaining: -1
}
}
5 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Fyphen
FyphenOP2y ago
how can i fix this problem?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Fyphen
FyphenOP2y ago
no but it has resolved it seems like stream.pipe(fs.createWriteStream()); thank you for your suggestion
Matte
Matte2y ago
which kind of a stream were you trying to play?
Want results from more Discord servers?
Add your server