bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://blueos.cloud/docs/extensions/cockpit/1.0/overview
Other
53 stars 20 forks source link

WebRTC: Allow user to choose TCP or/and UDP for ice candidate negotiation #910

Closed patrickelectric closed 5 months ago

patrickelectric commented 5 months ago

Currently we have the power to filter the IP address of the client, so allowing the user to "remove" one of the protocols should be easy. The reason behind this is that some users are using network provides in the middle of the ocean where the UDP connection appears to be far worse than TCP. TCP: 10MB/s UDP: 1MB/s

https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/candidate There is a protocol property there

patrickelectric commented 5 months ago

https://github.com/mavlink/mavlink-camera-manager/issues/389

joaoantoniocardoso commented 5 months ago

In the codebase, search for selectedICEIPs in session.ts, it will be the same kind of filter, but instead of checking the IP, it will check for the protocol.