I am working on RTP IN/OUT with mediasoup server. There are two implementations which give very different results.
In implementation 1, when I stream rtp media over mediasoup, so many packet loss occurs both during RTP IN and during RTP OUT in a way that I cannot view proper video on receiver side.
For example; 20mbps data enters mediasoup server, but only 8mbps data leaves the mediasoup in direction to receiver.
In implementation 2, when I stream rtp media directly to public ip of an endpoint and port, streaming quality is flawless.
I would like to blame my ffmpeg implementation but if I had issue in my implementation then why does my implementation 2 work properly even in >4K resolutions?
I can publish all trace logs etc…
But at first glance what would be the issue?
Thanks in advance