Giter VIP home page Giter VIP logo

obs-websocket-gd's Introduction

OBS Websocket GD

Chat on Discord

A Godot addon to interact with obs-websocket. Tested on Godot 4.0.2.

Game/App Quickstart

  1. Install obs-websocket for your platform. Recent distributions of OBS should come with obs-websocket already included
  2. Configure obs-websocket in OBS and set the password to something of your choosing
  3. Clone this project
  4. Add the addons/obs-websocket-gd/obs_websocket.gd node to your scene
  5. By default, the addon tries to connect to localhost:4455 with a password of password. Change the password in addons/obs_websocket_gd/obs_websocket.gd to the password set in step 2. The variables are exported for convenience
  6. (OPTIONAL) Connect some listener to the data_received(update_data) signal in obs_websocket.gd. data_received outputs an ObsMessage data structure. This data structure stores the raw response and also maps the data to the expected OpCode fields.
  7. Call establish_connection() on the obs_websocket.gd node to connect to obs-websocket. The connection_established, connection_authenticated, and connection_closed signals are available to connect to
  8. Call the send_command(command: String, data: Dictionary = {}) method on the obs_websocket.gd instance. Reference the obs-websocket protocol to find out what commands + data to send.

obs-websocket-gd's People

Contributors

you-win avatar godofgrunts avatar captainwasabi avatar xarses avatar tens0rcat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.