Comments (6)
I haven't been able to get a bounds value out of obs-websocket, I don't believe those values come out of obs-studio at all right now.
I'm not entirely sure on changing dimensions, I know at the moment obs-websocket doesn't support that. Palakis has a placeholder for that functionality, though, so it might be possible with the current obs-studio API and just hasn't been written.
from obs-websocket-js.
No, atm you can't move an item or change its size. Gonna check this out in the coming days.
from obs-websocket-js.
Any progress on this? Was toying with an idea of a NodeCG dashboard panel using this to change a scene's sources / transforms on the fly and wanted to see how far I could push that.
Specifically looking at these:
from obs-websocket-js.
@krazyken04 the bounds issue is fixed in the current codebase of obs-websocket. It will be included in the next release of obs-websocket.
from obs-websocket-js.
I'm rewriting this project from scratch. Just have had some other priorities and stuff that comes first.
I'll have Position/Transform in there, they're not currently in a 'released' version of obs-websocket. If you'd like to have the functionality now you can call the following methods, but I can't guarantee I'll keep this internal formatting for the next version.
ws._sendRequest('SetSceneItemPosition', { 'item': 'SOURCE_NAME', 'x': 123, 'y': 123 }, callback);
ws._sendRequest('SetSceneItemTransform', { 'item': 'SOURCE_NAME', 'x-scale': 2.5, 'y-scale': 2.5, 'rotation': 90 }, callback);
Callback will just be the standard err, data
as a pass/fail.
from obs-websocket-js.
Rewrite was published. I'll be doing some documentation and stuff, but in the meantime read here for more info
Note that I pretty much abandoned all the custom method names and such.
from obs-websocket-js.
Related Issues (20)
- How to get the virtual camera data flow
- Is it possible to query the status of a DeckLink output? HOT 1
- SetSourceSettings not working
- Possible to use for updating stream key? HOT 1
- SetRecordingFolder not working HOT 1
- Cannot use namespace 'EventEmitter' as a type. HOT 8
- OBS crash when calling SetSceneItemEnabled in batch mode on websocket via Node only
- 微信小程序构建npm 提示找不到npm的入口文件
- 'CurrentSceneChanged' event is in the event instructions but doesn't exist any more.
- GetSceneList disconnect socket HOT 1
- Unable to "SetStreamServiceSettings" after stopping the stream
- Trying to understand the Audio Mixer slider logic with dB
- Send videofile to source TypeError: obs.send is not a function HOT 1
- Request: Change Text(GDI+) content ?
- Create group and insert inputs to group
- SetSceneSceneTransitionOverride type does not support providing null to remove
- Control views and docks
- how to create a media source by obs-websocket-js
- OBS update to obs-websocket version 5.4.2 preventing connection to obs-websocket-js version 5.0.5 HOT 1
- CommonJS imports with Node16 ModuleResolutions broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-websocket-js.