Fork me on GitHub
Loading...
Searching...
No Matches
Files
Duktape plugin API

Duktape plugin (aka, how to write your own plugin in JavaScript) More...

Collaboration diagram for Duktape plugin API:

Files

file  janus_duktape.c
 Janus JavaScript plugin (via Duktape)
 
file  janus_duktape_data.h
 Janus Duktape data/session definition (headers)
 
file  janus_duktape_extra.c
 Janus Duktape plugin extra hooks.
 
file  janus_duktape_extra.h
 Janus Duktape plugin extra hooks (headers)
 

Detailed Description

Duktape plugin (aka, how to write your own plugin in JavaScript)

The Janus Duktape plugin allows you to write your application logic in JavaScript, instead of creating a new plugin in C: check the documentation in janus_duktape.c for info on the APIs. Some additional hooks in C may be required, which is what the janus_duktape_data.h and janus_duktape_extra.c code is for.