[PR #256] [MERGED] Randomizing Moblin SRT implementation socketId #253

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

📋 Pull Request Information

Original PR: https://github.com/eerimoq/moblin/pull/256
Author: @jkaretsky
Created: 2/27/2026
Status: Merged
Merged: 2/27/2026
Merged by: @eerimoq

Base: mainHead: main


📝 Commits (1)

  • 435858e Randomizing Moblin SRT implementation socketId

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Moblin/Media/HaishinKit/Srt/SrtSender.swift (+1 -1)

📄 Description

Currently, the Moblin SRT implementation uses a hardcoded socketID of 716306300 that can lead to issues when multiple SRT streams are going to the same media server. Changing this hardcode to a random int fixes the problem and makes collisions extremely unlikely.


🔄 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/256 **Author:** [@jkaretsky](https://github.com/jkaretsky) **Created:** 2/27/2026 **Status:** ✅ Merged **Merged:** 2/27/2026 **Merged by:** [@eerimoq](https://github.com/eerimoq) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`435858e`](https://github.com/eerimoq/moblin/commit/435858e68cc96f4bae84171dd6d6b3919e5b73f2) Randomizing Moblin SRT implementation socketId ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Moblin/Media/HaishinKit/Srt/SrtSender.swift` (+1 -1) </details> ### 📄 Description Currently, the Moblin SRT implementation uses a [hardcoded socketID](https://github.com/eerimoq/moblin/blob/6f2889d31b8c864d6346d6b8b1c51c354a47e4ad/Moblin/Media/HaishinKit/Srt/SrtSender.swift#L10C1-L10C46) of `716306300` that can lead to issues when multiple SRT streams are going to the same media server. Changing this hardcode to a random int fixes the problem and makes collisions extremely unlikely. --- <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:56 +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#253
No description provided.