Answer the question
In order to leave comments, you need to log in
How to decode Ogg Opus in django?
Good day, the following base64 encoded blob is sent to the server:
var blob = new Blob(chunks, {"type" : "audio/ogg; codecs=opus"});
blob = get_base64(blob);
import base64
from mutagen.oggopus import OggOpus
blob = request.get("blob").split(";base64")[1]
blob = OggOpus(base64.b64decode(blob))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question