The easier overlay to get started with is video which just takes a single mp4 file and a name as a parameter. The basic types are text, video, or html (see 'Modules' below for more details). Hostname: 'localhost', // Binds server to this host (optional)ĭirectory: '/', // URL you want to point OBS/Xsplit at (optional, default: '/')Įvents: new Events.EventEmitter() // Listens to events to trigger overlaysįirst, you should decide what type of overlay you want to display on your stream. The start() function accepts the following optional parameters via a single json object: Start the overlay server: Overlays.start(options).Define any optional settings var options = (see Config below).Include the module in your codebase: var overlays = require('twitch-overlay').You can pair this with lots of other modules such as hpc-bot to integrate with a chat bot or twitch-soundboard to play overlays manually via your browser. You can load the default URL '/' into your OBS/Xsplit client which will render overlays with a transparent background. This library will add an express-based server that listens for events (via a simple EventEmitter) and plays overlays when it receives an event. Animated overlays for Twitch streamers that can be loaded into OBS or XSplit
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |