15237 Commits
Author SHA1 Message Date
Ryan Foster c025f210d3 libobs: Update version to 32.0.2 32.0.2 2025-10-23 08:42:31 -04:00
Sebastian BeckmannandRyan Foster 5984faefe4 mac-syphon: Use opaque effect on non-OpenGL renderer
"DrawOpaque" only exists in the default_rect effect, in the normal cases
it's just "Draw" in the opaque default shader.
2025-10-23 08:35:52 -04:00
Sebastian BeckmannandRyan Foster 2d5ba21204 libobs-opengl: Treat pixel format 0 in IOSurface as 32BGRA
Per the Apple documentation, when 0 is returned from
IOSurfaceGetPixelFormat, the IOSurface is invalid. Prior to [1] however,
any invalid surfaces were (likely accidentally) treated as 32BGRA.
And as it turns out, any IOSurface received from Syphon does not have
the pixel format set, thus returning 0. Because the pixel format happens
to always be 32BGRA, this was never caught. [1] then slightly refactored
the code, fixing the bug not realizing it ever existed. This lead to
Syphon no longer working.

Treating 0 as 32BGRA appears to be the only way to fix this situation
for now and restore prior behavior. Ideally in the future Syphon
provides valid IOSurfaces. An upstream fix to Syphon-Framework is
already submitted, however even if merged, servers would need to update
to that fixed version before things work again. Therefore, this
workaround is needed on the OBS side.

However, the plan for now is for the Metal renderer to not get this
relaxation. It never had it (so Syphon never worked there, making this
not a regression) and it's marked as experimental. Hopefully, by the
time it's stable and/or default, Syphon will be fixed and servers have
been updated.

[1]: 53ad05db9f
2025-10-23 08:35:52 -04:00
PatTheMav 5ec3af3f6d obs-browser: Update version to 2.26.3 2025-10-17 14:31:38 +02:00
PatTheMav 13ba51a9ad frontend: Use Qt parent-child ownership in OAuth dialog
By explicitly setting the OAuth dialog as the parent of the CEF widget,
it will automatically by cleaned up as soon as the dialog is closed
itself.

This also detaches the destruction of the widget from the browser
cleanup code.
2025-10-17 14:31:38 +02:00
Ryan Foster 0b12296320 libobs: Update version to 32.0.1 32.0.1 2025-09-26 16:36:36 -04:00
hongqingwanandRyan Foster 85fa987f67 frontend: Fix runtime check failure issue
Fix an issue where the stack around the variable snapEnabled was
corrupted.

SPI_GETSNAPTODEFBUTTON should use BOOL, not bool.

Reference:
 * https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfow
2025-09-26 14:31:08 -04:00
pkvandRyan Foster 9696f54937 libobs: Log monitoring audio deduplication
The commit adds a log line to inform the user that deduplication is
being applied. The info is displayed whenever deduplication first
occurs.

Signed-off-by: pkv <pkv@obsproject.com>
2025-09-26 12:12:08 -04:00
pkvandRyan Foster 40dd9f6c5e libobs: Fix for monitoring deduplication edge case
When an 'Audio Capture Source' device is also used for monitoring, the
deduplication logic is applied: all monitored sources are silenced.
But this should not silence the 'Audio Capture Source' if for some
reason, it is being monitored (the user will get echoes, but hey, it's
their choice). So we exclude the 'Audio Capture Source' from the
silenced sources.

Signed-off-by: pkv <pkv@obsproject.com>
2025-09-26 12:12:08 -04:00
PatTheMavandRyan Foster e35b16cba9 frontend: Enable multitrack RTMP option for custom RTMP services
This removes the need to provide an undocumented launch argument to
enable custom RTMP service configurations to use multitrack encoding
and also provide a custom configuration.
2025-09-26 01:48:39 -04:00
Ryan Foster a75fdd297b obs-browser: Update version to 2.26.2
obsproject/obs-browser@2bf7e77 - Restore source visibility code
obsproject/obs-browser@4056a31 - Update version to 2.26.2
2025-09-25 18:16:53 -04:00
Dennis SädtlerandRyan Foster 9c79ff71de CI: Pin patch generation workflows to windows-2022 2025-09-23 15:04:21 -04:00
nixflorpandRyan Foster 671fb57daf docs: Fix Rendering Graphics documentation 32.0.0 2025-09-22 15:30:08 -04:00
tytan652andRyan Foster a9002811ad CI: Update Flatpak action
https://github.com/flatpak/flatpak-github-actions/pull/231
32.0.0-rc1
2025-09-19 14:51:41 -04:00
PatTheMavandRyan Foster 02f596b4e8 ci: Limit use of Ccache option to enforce second preprocessor call
Feature was removed in Ccache 4.12, which is provided by Homebrew by
default since 2025-10-19.
2025-09-19 14:26:29 -04:00
PatTheMavandRyan Foster cf5ef3e414 cmake: Remove Ccache option to enforce second preprocessor call
Feature was removed in Ccache 4.12, which is provided by Homebrew by
default since 2025-10-19.
2025-09-19 14:26:29 -04:00
Richard StanwayandRyan Foster efca325c2c frontend, plugins: Set default bitrate to 6000 kbps
The default of 2500 kbps was chosen 10 years ago and times have changed.
Logs and forums posts show that many users of OBS for recording don't
change their bitrate and end up with a 2.5 mbps recording which looks
terrible.

Now that service bitrate enforcement exists, this will be automatically
capped to the maximum bitrate for streaming services, so the only time
this should result in a problem is if the user's upload speed is the
limiting factor, hopefully rarer these days with increasing internet
speeds.
2025-09-17 19:56:04 -04:00
Ryan Foster 1e281538a4 libobs: Raise out of memory exception manually when out of memory
The previous attempt to clarify an out of memory exception/crash
resulted in the compiler optimizing os_breakpoint() and os_oom() into
the same result, which meant that crash stacks in the wild were still
not specific enough to be helpful. Forcefully differentiating the
functions in Release configuration by having os_breakpoint() only call
__debugbreak() and having os_oom() call RaiseException() should give us
clearer crash stacks.

Amends 94a736f179.
2025-09-17 16:29:06 -04:00
Ryan Foster fd17570221 obs-websocket: Update version to 5.6.3
Changes:
- Updated translations

Bug Fixes:
- Fixed obs_frontend_get_global_config() deprecation warning
2025-09-17 15:56:59 -04:00
Ryan Foster 134289ca9e obs-browser: Update version to 2.26.1
Updated translations.
2025-09-17 15:56:59 -04:00
Joel BethkeandRyan Foster c4cccf7b7e frontend: Remove help text for shutdown check 2025-09-16 18:02:25 -04:00
Service CheckerandRyan Foster bbd97ebbcf rtmp-services: Remove defunct servers/services 2025-09-15 20:25:59 -04:00
Norihiro KamaeandRyan Foster 4d42b88960 frontend/api: Remove obs_frontend_get_global_config from internal code 2025-09-15 17:17:55 -04:00
PenwywernandRyan Foster e216a0eab0 frontend: Don't attempt multitrack without config url 2025-09-15 16:47:44 -04:00
Warchamp7andRyan Foster a9226f81d9 frontend: Fix UI deadlock
There is a Qt bug introduced around Qt 6.8.3 that causes the application
to hang when double clicking the sources list and the Windows setting
'Snap mouse to default button in dialog boxes' is enabled. Work around
this by using a timer if the setting is enabled.
2025-09-15 16:06:38 -04:00
Sebastian BeckmannandRyan Foster 35c02e7bc2 docs: Clarify some aspects of OBS_PROPERTY_BUTTON
The important point here is that "data" from the callback isn't defined
by libobs, but rather by the API consumer.
Additionally, it's not entirely clear from the documentation whether the
callback would still be called for button of type OBS_BUTTON_URL. There
should be no negatives to always calling it and the OBS Studio frontend
already behaves that way, so let's document that in libobs.
2025-09-12 16:41:48 -04:00
derrodandRyan Foster 2c65cb82ea frontend: Remove "BETA" from Hybrid MP4/MOV and make them the default 2025-09-12 15:45:57 -04:00
Sebastian BeckmannandRyan Foster b6555a4baa libobs: Treat os_dlopen failure as module load failure
Communicate that a module has failed to load via obs_module_failure_info
2025-09-12 15:16:06 -04:00
Sebastian BeckmannandRyan Foster a4b62d26be libobs: Differentiate between plugin load failures
It's important to differentiate whether a plugin fails to open (dl_open
returning NULL, being compiled for a newer libobs, etc) or whether it
opened correctly, but failed to initialize (returned NULL during
obs_module_load()).
With that, we can also create disabled modules for modules that fail to
open, which in the future should enable better user communication in the
UI (besides the module_load_failure_info).
2025-09-12 15:16:06 -04:00
Sebastian BeckmannandRyan Foster fd214a9c6e libobs: Rename MODULE_FILE_NOT_FOUND code to MODULE_FAILED_TO_OPEN
This code is returned if os_dlopen returns NULL. This can happen for
multiple reasons, not just because the file can't be found. Since [1]
other causes are getting more common, but this could also happen before.

[1]: 62429135ba
2025-09-12 15:16:06 -04:00
Warchamp7andRyan Foster 9a3fe95211 frontend: Update Plugin Manager v1 UI 2025-09-12 14:18:27 -04:00
Norihiro KamaeandRyan Foster 139fd801ee libobs/util: Fix memory leak at failure condition 2025-09-12 13:46:58 -04:00
Matt GajownikandRyan Foster 99c3a4b797 Update translations from Crowdin 2025-09-08 22:38:40 -04:00
Sebastian BeckmannandRyan Foster 482778d532 frontend: Change renderer combo box to use custom data
While the Metal renderer is displayed as "Metal (Experimental)", the
"Experimental" part doesn't need to be stored to the config. Otherwise,
anyone having selected the Metal renderer will have it get unselected
once the "Experimental" part is removed, and presumably the people who
have it selected while it's experimental would also be the people who
would want it once it's stable.
2025-09-08 17:39:38 -04:00
Ryan Foster 21f2d97af8 Reapply "cmake: Use fixed SOVERSION everywhere"
This reverts commit 551f203499.
2025-09-08 17:09:00 -04:00
Ryan Foster 128b767a2f Reapply "cmake: Avoid breaking ABI through major version bump on Linux"
This reverts commit e0aa7c2943.
2025-09-08 17:09:00 -04:00
Ryan Foster 70d03a119d Revert "cmake: Remove library compat symlink on Linux"
This reverts commit 9b2662117a.
2025-09-08 17:09:00 -04:00
Amin.MasterkinGandRyan Foster 4d4fb003db rtmp-services: Update MasterStream.iR ingest 2025-09-08 15:55:58 -04:00
PatTheMavandRyan Foster ee212e863d libobs-metal: Added README file for current state of implementation 32.0.0-beta2 2025-09-04 17:58:27 -04:00
PatTheMavandRyan Foster cb634b9875 libobs: Update default draw effect to also provide D65P3 conversion 2025-09-04 17:58:27 -04:00
PatTheMavandRyan Foster f932082112 frontend: Add Metal to available list of renderers in basic settings 2025-09-04 17:58:27 -04:00
PatTheMavandRyan Foster d8b19c3c25 libobs-metal: Add Metal renderer 2025-09-04 17:58:27 -04:00
PatTheMavandRyan Foster 4ff872c9bb CI: Update macOS runner for building to use Xcode 16.4
The current version of swift-format uses features that are only
supported in more recent Swift compiler versions than the one shipped
with Xcode 16.1.0.
2025-09-04 17:58:27 -04:00
PatTheMavandRyan Foster 4dab2c51b8 libobs: Add prerequisites for Metal and Swift support 2025-09-04 17:58:27 -04:00
PatTheMavandRyan Foster b0fa60ae17 cmake: Enable DEBUG flag for Swift 2025-09-04 17:58:27 -04:00
PatTheMavandRyan Foster cdac426843 CI: Update swift-format configuration with more explicit rules 2025-09-04 17:58:27 -04:00
Ryan Foster 3afc2577d3 libobs: Remove Qt5 module check
Partial revert of a0eae6f33c.
Partial revert of 23c3ad4d02.
Partial revert of 97b34ebb76.

Keep all of the get_plugin_info stuff, remove the Qt5 checks.
2025-09-04 16:57:07 -04:00
Ryan Foster 2004ea6b16 Revert "libobs/util: Reject plugins linking Qt5 library for Linux"
This reverts commit 615728fa3b.

Includes partial revert of 62429135ba.
2025-09-04 16:57:07 -04:00
Ryan Foster f31485939c Revert "libobs: Assume Qt 6, always warn about Qt 5 plugins"
This reverts commit 5ed0b8a0b8.
2025-09-04 16:57:07 -04:00
Ryan Foster a7b5aef36a Revert "libobs/util: Prevent locking mutex in child process when checking Qt5"
This reverts commit 5c448452cf.
2025-09-04 16:57:07 -04:00