audio decoding error
dsaetgareev opened this issue · 3 comments
dsaetgareev commented
Hello. I use part of the project code in my project, the code responsible for transferring the video and audio stream, I transfer chunks via webtrc. The video works without errors, while decoding the audio I get the error "Uncaught Error: closure invoked recursively or after being dropped". I've been struggling with this problem for three days now. Maybe you also faced this problem?
darioalessandro commented
Hey @dsaetgareev indeed I have seen this!!
this is likely because the error
and output
callbacks are being deallocated by rust but then javascript is trying to call them, to solve this simply call:
forget(error)
forget(output)
or store those callbacks such that they do not get dropped
dsaetgareev commented
darioalessandro commented
that is awesome !!! 😄 glad I was able to help!