connectionstatechange to disconnected

Hello, I am using the mediasoup library, for live streaming events, works fine but after some minutes the transport connection status changed to disconnected, how could I fix this problem?

You need to figure out why that happens, how can we guess what the reason is with such description?

okay, I’ll look into it;
the other problem I have is that there is no audio on the consumer side only video; the producer sends both video and audio

Yes, you should also look at that second problem.

I was hoping if I get some hints from you guys, I know everything is well described on the documentation, it is just I need some example that can be a reference