Haivision / srtgo

Go bindings for SRT. Advantages of SRT technology for an easy to use programming language
Mozilla Public License 2.0
185 stars 52 forks source link

Multiple Connections on One Port Leads to Packet Drops #73

Open Gilliam6 opened 2 months ago

Gilliam6 commented 2 months ago

I'm encountering an issue where multiple connections on a single port result in packet drops. Here are the details of my setup and observations:

Round Trip Time (RTT): Approximately 30 ms
Latency: 200 ms

When multiple streams are connected through a single socket, the quality of the connection degrades, leading to packet drops. For testing purposes, I opened multiple listening sockets with one connection to each, and it worked perfectly with zero packet drops.

Observations:

The bandwidth for each connection decreases as more streams are connected to the same socket.
The issue persists regardless of whether the socket is in blocking mode or not.

Any insights or suggestions would be greatly appreciated.