
Initialization is done, my-source.c for the definition of a custom ‘my-plugin’, you’d have something like my-plugin.c where plugin For example, if you were to create a plugin called Initialization, and then specific files for each individual object

The common way source files are organized is to have one file for plugin Libobs/graphics/graphics.h – Used for graphics renderingĬommon Directory Structure and CMakeLists.txt

Libobs/obs-properties.h – Used for generating properties for Libobs/obs-data.h – Used for managing settings for libobs Libobs/obs-service.h – Used for implementing services in Libobs/obs-encoder.h – Used for implementing encoders in Libobs/obs-output.h – Used for implementing outputs in plugin Libobs/obs-source.h – Used for implementing sources in plugin This file automatically includes the following files: Libobs/obs-module.h – The primary header used for creating plugin These are some notable headers commonly used by plugins: Writing your first plugin? We provide a basic template plugin Plugins can implement sources, outputs, encoders, and services. The ability to captureĪnd/or output audio/video, make a recording, output to an RTMP stream,Įncode in x264 are all examples of things that are accomplished via

Saving/Loading Objects and Object Management.Common Directory Structure and CMakeLists.txt.
