Comments (7)
We, together with @emptycrown, have built minimal example application that uses obs-studio-node to record screen capture:
https://github.com/Envek/obs-studio-node-example
I tried to keep the code as simple and straightforward as possible to have only essential things there.
from obs-studio-node.
First of all you need to build this into a nodejs package by following the instructions
This is where the package exposes it's c++ code to the js api:
https://github.com/stream-labs/obs-studio-node/blob/staging/js/module.ts
So every Object defined there will be acessible in your js code, if you import the module.
It might be helpful to look at the test code in /tests/.
(I cannot guarantee that my information here are correct, because i never used obs-studio-node. I am just assuming based on the code)
from obs-studio-node.
Just a little example how to create a stream out of two sources and preview it and I'd be happy to create a pull request with a more detailed documentation after I've figured that out.
But I'd need a starting point...
from obs-studio-node.
@hrueger Did you ever get an example app working with node? Would love to see a simple example if possible -- thanks a bunch! Even just seeing the basic layout could save me a lot of time.
from obs-studio-node.
@emptycrown No, unfortunately, I couldn't. I'm working on using obs-websocket-js to control obs. If you can make it work with obs-studio-node
, I'd love to see that!
from obs-studio-node.
Thanks for doing that, it looks very good. If you decide to share this tutorial through the official repository, it would be a pleasure for me to look at it.
from obs-studio-node.
I'm working on this. Can I move the building instructions into BUILDING.md
and put the docs in the README.md
? Or do you prefer a DOCS.md
?
from obs-studio-node.
Related Issues (20)
- obs_studio_client.node is not a valid Win32 HOT 3
- camera switching problem
- SceneFactory.fromName return exception on duplicate scene HOT 1
- Cannot build with custom libobs (missing files in the OBS.app) in Mac HOT 5
- slobs-virtual-cam doesn't support Mac arm (m1/m2) chips
- amd_amf_h264 not configured in simple recording mode HOT 9
- audio often sounds robotic HOT 2
- [nodeobs_display.cpp] should WS_POPUP be removed for SetParent() ? HOT 1
- Is it possible to get the volume of the audio devices and change them? HOT 6
- how to adding SEI data to every frame
- Setting bitrate and name on audio tracks seems broken
- Overlay issues with preview display and HTML CANVAS HOT 1
- Question: Is obs-studio-node actually communiating with a running OBS instance? HOT 2
- Question: Which version should I use ? HOT 8
- mac(x86_64) compilation failed, "https://obsstudios3.streamlabs.com/libobs-osx-release-29.1.3sl6-x86_64.7z" non-existent HOT 3
- How to use example build in arm64 mac? HOT 2
- About " node-window-rendering" in macOS HOT 1
- Question: How to use this function? "SetWorkingDirectory"
- Cannot find module './obs_studio_client.node' or The file cannot be accessed by the system. HOT 4
- Virtual camera launch steps (Need help)
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-studio-node.