Commit graph

14240 commits

Author SHA1 Message Date
tytan652 d23b65a2bf UI: Track streaming state in OBSBasic
Avoid using controls dock buttons for streaming state. Use signals and
OBSBasic member variables instead.
2024-06-05 17:39:54 -04:00
tytan652 9093275336 UI: Track recording state in OBSBasic
Avoid using controls dock buttons for recording states. Use signals and
OBSBasic member variables instead.
2024-06-05 17:39:54 -04:00
tytan652 cb024a0696 UI: Use connection with modeSwitch button 2024-06-05 17:39:54 -04:00
derrod 29994afe7f UI: Retain existing last output resolution 2024-06-05 13:44:24 -07:00
Ryan Foster 0cc357f6dc
Merge pull request #10633 from palana/ruwen/upstream-multitrack-video-ui
UI: Add (eRTMP) multitrack video output
2024-06-04 21:43:14 -04:00
Ruwen Hahn 1aa81117d6 UI: Add output settings indicators for eRTMP multitrack video 2024-06-04 20:50:46 -04:00
Ruwen Hahn 42a3f903a9 UI: Add OBSPropertiesView::SetDisabled
Disables all children of the properties view.
2024-06-04 20:50:46 -04:00
Ruwen Hahn 2007b4b844 UI: Add Multitrack Video support for auto config 2024-06-04 20:50:46 -04:00
Ruwen Hahn 3f1362f7e7 UI: Add Multitrack Video settings 2024-06-04 20:50:46 -04:00
Ruwen Hahn c8950900c3 UI: Add eRTMP Multitrack Video Output 2024-06-04 20:50:46 -04:00
Ruwen Hahn 43a1b30994 UI: Increase size of log buffer
Dumping config json from nlohmann requires more than 4096 bytes
2024-06-04 18:49:05 -04:00
Ruwen Hahn 976b200254 UI: Add custom server support for Twitch 2024-06-04 18:49:05 -04:00
derrod 432a2a8e9c README.rst: Add SAST Tools section 2024-06-04 18:37:44 -04:00
derrod dff4dd9acf CI: Run PVS-Studio analysis on Windows 2024-06-04 18:37:44 -04:00
Sean DuBois b9de99a103 obs-webrtc: Increase RtcpNackResponder size
Before we used the default value set by libdatachannel. At
higher bitrates the cache would be undersized. Because of the undersized
cache we wouldn't have enough NACK history to fix the stream.
2024-06-04 14:37:44 -04:00
Warchamp7 52ae5fc4bd UI: Update volume meter appearance 2024-06-03 17:20:21 -04:00
cg2121 17d654fcfc UI: Make status bar record output a weak ref
This changes the status bar record output from a strong reference
to a weak one.
2024-06-03 17:00:12 -04:00
CodeYan01 9c427c5f93 docs: Add versionadded for 30.x functions 2024-06-03 13:52:34 -04:00
derrod acd4854ced obs-outputs: Add native mp4 output to legacy cmake 2024-06-03 12:34:49 -04:00
CodeYan01 64f6c30cb1 docs: Add return type of obs_source_audio_active 2024-06-01 20:00:37 -04:00
derrod 7a870fd923 obs-qsv11: Fix QSV failing on multi-vendor multi-GPU systems
Adds index correction present in QSV test binary to Windows encoder
initialization as well. This is necessary when the adapter index of the
Intel GPU is not the same as the "implementation" index in MFX.
2024-06-01 19:40:33 -04:00
Kurt Kartaltepe fc1ab5fcbc obs-ffmpeg: Check correct VA-API codec support
Previously, we just checked for H264 regardless of which codec was
selected. This mostly worked, but on Fedora they ship AV1 without H264
or HEVC. In that case users wont see AV1 as an option.
2024-06-01 19:14:46 -04:00
derrod cf4681a9c3 docs: Document obs_frontend_recording_add_chapter() 2024-05-29 12:29:45 -04:00
KOU_CHANG e92010cc11 rtmp-services: Add sheeta 2024-05-29 12:22:24 -04:00
Lain f71a67cd3a
Merge pull request #10608 from derrod/obs-mp4-muxer
Native Hybrid MP4 Muxer
2024-05-28 21:55:58 -07:00
gxalpha 9eca7b7525 UI: Fix Qt 6.7 checkbox signal deprecations
qt/qtbase@3512fb1ec5 deprecated the
stateChanged signal of QCheckBoxes in favor of a new checkStateChanged
signal. The signals are the same, except that now the enum type is
passed explicitly (before the enum was passed as an argument but defined
as an int).
2024-05-28 16:29:26 -04:00
Tunghohin 51fd7fbaff UI: Removed unused friend classes 2024-05-28 15:04:05 -04:00
Kamal Mostafa d813b7837a cmake: Do not write build number file if OBS_BUILD_NUMBER set
Allows for configuration and build from a read-only-mounted source dir
by setting the build number externally. For example:
`cmake -DOBS_BUILD_NUMBER=1`
2024-05-28 14:33:44 -04:00
Ryan Foster 8c48f8c7b5
Merge pull request #10706 from derrod/ci-attestation
CI: Generate/Verify Attestation for Windows builds
2024-05-28 14:13:47 -04:00
derrod 609ddd075e CI: Verify build attestation during patch generation 2024-05-28 13:47:37 -04:00
derrod dfc842bfc4 CI: Update signing workflow commit and permissions 2024-05-28 13:47:37 -04:00
derrod b5b457d7b0 CI: Attest signed Windows build 2024-05-28 13:45:42 -04:00
derrod 8ac8118b7f UI: Add chapter frontend API and hotkey 2024-05-26 23:11:48 +02:00
derrod 4503f0a056 UI: Add Hybrid MP4 to format selection 2024-05-26 23:11:48 +02:00
derrod df2a75fe4b obs-outputs: Add native MP4 muxer 2024-05-26 23:11:48 +02:00
derrod e54af0d559 docs: Document newer JSON serialization functions 2024-05-25 17:29:28 -07:00
derrod 94d158c425 libobs: Add functions to serialize JSON with default values 2024-05-25 17:29:28 -07:00
gxalpha a92852f96b mac-avcapture: Improve av_capture_sync_info formatting 2024-05-25 17:14:24 -07:00
derrod 79632f96dd libobs: Fix buffer overrun in video_frame_init 2024-05-25 17:12:34 -07:00
gxalpha 175b0cbc83 UI: Update edit menu on source filter changes
Currently, when adding a filter to a source and then right-clicking it
or using the menu bar edit menu, it's not possible to copy the source's
filters. This is because the edit menu does not update on filter
changes.
Listening to the new global filters add/remove signal and updating the
edit menu will enable the copy option if a filter get added or disable
the option if the last filter gets removed.
2024-05-25 17:08:42 -07:00
gxalpha a1e0626c14 libobs: Add global source filter add/remove signals
Adds global signals for when a filter is added to or removed from a
source. These will be helpful for listening for changes to a sources
filters without having to attach and detach a signal handler, which
would be annoying in the context of for example context menus which
change sources rapidly.
2024-05-25 17:08:42 -07:00
gxalpha 4cf18a9abf UI: Add undo/redo to Paste Filters on audio mixer and scenes
Copy-Pasting filters on a scene or on a source via the audio mixer
context menu would not add an undo/redo action. This commit factors the
undo/redo logic out into a generic paste filters function that can be
used for pasting filters everywhere.
2024-05-25 17:06:21 -07:00
gxalpha 8184fa10a3 UI: Inline OBSBasic::ThemeChanged()
The majority of this method got removed in a prior commit [1]. Let's
inline the rest.

[1] 8dcfae9a39
2024-05-25 17:04:58 -07:00
tytan652 34d577d748 UI: Enforce completely Fusion Qt style on Linux
As of 8dcfae9a39, indicating the base
style to the proxy is completely functional.

It also bypasses QT_STYLE_OVERRIDE and -style, but since the system
theme is no longer available on Linux this is a non-issue.
2024-05-25 16:58:26 -07:00
Warchamp7 76bde59e22 UI: Adjust multiview border size 2024-05-25 16:55:02 -07:00
Warchamp7 40885b6b19 UI: Calculate label position using height and border 2024-05-25 16:55:02 -07:00
Warchamp7 8500515d27 UI: Adjust appearance of multiview labels 2024-05-25 16:55:02 -07:00
cg2121 5eeae2d8b2 UI: Change how the status bar gets weak stream output
The changes obs_output_get_weak_output to OBSGetWeakRef to be
consistent with the other UI code.
2024-05-25 16:21:10 -07:00
Ryan Foster cffdc15aac UI: Fix Grid Mode not persisting from View Menu
When clicking Grid Mode or List Mode from the context menu within the
Scenes list, whether or not Grid Mode is enabled persists between OBS
sessions. When clicking Grid or List from the View Menu, the setting
does not persist between OBS sessions. This seems to be a regression
from fc8c428521.

Previously, SceneTree's SetGridMode would set this config value. If the
intent is to not have SetGridMode directly set the config value, then
any function that calls SetGridMode other than the OBSBasic constructor
must instead set the config value.
2024-05-25 16:12:39 -07:00
Ruwen Hahn 52660beae2 obs-outputs: Remove FLV byte array style multitrack audio support 2024-05-24 16:22:16 -04:00