Commit Graph

616 Commits

Author SHA1 Message Date
c355c72f4b requesthandler, utils: Add search offset to GetSceneItemId
Allows you to select a specific match by offset, or select the
last (top) scene item by specifying `-1`.
2022-04-13 02:01:40 -07:00
e6c48990d6 Merge pull request #925 from t2t2/patch-1
README: Add obs-websocket-js to client libraries
2022-03-26 18:34:53 -07:00
620f11e8a3 Readme: Add obs-websocket-js to client libraries 2022-03-22 20:16:48 +02:00
b02a32ce06 ci: Apply version suffix to macOS builds 5.0.0-beta1 2022-03-01 15:26:45 -08:00
ce31ed177d base: Stuff for beta1 2022-03-01 14:50:12 -08:00
71a32c981c utils: Reserve vector capacity where possible
Slight optimization for iteration
2022-03-01 14:48:10 -08:00
4440327141 docs(ci): Update generated docs - bbf9c28 [skip ci] 2022-03-01 22:37:04 +00:00
bbf9c283c0 eventhandler: Add SceneTransitionVideoEnded 2022-03-01 14:36:35 -08:00
9ac7c5890e eventhandler: Add SceneTransitionEnded 2022-03-01 14:36:35 -08:00
a7698a732f eventhandler: Add SceneTransitionStarted + cleanup
This commit cleans up a bunch of code in the event handler,
making it much easier to understand (IMO). I feel much better
about how we handle connecting and disconnecting callbacks. Before,
we were actually allowing a bunch of callbacks to stay connected and
get cleaned up. Now, we actually properly disconnect them.
2022-03-01 14:36:35 -08:00
e15b2edb4f Merge pull request #917 from you-win/readme/add-godot-obs-websocket-gd
README: Add Godot obs-websocket-gd to library list
2022-02-23 16:25:47 -08:00
7fade98407 README: Add Godot obs-websocket-gd to library list 2022-02-23 19:20:07 -05:00
e0057b05db docs(ci): Update generated docs - aa13828 [skip ci] 2022-02-16 22:26:10 +00:00
aa13828cf5 requesthandler: Add SetSourceFilterName 2022-02-16 13:37:18 -08:00
db2ffa569a Base: Fix some formatting 2022-02-16 13:30:10 -08:00
66c14dced5 requesthandler: Reorder a filter request 2022-02-16 13:23:49 -08:00
29b2b1bd5d docs(ci): Update generated docs - 361547a [skip ci] 2022-02-16 21:17:24 +00:00
361547a96d requesthandler: Filter requests & events (#888)
* Implement filter requests

* Fix CreateSourceFilter

* Implement most Filter events

* build against 27.1.3

* Update main.yml

* SourceFilterNameChanged rename

* revert main.yml changes

* rename SourceFilterCreated and revert CI changes

* cleanup

* Base: Various cleanups + fix -Werror

* Base: A few nitpicks/fixes

* requesthandler: Fix CreateSourceFilter

* utils: Fix CreateSourceFilter

Use obs_source_t* instead of OBSSourceAutoRelease to prevent double
release

* requesthandler: Remove filterIndex from CreateSourceFilter

The purpose of sceneItemEnabled in CreateSceneItem is to hide the
scene item while we still hold the scene mutex (guaranteeing the input
will never be shown). Since we don't hold a mutex when creating
filters, there's no reason to do any extra steps.

* requesthandler: Validate input/filter kinds in *DefaultSettings

Co-authored-by: tt2468 <tt2468@gmail.com>
2022-02-16 13:17:06 -08:00
b3a5c55bef CI: Only codesign when not PR 2022-02-16 12:00:01 -08:00
f76de69b34 CI: Use windows-2019 explicitly
Github actions recently migrated windows-latest to windows-2022 and
in the process broke a bunch of shit.
2022-02-16 11:55:57 -08:00
0b294734a2 docs(ci): Update generated docs - 7b52d7e [skip ci] 2022-02-15 05:02:03 +00:00
7b52d7e015 requesthandler: Move GetRecordDirectory to config
More consistency
2022-02-14 17:11:07 -08:00
9664f28483 requesthandler: Finish transition requests 2022-02-14 17:01:44 -08:00
d9070f9edb requesthandler: Add scene scene transition override requests
It's named like:
`Get Scene (Scene Transition) Override`
2022-02-14 15:57:33 -08:00
559212682a docs(ci): Update generated docs - fa8a091 [skip ci] 2022-02-13 23:20:38 +00:00
fa8a091a3e RequestHandler: Add SendStreamCaption 2022-02-13 15:20:19 -08:00
ab137ce8a4 ci: restrict push builds to the master branch 2022-02-14 00:19:19 +01:00
5a3bed7d8b ci(github): add macOS variant 2022-02-14 00:17:09 +01:00
3362d3f998 ci(macos): bump Packages version 5.0.0-notarize-test 2022-02-13 23:51:39 +01:00
7ca8140a34 ci(macos): use a common password for keychain import steps 2022-02-13 23:47:32 +01:00
341259e610 RequestHandler: Save config after profile parameter change
Fixes a bug where changed parameters were not applying across loads

Fixes #895
2022-02-13 14:46:49 -08:00
c64e360c2d Merge pull request #904 from dnaka91/fix-int-type
server: Fix int type of batch execution enum
2022-02-13 14:41:45 -08:00
7c35d6e738 docs(ci): Update generated docs - b206321 [skip ci] 2022-02-13 22:41:10 +00:00
b206321b05 Merge pull request #903 from dnaka91/fix-field-name-docs
docs: Fix wrong field name in `SceneItemLockStateChanged`
2022-02-13 14:40:49 -08:00
403c69463a server: Fix int type of batch execution enum 2022-02-02 10:36:59 +09:00
eeb7bac4b7 ci(macos): import installer certificate in existing keychain 2022-02-01 10:19:36 +01:00
7113055218 ci(macos): configure productsign with installer certificate 2022-02-01 10:12:42 +01:00
ddf752fd03 docs: Fix wrong field name in SceneItemLockStateChanged 2022-01-29 23:50:12 +09:00
e80bcad1e1 docs(ci): Update generated docs - d2ddde3 [skip ci] 2022-01-29 00:56:54 +00:00
d2ddde3229 eventhandler: Add a few transition events 2022-01-28 16:56:21 -08:00
931a1630ce README: Update link to workflow 2022-01-28 16:07:23 -08:00
5cbc1019ff docs(ci): Update generated docs - 1422723 [skip ci] 2022-01-28 23:56:23 +00:00
14227237d7 Base: [BREAKING] Update default WebSocket port to 4455
Our original strategy of relying on clients to simply detect the
protocol version and use the correct one was optimistic at best,
and it has been realized during the transition process from 4.x to 5.x
that sharing 4444 is not practical. As such, we'll be using 4455 in
the future for 5.x.

If you are a client developer, we suggest continuing to maintain
appropriate protocol version detection and support, as the WebSocket
port is at the end of the day simply a suggestion.
2022-01-28 15:38:08 -08:00
3e2984fd7a eventhandler: Add SceneItemSelected event
So I didn't think anyone actually used this, but I was wrong. So I'm
adding it again.
2022-01-28 15:33:28 -08:00
96a2fd8c25 docs(ci): Update generated docs - 38d7859 [skip ci] 2022-01-27 05:34:40 +00:00
38d78596ce requesthandler: Add replay buffer requests 2022-01-26 21:19:10 -08:00
13c7b83c34 requesthandler: Fix compiler warnings with latest OBS master
OBS has deprecated the `_addref` functions, so the new norm is to use
`_get_ref`.
2022-01-26 17:40:45 -08:00
1844f85e1f CI: Add MacOS CI
Add MacOS CI for `master`

Co-authored-by: tt2468 <tt2468@gmail.com>
2022-01-18 19:26:42 -08:00
bc0b499944 docs(ci): Update generated docs - ae906bb [skip ci] 2022-01-19 03:24:00 +00:00
ae906bb283 RequestHandler: Add VirtualCam requests 2022-01-18 19:23:06 -08:00