Repository navigation
deps.ffmpeg: Revert libsrt to v1.5.2 with patches - #295
Merged
Merged
Conversation
Libsrt v1.5.3 does not link against mbedTLS 3.5+. Libsrt v1.5.4 fixes this, but it has a critical regression that causes OBS Studio Media Sources using SRT to fail. The patch to fix this is too large for us to want to backport to v1.5.4, so revert to v1.5.2 and backport the patches to build with mbedTLS 3.5+.
PatTheMav
approved these changes
Jul 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Libsrt v1.5.3 does not link against mbedTLS 3.5+. Libsrt v1.5.4 fixes this, but it has a critical regression that causes OBS Studio Media Sources using SRT to fail. The patch to fix this (Haivision/srt@dca5399) is too large for us to want to backport to v1.5.4, so revert to v1.5.2 and backport the patches to build with mbedTLS 3.5+.
Motivation and Context
Fix OBS Studio Media Sources using SRT.
We have to revert to libsrt v1.5.2 with backported fixes because, #228 (comment) :
And a bug in v1.5.3 detailed here:
deps.ffmpeg/patches/srt/0003-fix-mbedtls-v3.5.0-plus-build-error-on-windows.patchfrom Haivision/srt@7899f15
deps.ffmpeg/patches/srt/0004-fix-link-bcrypt-on-windows-when-mbedtls-v3.5.0-plus.patchfrom Haivision/srt@618ddfe
Also, revert the changes to
deps.ffmpeg/patches/srt/0001-enable-proper-cmake-build-types.patchmade in #190 to be compatible with libsrt v1.5.2 again. We will have to re-revert that whenever we can update to libsrt v1.5.4+.How Has This Been Tested?
Tested locally using information from obsproject/obs-studio#12361.
Types of changes
Checklist: