Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Streamlabs OBS RPC 2.0 client for remote control
License
hooddanielc/slobs-client
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch branches/tags
Branches Tags
Could not load branches
Nothing to show
Could not load tags
Nothing to show
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Cancel Create
- Local
- Codespaces
HTTPS GitHub CLI
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Latest commit message
Commit time
README.md
npm install --save slobs-client
npm install npm run build
Obtain an address where streamlabs is running, and a token from streamlabs remote settings.
import from 'slobs-client'; const main = async () => < // connect and authenticate const client = await SlobsClient.connect('http://127.0.0.1:59650/api', '********'); // get a list of scenes const scenes = await client.request('ScenesService', 'getScenes'); console.log('list of scenes', scenes); // set volume of all current scene audio sources const audioSources = await client.request('AudioService', 'getSourcesForCurrentScene'); for (let i = 0; i < audioSources.length; ++i) < // set the deflection (volume) to half await client.request(audioSources[i].resourceId, 'setDeflection', 1.0); >// subscribe to events await client.subscribe('ScenesService', 'sceneSwitched', (activeScene: any) => < console.log('scene switch event', activeScene); >); > main().catch((err) => < console.error(err); process.exit(1); >);
This client will work with anything defined in streamlabs-obs-api-docs. Refer to those docs for more comprehensive documentation.
About
Streamlabs OBS RPC 2.0 client for remote control
Example
Obtain an address where streamlabs is running, and a token from streamlabs remote settings.
import from 'slobs-client'; const main = async () => < // connect and authenticate const client = await SlobsClient.connect('http://127.0.0.1:59650/api', '********'); // get a list of scenes const scenes = await client.request('ScenesService', 'getScenes'); console.log('list of scenes', scenes); // set volume of all current scene audio sources const audioSources = await client.request('AudioService', 'getSourcesForCurrentScene'); for (let i = 0; i < audioSources.length; ++i) < // set the deflection (volume) to half await client.request(audioSources[i].resourceId, 'setDeflection', 1.0); >// subscribe to events await client.subscribe('ScenesService', 'sceneSwitched', (activeScene: any) => < console.log('scene switch event', activeScene); >); > main().catch((err) => < console.error(err); process.exit(1); >);
API Documentation
This client will work with anything defined in streamlabs-obs-api-docs. Refer to those docs for more comprehensive documentation.
slobs-client
streamlabs-obs rpc 2.0 client for remote control For more information about how to use this package see README
Latest version published 2 years ago
License: MIT
NPM
Ensure you’re using the healthiest npm packages
Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice
Get started free
Package Health Score
No known security issues
Explore Similar Packages
Security
No known security issues
All security vulnerabilities belong to production dependencies of direct and indirect packages.
Security and license risk for significant versions
License MIT
Security Policy No
Is your project affected by vulnerabilities?
Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.
Popularity
Weekly Downloads (2)
Download trend
Popularity by version
GitHub Stars ?
Contributors –
Direct Usage Popularity
The npm package slobs-client receives a total of 2 downloads a week. As such, we scored slobs-client popularity level to be Limited.
Based on project statistics from the GitHub repository for the npm package slobs-client, we found that it has been starred ? times.
Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.
Community
Readme.md Yes
Contributing.md No
Code of Conduct No
Contributors 0
Funding No
This project has seen only 10 or less contributors.
Embed Package Health Score Badge
package health: 40/100
Copy Markdown
Maintenance
Commit Frequency
Unavailable commit data
Open Issues ?
Last Release 2 years ago
Last Commit unknown
Further analysis of the maintenance status of slobs-client based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Inactive. An important project maintenance signal to consider for slobs-client is that it hasn’t seen any new versions released to npm in the past 12 months, and could be considered as a discontinued project, or that which receives low attention from its maintainers. In the past month we didn’t find any pull request activity or change in issues status has been detected for the GitHub repository.
Keep your project healthy
Check your package.json
Ensure all the packages you’re using are healthy and well-maintained
Snyk Vulnerability Scanner
Get health score & security insights directly in your IDE
Package
Node.js Compatibility not defined
Age 2 years
Dependencies 2 Direct
Versions 5
Install Size 22.2 kB
Dist-tags 1
# of Files 10
Maintainers 1
TS Typings No
slobs-client has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.
Readme
slobs-client
Installing
npm install --save slobs-client
Building
npm install npm run build
Example
Obtain an address where streamlabs is running, and a token from streamlabs remote settings.
import from 'slobs-client'; const main = async () => < // connect and authenticate const client = await SlobsClient.connect('https://127.0.0.1:59650/api', '********'); // get a list of scenes const scenes = await client.request('ScenesService', 'getScenes'); console.log('list of scenes', scenes); // set volume of all current scene audio sources const audioSources = await client.request('AudioService', 'getSourcesForCurrentScene'); for (let i = 0; i < audioSources.length; ++i) < // set the deflection (volume) to half await client.request(audioSources[i].resourceId, 'setDeflection', 1.0); >// subscribe to events await client.subscribe('ScenesService', 'sceneSwitched', (activeScene: any) => < console.log('scene switch event', activeScene); >); > main().catch((err) => < console.error(err); process.exit(1); >);
API Documentation
This client will work with anything defined in streamlabs-obs-api-docs. Refer to those docs for more comprehensive documentation.
slobs-client dependencies
slobs-client development dependencies
FAQs
What is slobs-client?
streamlabs-obs rpc 2.0 client for remote control. Visit Snyk Advisor to see a full health score report for slobs-client, including popularity, security, maintenance & community analysis.
Is slobs-client popular?
The npm package slobs-client receives a total of 2 weekly downloads. As such, slobs-client popularity was classified as limited. Visit the popularity section on Snyk Advisor to see the full health analysis.
Is slobs-client safe to use?
The npm package slobs-client was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as safe to use. See the full health analysis review.
При подготовке материала использовались источники:
https://github.com/hooddanielc/slobs-client
https://www.npmjs.com/package/slobs-client
https://snyk.io/advisor/npm-package/slobs-client