fix(downloads): actually return the encoded blob
This commit is contained in:
parent
d740e35b05
commit
286a123e02
1 changed files with 2 additions and 0 deletions
|
|
@ -99,6 +99,8 @@ export async function applyAudioPostProcessing(
|
||||||
if (format) {
|
if (format) {
|
||||||
try {
|
try {
|
||||||
blob = await transcodeWithCustomFormat(blob, format, onProgress, signal);
|
blob = await transcodeWithCustomFormat(blob, format, onProgress, signal);
|
||||||
|
|
||||||
|
return blob;
|
||||||
} catch (encodingError) {
|
} catch (encodingError) {
|
||||||
if (onProgress) {
|
if (onProgress) {
|
||||||
onProgress({
|
onProgress({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue