Masato Hoshino
b6c7a77d3f
fix(discord): handle ffmpeg stderr stream errors in voice playback ( #101088 )
...
* fix(discord): handle ffmpeg stderr stream errors in voice playback
createDiscordOpusPlaybackStream guards ffmpeg stdout and stdin against raw
stream 'error' events (an unhandled stream error throws and crashes the
gateway via uncaughtException), but the stderr stream on the same child was
left unguarded. Add the symmetric stderr error handler, routing it through
opusStream.destroy like stdout. Add a regression test covering stdout and
stderr stream errors.
* refactor(discord): unify ffmpeg stream errors
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-07-06 19:43:10 +01:00
..
2026-07-06 12:30:12 +01:00
2026-07-05 05:48:35 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-04 14:56:50 -04:00
2026-07-06 02:21:00 +01:00
2026-07-06 12:06:55 +01:00
2026-07-04 14:56:50 -04:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-02 21:16:26 -07:00
2026-07-02 21:16:26 -07:00
2026-07-06 17:50:34 +01:00
2026-07-04 11:35:55 -07:00
2026-07-04 14:56:50 -04:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 04:53:09 +01:00
2026-07-05 22:27:27 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 17:52:51 +01:00
2026-07-04 14:56:50 -04:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 03:23:38 +01:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 04:53:09 +01:00
2026-07-05 07:43:43 -07:00
2026-07-06 22:52:22 +10:00
2026-06-30 11:31:08 -07:00
2026-07-06 16:55:56 +01:00
2026-07-06 00:34:17 +01:00
2026-07-06 19:43:10 +01:00
2026-06-30 11:31:08 -07:00
2026-07-02 21:16:26 -07:00
2026-06-30 11:31:08 -07:00
2026-07-02 21:16:26 -07:00
2026-07-01 20:42:25 -07:00
2026-07-06 18:54:02 +01:00
2026-07-06 09:26:04 -07:00
2026-07-04 12:47:10 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 04:53:09 +01:00
2026-06-30 11:31:08 -07:00
2026-07-06 13:01:25 -04:00
2026-07-05 02:34:08 -04:00
2026-07-04 14:56:50 -04:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 03:31:19 -07:00
2026-07-01 08:55:41 -07:00
2026-07-06 06:07:12 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 19:21:29 +01:00
2026-06-30 11:31:08 -07:00
2026-07-04 14:56:50 -04:00
2026-07-04 14:56:50 -04:00
2026-07-06 18:28:48 +01:00
2026-07-04 16:50:44 -07:00
2026-07-06 02:24:37 -07:00
2026-07-06 10:07:08 -07:00
2026-07-05 12:53:06 -07:00
2026-07-05 18:12:51 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 19:16:26 +01:00
2026-07-04 14:56:50 -04:00
2026-07-06 09:20:43 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-04 02:08:35 -07:00
2026-07-04 02:08:35 -07:00
2026-07-06 04:53:09 +01:00
2026-06-30 11:31:08 -07:00
2026-07-02 21:16:26 -07:00
2026-07-06 19:07:24 +01:00
2026-06-30 15:54:12 -07:00
2026-07-04 16:45:07 -07:00
2026-06-30 11:31:08 -07:00
2026-07-02 22:12:53 -07:00
2026-07-04 14:56:50 -04:00
2026-07-06 03:12:49 +01:00
2026-06-30 11:31:08 -07:00
2026-07-06 12:06:55 +01:00
2026-06-30 11:31:08 -07:00
2026-07-06 05:59:18 -07:00
2026-07-06 08:58:58 +01:00
2026-06-30 11:31:08 -07:00
2026-07-02 22:12:53 -07:00
2026-07-02 21:16:26 -07:00
2026-07-04 01:51:03 -07:00
2026-06-30 15:54:12 -07:00
2026-07-06 09:56:03 -07:00
2026-07-06 13:02:42 -04:00
2026-07-06 09:24:34 -07:00
2026-07-06 09:24:34 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 09:26:04 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 15:54:12 -07:00
2026-06-30 11:31:08 -07:00
2026-07-02 21:16:26 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 05:10:57 +01:00
2026-07-05 19:11:58 -07:00
2026-07-05 19:11:58 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-06-29 15:41:26 -07:00
2026-07-04 14:56:50 -04:00
2026-07-06 10:17:36 -07:00
2026-07-06 04:29:48 +00:00
2026-06-24 19:08:22 -05:00
2026-06-04 21:02:07 -04:00
2026-07-06 04:44:33 +01:00
2026-07-03 17:09:30 -07:00
2026-07-02 22:12:53 -07:00
2026-06-30 11:31:08 -07:00
2026-07-04 14:56:50 -04:00
2026-07-06 04:53:09 +01:00
2026-07-01 19:49:38 -07:00
2026-06-30 11:31:08 -07:00
2026-06-30 11:31:08 -07:00
2026-07-06 02:34:22 +01:00
2026-07-04 11:35:55 -07:00
2026-07-06 06:32:50 +00:00
2026-06-30 11:31:08 -07:00
2026-07-04 12:47:10 -07:00
2026-07-04 16:38:13 -07:00
2026-07-05 19:11:58 -07:00
2026-07-06 09:01:01 -07:00
2026-07-06 05:59:18 -07:00
2026-07-06 04:53:09 +01:00
2026-07-06 04:53:09 +01:00
2026-07-05 10:57:19 -07:00
2026-07-04 16:50:44 -07:00
2026-06-06 18:34:54 +02:00
2026-07-06 09:24:34 -07:00
2026-06-06 18:34:54 +02:00