tt2468
cf99c68843
Requests: Fix useDecibel response when volume is -infinity
...
When the volume in OBS is -infinity, `GetVolume` returns a decibel value of
either 0, or in some cases no `volume` property at all. This makes `GetVolume`
return a decibel value of -100.0 if the real volume is -infinity.
2020-05-28 22:45:08 -07:00
tt2468
da66ad6d41
Merge branch '4.x-current' into feature/setsourcename
2020-05-26 01:41:11 -07:00
tt2468
e3e62c3903
General: Fix a few warnings
...
Fix a few build warnings on windows because im ocd
2020-05-15 16:52:08 -07:00
tt2468
631ed022ed
Requests: Add SetSourceName (renaming sources)
...
Adds the `SetSourceName` request which can be used to rename sources.
Also works on scenes since scenes in OBS are also sources.
2020-05-15 16:13:24 -07:00
Stéphane Lepin
e9c17c9a1d
Merge pull request #496 from Palakis/request-setsourcemonitortype
...
Requests: Add audio monitoring requests
2020-05-15 04:20:07 +02:00
Stéphane Lepin
f8c8e42ae9
requests: rename Get/SetAudioMonitor to Get/SetAudioMonitorType
2020-05-15 04:10:40 +02:00
Stéphane Lepin
0b0560019a
requests(Get/SetAudioMonitor): change values to camelCase for consistency
2020-05-15 04:08:40 +02:00
Stéphane Lepin
53e98dbe15
Merge pull request #484 from Palakis/add-screenshot-params
...
Requests: Add new parameters to TakeSourceScreenshot
2020-05-15 02:48:08 +02:00
Stéphane Lepin
0eaa9187ea
requests(TakeSourceScreenshot): improved docs
2020-05-15 02:35:53 +02:00
Stéphane Lepin
33b080b3b8
Merge pull request #495 from Palakis/volume-decibel-support
...
Requests: Add useDecibel bool to GetVolume and SetVolume
2020-05-14 22:47:33 +02:00
Stéphane Lepin
1c85894472
request(SetVolume): simplified params check
2020-05-14 22:31:10 +02:00
Stéphane Lepin
ba4e5959b1
requests(Get/SetVolume): code nitpicks
2020-05-14 22:24:58 +02:00
tt2468
0852f32b05
Merge branch '4.x-current' into request-setsourcemonitortype
2020-05-14 05:13:29 -07:00
Stéphane Lepin
98db248776
Merge pull request #491 from Palakis/depricate-browserrequests
...
Deprecate SetBrowserSourceProperties and GetBrowserSourceProperties
2020-05-12 11:37:00 +02:00
tt2468
88c72cd80a
Add audio monitoring request items.
2020-05-10 20:07:57 -07:00
tt2468
728ea16701
Introduce useDecibel
bool to GetVolume
and SetVolume
to give a better, built-in option for people to use decibels of attenuation instead of amplitude.
2020-05-10 18:39:24 -07:00
tt2468
8d88bc19ed
Deprecate SetBrowserSourceProperties and GetBrowserSourceProperties
...
Both of these requests are doing essentially the same thing as `GetSourceSettings` and `SetSourceSettings`, so there is no reason to have the extra bloat.
2020-05-08 13:15:24 -07:00
tt2468
333ffa0e89
compressionQuality
should be for embed and file saving
2020-04-30 20:17:11 -07:00
tt2468
4ded810ba9
Add optional fileFormat
and fileCompressionRatio
parameters to TakeSourceScreenshot
2020-04-30 20:09:13 -07:00
tt2468
97836cc5eb
Remove extra source type strings
2020-04-30 10:58:10 -07:00
tt2468
f61bc809dd
[Bug Fix] Fix FreeType2 source type recognition
...
OBS appears to be using a new format for the FreeType2 source, so we add the new kinds.
One thing I'm unsure on is if anything still uses the old naming stuff `text_ft2`/`text_ft2_v2`, since if not then we should not check
2020-04-27 08:30:39 -07:00
Stéphane Lepin
898e761988
requests(freetype2 source): allow functions to operate on v2 sources
2020-03-29 16:13:28 +02:00
Stéphane Lepin
846d52ebe5
requests(gdiplus source): allow functions to operate on v2 sources
2020-03-29 16:09:16 +02:00
Stéphane Lepin
5088d7dd86
requests(SetSyncOffset): allow negative offsets
2020-03-11 14:10:38 +01:00
Stéphane Lepin
06c29b7810
Merge branch '4.x-current' into handler-protocol-refactor
2020-01-28 17:05:15 +01:00
Stéphane Lepin
f0b8aad4b1
docs(SetSourceFilterVisibility): fix filterEnabled type
2020-01-28 16:07:19 +01:00
Stéphane Lepin
928dc30810
WSRequestHandler(Sources): fixes
2019-11-15 20:30:44 +01:00
Stéphane Lepin
6845cda146
Update WSRequestHandler_Sources.cpp
2019-11-12 11:40:36 +01:00
Stéphane Lepin
c51f20eb99
requests(SetSourceFilterVisibility): fix parameter value
2019-11-11 13:43:33 +01:00
Stéphane Lepin
be897c4df2
requests(sources): fix typo
2019-11-11 13:42:16 +01:00
Stéphane Lepin
61af0ec9c6
requests(sources): add SetSourceFilterVisibility method
2019-11-11 12:58:36 +01:00
Stéphane Lepin
897f115363
requests(sources): add GetSourceFilterInfo method
2019-11-11 12:53:22 +01:00
Stéphane Lepin
b8fcf0355c
requests(GetSourceFilters): add "enabled" status field
2019-11-11 12:44:13 +01:00
Barry Carlyon
8d396b1518
Adjust wording based on feedback
2019-10-17 11:53:32 +01:00
Barry Carlyon
ba327b746a
Wording Tweak
2019-10-15 20:13:00 +01:00
Barry Carlyon
7d11f912c9
Revise Documentation to note that a Scene Name can be provided
2019-10-15 20:11:40 +01:00
Stéphane Lepin
b25d8d8201
requests(sources): fix linux browser source id
2019-08-26 21:01:05 +02:00
ZyanKLee
9e4fc9eb73
allow for "linuxbrowser_source" to be controlled
...
based on the request at https://github.com/bazukas/obs-linuxbrowser/issues/46 I did a quick search for the string "browser_source" and these seem to be the only two occurrences. Enhancing the conditional with the identifier of the obs-linuxbrowser plugin, this should solve the problem.
As I'm currently not at home, I can't verify this does what it should, but I will test it later tonight.
@mjc666 if you are still interested please give it a test run to verify if these two plugins work together now.
2019-08-22 19:44:12 +02:00
Stéphane Lepin
65a1f8b746
GetSourceTypesList: fix docs
...
Fixes #348
2019-06-18 18:38:52 +02:00
Stéphane L
c95b709f39
TakeSourceScreenshot: fix docs
2019-05-04 12:19:15 +02:00
Stéphane L
5745da5466
TakeSourceScreenshot: always provide an absolute path in imageFile
response
2019-05-04 11:50:29 +02:00
Stéphane L
7177913d9b
TakeSourceScreenshot: ability to choose between save to file and/or data uri
2019-05-03 22:01:40 +02:00
Stéphane Lepin
53b9a46feb
TakeSourceScreenshot: direct file save
2019-05-03 19:14:17 +02:00
Stéphane L
d46c1f8687
TakeSourceScreenshot: fix off-screen sources rendering
2019-05-03 01:14:58 +02:00
Stéphane L
c92477b457
TakeSourceScreenshot: fix tearing issue when scaling
2019-05-03 01:11:36 +02:00
Stéphane L
059244bb32
TakeSourceScreenshot: fix heap corruption on windows
2019-05-03 00:49:55 +02:00
Stéphane L
f10c0d2558
TakeSourceScreenshot: use default quality
2019-05-03 00:02:53 +02:00
Stéphane L
f5ae89500f
TakeSourceScreenshot: fix docs
2019-05-02 23:13:11 +02:00
Stéphane L
2e3a24d32e
TakeSourceScreenshot: add width and height optional parameters
2019-05-02 23:13:11 +02:00
Stéphane L
f955d81c5e
requests: rename GetSourceImage to TakeSourceScreenshot
2019-05-02 23:13:11 +02:00