Closed dsaetgareev closed 10 months ago
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
Dario, hello!!! I just saw your message and immediately followed your advice, and everything worked!!! Added error.forget(); output.forget(); Dario, thank you very much for your help!!
that is awesome !!! 😄 glad I was able to help!
https://github.com/security-union/videocall-rs/blob/76c8d736e3349270950e7b2e439ccc643400da8a/yew-ui/src/model/decode/peer_decode_manager.rs#L107
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?