So I have been playing with mediasoup-demo for a couple of days, I’ve been reading the documentation and the code for the frontend and the backend. I’ve been curious about the ‘forceTCP’ flag for a while.
The documentation that I have read only states that this enables transmission of media over TCP instead of UDP. I wanted someone to guide me towards a source that can explain to me how this works. The reason I want to know this is because I want to see what impacts can it have in a live environment. Should I always use it? Is it only useful in certain cases? Most importantly how does the media even travel on TCP, won’t the re-transmissions keep lagging the stream indefinately, how does it overcome that?
I know these are allot of questions but I’m looking for good guidance on it.