005 Meld Bridge

Permalink:

Meld Bridge

A Node.js bridge for securely controlling Meld Studio from within Resonite.

Features

Security considerations

Resonite should NEVER be allowed to directly connect to Meld directly (ws://127.0.0.1:13376/) because Meld currently has no authentication and accepts everything that is a valid Message

Getting Started

Install and setup Meld studio

  1. https://meldstudio.co/
  2. Enable remote connections:
    1. File>Preferences
    2. Advanced > [X] Allow remote connections

Setup Meld Bridge

WIP

Resonite

WIP

  1. Use my premade Integration: "MeldBridgeClient"
    • You can find the newest version in my public folder under
    • Mint Shock Public/Systems/Integrations/Meld Bridge
    • Comming soon
  2. Make your own by sending messages in the following format:
    Calling Methods
{
  "secret": "MySuperSecretKey123",
  "method": "toggleRecord"
}

Methods with arguments

{
  "secret": "MySuperSecretKey123",
  "method": "setStagedScene",
  "args": ["E9B25AD7242E540F5D2507237ACDAE37"]
}

Subscribing to signals

{
  WIP
  Currently only works for sessionChanged
}

sendCommand

{
  WIP
}

please ensure that a user does not allow direct connections to Meld.
I do this by trying to connect directly. If that fails then everything is good. If it succeeds I prompt the user to Reset host access settings and try again.
My "MeldBridgeClient" in specific does the following and I suggest you do the same:

  1. Try to connect to the Bridge. Ask for Host access permissions if not already given.
  2. On success try to connect to Meld directly.
    1. The host access Message the user now sees has a clear Text prompting them to decline the direct connection
    2. If they refused direct connection then everything is fine. If they accepted it I will yell at the user to reset host access settings and try again.

Resources

Meld API Documentation
Meld Studio's WebChannel API Documentation

License

This project is licensed under the MIT License.

ToDo