Commit graph

13140 commits

Author SHA1 Message Date
derrod edf2c8210c cmake,plugins,build-aux: Remove enc-amf 2023-07-22 18:06:26 -07:00
derrod 2f5038318e UI: Remove D3D11 shader cache folder creation 2023-07-22 18:04:08 -07:00
derrod 2e4d1f3f54 libobs-d3d11: Create shader cache directory when creating device 2023-07-22 18:04:08 -07:00
derrod d1dd7dd6d3 updater: Migrate to nlohmann JSON 2023-07-23 02:18:53 +02:00
cg2121 40d15d4b86 docs: Add documentation for filter index functions
Adds documentation for the obs_source_filter_set_index and
obs_source_filter_get_index functions.
2023-07-22 17:04:03 -07:00
derrod 4c5d3e77c9 build-aux: Add shader cache cleanup to steam uninstall script 2023-07-23 02:00:04 +02:00
Richard Stanway e7a3ffdb54 libobs-d3d11: Implement shader cache
Co-Authored-By: derrod <dennis@obsproject.com>
2023-07-22 16:59:31 -07:00
Lain 2f9df1372d
Merge pull request #8455 from derrod/safe-mode
Add Safe Mode
2023-07-22 16:56:40 -07:00
PatTheMav bcbe509b56 CI: Fix Python 3.11 installation on macOS 13 runners
Once again GitHub Action runners have a minor Python 3 version
preinstalled that we want to upgrade, which will fail because that
versions does not seem to be Homebrew-based.

Enforcing an upgrade will fix the issue as Homebrew can overwrite the
files.
2023-07-23 01:42:04 +02:00
PatTheMav 569398549e CI: Fix steamcmd being unable to find generated build file
steamcmd seems to have a quirk where it cannot find a file in the
current working directory on macOS, but requires the absolute path
to the file instead - using the `:a` Zsh modifier yields the absolute
path of a valid filename in the current directory scope.
2023-07-22 16:41:00 -07:00
derrod bdc2da6e48 updater: Update installed version in registry 2023-07-22 16:33:19 -07:00
gxalpha d25a4ddae1 UI: Fix remaining status bar nits
Amends 1c8407183 to address the remaining points brought up on the Pull
Request that were not changed before merging.
2023-07-22 16:24:30 -07:00
gxalpha 633b9e39f7 UI: Don't clear lastService immediately after setting it
Fixes a bug where when you clicked "Show more..." in the service
settings combobox, the currently selected service would be changed to
the first service in the list.
2023-07-22 16:19:26 -07:00
tytan652 343eda4f04 build-aux: Add deps to clang-format and cmake-format 2023-07-22 16:12:12 -07:00
tytan652 1dbd5826d7 build-aux: Make clang-format ignore libdshowcapture 2023-07-22 16:12:12 -07:00
PatTheMav 07d0da12d6 CI: Fix broken download of nightly build artifacts for Steam uploads
GitHub's CLI utility is not capable of downloading artifacts generated
by the workflow job it is being run in itself. Thus the official
repository action is needed.
2023-07-22 01:25:21 +02:00
derrod 396cfdb416 UI: Add Safe Mode 2023-07-21 23:22:07 +02:00
derrod d90bfc5e0b libobs: Add obs_add_safe_module() 2023-07-21 23:22:07 +02:00
PatTheMav 64be5a7f9a CI: Fix broken Flatpak cache generation on CI
Cache key needs to provided regardless of whether a cache hit occurs,
the key is not automatically generated by the action.
2023-07-21 15:43:32 -03:00
PatTheMav 1e74256b7e CI: Fix random password generation for macOS codesigning
`sha1sum` is part of Homebrew's coreutils, but macOS ships with
`shasum` by default, which supports many variants and defaults to
SHA-1 by default.
2023-07-21 14:16:59 -04:00
Richard Stanway b7fddceb67
updater: Treat mapped file errors as a sharing violation
For whatever reason there exists a different error code if the file has
been opened as a mapped file, so we need to handle it.
2023-07-21 03:02:31 +02:00
PatTheMav 890a7fddd8 CI: Switch service availability checks to macOS runners
Linux runners exhibit connectivity issues with some services that are
not present with macOS runners. Switching to macOS thus reduces chances
for false positives.
2023-07-20 22:57:16 +02:00
cg2121 cb8b5ba9cd libobs: Change return type for getting filter index
This changes the return type for getting the filter index from a
size_t to an int. This makes it easier for developers to use,
as an invalid index just returns a -1.
2023-07-20 13:21:14 -07:00
PatTheMav ee530c2f49 CI: Remove label triggers from pull request workflow 2023-07-20 21:47:57 +02:00
Ryan Foster f7e6a5c8e7 obs-browser: Update version to 2.22.0
5292ff3 - Send events to all frames
5d74047 - Fix compilation on Windows and macOS
fbb9e84 - Remove obsolete translation RestartCEF
5e22a61 - Remove Qt 5 ifdef guards and code
72635d5 - Add JS interaction function, Fix "setStartupScript"
0f1ff75 - Replace json11 by Nlohmann JSON
2023-07-20 12:27:27 -04:00
pkv ce6a17e979 cmake: Copy libdatachannel DLL
Copy libdatachannel DLL whether it's compiled on MSVC (and named
datachannel.dll) or cross-compiled on MinGW (and named
libdatachannel.dll).

Signed-off-by: pkv <pkv@obsproject.com>
2023-07-20 10:28:11 -04:00
pkv 9803582dff build-aux: Update libdatachannel for Flatpak
This updates libdatachannel to the commit supporting simulcast [1]
and removes the now unnecessary libdatachannel patching.

[1] 709a663394

Signed-off-by: pkv <pkv@obsproject.com>
2023-07-20 10:28:11 -04:00
PatTheMav a88a71c342 CI: Fix scheduled Steam builds
Apparently the workflow run list will also yield the _current_ workflow
run, so we have to fetch at least 2 runs to also get the prior one.
2023-07-20 14:37:22 +02:00
cg2121 1c84071830 UI: Redesign status bar
This redesigns the status bar to look more modern.

Co-authored-by: Warchamp7 <warchamp2003@hotmail.com>
Co-authored-by: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
2023-07-19 17:53:57 -07:00
gxalpha 9d611a064f cmake: Remove Qt version selection and Qt 5 support 2023-07-19 11:56:54 -04:00
gxalpha 5ed0b8a0b8 libobs: Assume Qt 6, always warn about Qt 5 plugins 2023-07-19 11:56:54 -04:00
gxalpha 79ab526f03 UI: Remove remaining Qt 6 ifdef 2023-07-19 11:56:54 -04:00
PatTheMav 48b51ce3c4 CI: Fix Qt XML validator attempting to validate non-XML files
Explicitly check only for changes `.ui` files in forms subdirectory
and pass only changed files with that suffix to validator.
2023-07-19 11:18:47 -04:00
pkv b15fc60d63 obs-ffmpeg: Fix rendezvous mode with SRT
Rendezvous mode with SRT protocol is used to punch through firewalls.
Although caller or listener mode are much more widespread, it is
sometimes in use. The rendezvous mode was broken in obs because we
would bind to the remote IP, instead of a local IP. This fixes the bug.
Note that there is also a bug in libsrt preventing our code to work.
But Version 1.5.2+ of libsrt fixes that.

Signed-off-by: pkv <pkv@obsproject.com>
2023-07-18 15:55:22 -04:00
gxalpha 6a6cb3edcd UI: Avoid QT_TO_UTF8(QTStr()) double conversion 2023-07-18 15:07:25 -04:00
nquah 8137eb5f56 obs-outputs: Enable HDR for HEVC over RTMP
Removes flag guard to enable HDR streaming for HEVC over Enhanced RTMP.
This functionality is currently only supported by YouTube.
See github.com/veovera/enhanced-rtmp for the Enhanced RTMP spec.
2023-07-18 14:43:32 -04:00
Paul Gregoire fc2f6e707f obs-webrtc: Add custom User-Agent and randomize SSRCs
Adds a custom User-Agent header to REST requests identifying OBS as the
client.

Randomizes SSRCs to avoid potential issues with servers that do not
rewrite them before forwarding.
2023-07-18 12:33:00 -04:00
田七不甜 7ed3ceba79 README.rst: Fix GitHub Actions status badge target link 2023-07-18 11:38:17 -04:00
PatTheMav c1347439eb
CI: Fix updated workflows using outdated Flatpak actions 2023-07-18 01:59:14 +02:00
gxalpha 3f12318700 README.rst: Fix GitHub Actions status badge 2023-07-18 01:46:44 +02:00
PatTheMav 401aa7933a
CI: Fix team identifier check in macOS codesigning repository action 2023-07-18 01:19:16 +02:00
cg2121 04629afe68 UI: Adjust size policy for properties view
Now the properties won't be squished when making the properties
dialog smaller.
2023-07-17 17:46:46 -03:00
Ryan Foster e70e4934ef
Merge pull request #8881 from PatTheMav/ci-update
CI: Update GitHub Actions workflows with repository actions and updated build scripts
2023-07-17 15:35:51 -04:00
PatTheMav 0993147954
CI: Delete legacy build and formatting check scripts 2023-07-17 20:10:12 +02:00
PatTheMav 0838b74060
CI: Delete legacy workflows for GitHub Actions 2023-07-17 20:09:53 +02:00
PatTheMav 96a48e86c3
CI: Add new reusable workflows for GitHub Actions 2023-07-17 20:09:53 +02:00
PatTheMav d6b98def22
CI: Add new repository actions for GitHub 2023-07-17 20:09:52 +02:00
PatTheMav ae897c2764
CI: Add new build and packaging scripts for Linux 2023-07-17 19:49:18 +02:00
PatTheMav 902843634c
CI: Add new build and packaging scripts for macOS 2023-07-17 19:49:18 +02:00
PatTheMav 1cfa06a2aa
CI: Add zsh-based build framework files for macOS 2023-07-17 19:49:18 +02:00