Skip to content

Simplest possible plugin for Janus. Intended as a instructional sample for plugin builders.

License

Notifications You must be signed in to change notification settings

mqp/janus-helloworld-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Janus "hello world" plugin

It was a big pain in the butt to figure out how to independently build plugins and event handlers for Janus outside of the Janus repository build scripts, so here is a skeleton for building them using autotools.

The plugins/ directory contains a simple plugin, and the events/ directory contains a simple event handler. You can build them both with make at the top level, or build them individually in their respective directories.

The samples given are compatible with an old version of Janus (0.4.3). They will likely require modification to work correctly with newer versions. However, the build process and general plugin structure AFAIK has stayed the same.

./bootstrap
./configure --prefix=/opt/janus  # or wherever your janus install lives
make
make install  # installs into /opt/janus/lib/janus/plugins and /opt/janus/lib/janus/events

About

Simplest possible plugin for Janus. Intended as a instructional sample for plugin builders.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published