Switch mp3 transcoding to output a seekable temp file instead of piping to stdout. This allows ffmpeg to backpatch the Xing/Info header with correct total-duration metadata, which is required for HTML5 audio elements to handle VBR mp3 playback accurately. Prevents playback issues caused by missing or incorrect duration, such as premature or stalled `ended` events. |
||
|---|---|---|
| .. | ||
| client | ||
| server | ||
| shared | ||