Janus NanomsgEventHandler plugin.
More...
#include "eventhandler.h"
#include <math.h>
#include <nanomsg/nn.h>
#include <nanomsg/pubsub.h>
#include <nanomsg/inproc.h>
#include <nanomsg/ipc.h>
#include <nanomsg/pipeline.h>
#include "../debug.h"
#include "../config.h"
#include "../mutex.h"
#include "../utils.h"
#include "../events.h"
Janus NanomsgEventHandler plugin.
- Author
- Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om
- Copyright
- GNU General Public License v3
This is a trivial Nanomsg event handler plugin for Janus
Event handlers documentation
#define JANUS_NANOMSGEVH_AUTHOR "Meetecho s.r.l." |
#define JANUS_NANOMSGEVH_DESCRIPTION "This is a trivial Nanomsg event handler plugin for Janus." |
#define JANUS_NANOMSGEVH_ERROR_INVALID_ELEMENT 413 |
#define JANUS_NANOMSGEVH_ERROR_INVALID_REQUEST 411 |
#define JANUS_NANOMSGEVH_ERROR_MISSING_ELEMENT 412 |
#define JANUS_NANOMSGEVH_ERROR_UNKNOWN_ERROR 499 |
#define JANUS_NANOMSGEVH_NAME "JANUS NanomsgEventHandler plugin" |
#define JANUS_NANOMSGEVH_PACKAGE "janus.eventhandler.nanomsgevh" |
#define JANUS_NANOMSGEVH_VERSION 1 |
#define JANUS_NANOMSGEVH_VERSION_STRING "0.0.1" |
void janus_nanomsgevh_destroy |
( |
void |
| ) |
|
int janus_nanomsgevh_get_api_compatibility |
( |
void |
| ) |
|
const char * janus_nanomsgevh_get_author |
( |
void |
| ) |
|
const char * janus_nanomsgevh_get_description |
( |
void |
| ) |
|
const char * janus_nanomsgevh_get_name |
( |
void |
| ) |
|
const char * janus_nanomsgevh_get_package |
( |
void |
| ) |
|
int janus_nanomsgevh_get_version |
( |
void |
| ) |
|
const char * janus_nanomsgevh_get_version_string |
( |
void |
| ) |
|
json_t * janus_nanomsgevh_handle_request |
( |
json_t * |
request | ) |
|
void janus_nanomsgevh_incoming_event |
( |
json_t * |
event | ) |
|
int janus_nanomsgevh_init |
( |
const char * |
config_path | ) |
|