Blob download saves as .bin with a random filename instead of .webm
I’m developing a Tampermonkey userscript to capture audio from a webpage using the MediaRecorder
API. The script successfully records audio and creates a Blob with the MIME type audio/webm;codecs=opus
. However, when I attempt to download the generated audio file, it’s saved with a .bin
extension and a random 9-digit filename (e.g. 1298453815.bin
) instead of the intended recording.webm
.
Blob download saves as .bin with a random filename instead of .webm
I’m developing a Tampermonkey userscript to capture audio from a webpage using the MediaRecorder
API. The script successfully records audio and creates a Blob with the MIME type audio/webm;codecs=opus
. However, when I attempt to download the generated audio file, it’s saved with a .bin
extension and a random 9-digit filename (e.g. 1298453815.bin
) instead of the intended recording.webm
.