[PR #173] [MERGED] SRTLA: choose connection used to register the group by probing RTT #182

Closed
opened 2026-03-02 04:00:37 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/eerimoq/moblin/pull/173
Author: @rationalsa
Created: 10/9/2025
Status: Merged
Merged: 10/9/2025
Merged by: @eerimoq

Base: mainHead: srtla_probe


📝 Commits (1)

  • f986e8e SRTLA: choose connection used to register the group by probing RTT

📊 Changes

2 files changed (+21 additions, -4 deletions)

View changed files

📝 Moblin/Media/Srtla/Client/RemoteConnection.swift (+9 -1)
📝 Moblin/Media/Srtla/Client/SrtlaClient.swift (+12 -3)

📄 Description

This allows the client to find a connection that's 1) working and 2) has the lowest RTT, and only then use it to attempt to register the SRTLA connection group

Should improve connection reliability and speed when some (but not all) of the networks are congested or otherwise have high latency. This is essentially the same functionality introduced in srtla_send in 2023 here:

github.com/BELABOX/srtla@f0edf2e0c0...f138fb424d

Additionally, we use this to allow clients with connections routed to multiple POPs of our BELABOX cloud anycast network to steer the connection towards a preferred location


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/eerimoq/moblin/pull/173 **Author:** [@rationalsa](https://github.com/rationalsa) **Created:** 10/9/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@eerimoq](https://github.com/eerimoq) **Base:** `main` ← **Head:** `srtla_probe` --- ### 📝 Commits (1) - [`f986e8e`](https://github.com/eerimoq/moblin/commit/f986e8e5b88222ceefe7dd887293476067a232e3) SRTLA: choose connection used to register the group by probing RTT ### 📊 Changes **2 files changed** (+21 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Moblin/Media/Srtla/Client/RemoteConnection.swift` (+9 -1) 📝 `Moblin/Media/Srtla/Client/SrtlaClient.swift` (+12 -3) </details> ### 📄 Description This allows the client to find a connection that's 1) working and 2) has the lowest RTT, and only then use it to attempt to register the SRTLA connection group Should improve connection reliability and speed when some (but not all) of the networks are congested or otherwise have high latency. This is essentially the same functionality introduced in srtla_send in 2023 here: https://github.com/BELABOX/srtla/compare/f0edf2e0c03d08597d2360ecb6eb3fecfb1d535c...f138fb424d9239bc0fe70609c6f43e4963486499 Additionally, we use this to allow clients with connections routed to multiple POPs of our BELABOX cloud anycast network to steer the connection towards a preferred location --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:00:37 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/moblin#182
No description provided.