Janus RabbitMQEventHandler plugin.
More...
#include "eventhandler.h"
#include <math.h>
#include <amqp.h>
#include <amqp_framing.h>
#include <amqp_tcp_socket.h>
#include <amqp_ssl_socket.h>
#include "../debug.h"
#include "../config.h"
#include "../mutex.h"
#include "../utils.h"
#include "../events.h"
Janus RabbitMQEventHandler plugin.
- Author
- Piter Konstantinov pit.h.nosp@m.ere@.nosp@m.gmail.nosp@m..com
- Copyright
- GNU General Public License v3
This is a trivial RabbitMQ event handler plugin for Janus
Event handlers documentation
◆ JANUS_RABBITMQEVH_AUTHOR
#define JANUS_RABBITMQEVH_AUTHOR "Meetecho s.r.l." |
◆ JANUS_RABBITMQEVH_DESCRIPTION
#define JANUS_RABBITMQEVH_DESCRIPTION "This is a trivial RabbitMQ event handler plugin for Janus." |
◆ JANUS_RABBITMQEVH_ERROR_INVALID_ELEMENT
#define JANUS_RABBITMQEVH_ERROR_INVALID_ELEMENT 413 |
◆ JANUS_RABBITMQEVH_ERROR_INVALID_REQUEST
#define JANUS_RABBITMQEVH_ERROR_INVALID_REQUEST 411 |
◆ JANUS_RABBITMQEVH_ERROR_MISSING_ELEMENT
#define JANUS_RABBITMQEVH_ERROR_MISSING_ELEMENT 412 |
◆ JANUS_RABBITMQEVH_ERROR_UNKNOWN_ERROR
#define JANUS_RABBITMQEVH_ERROR_UNKNOWN_ERROR 499 |
◆ JANUS_RABBITMQEVH_EXCHANGE_TYPE
#define JANUS_RABBITMQEVH_EXCHANGE_TYPE "fanout" |
◆ JANUS_RABBITMQEVH_NAME
#define JANUS_RABBITMQEVH_NAME "JANUS RabbitMQEventHandler plugin" |
◆ JANUS_RABBITMQEVH_PACKAGE
#define JANUS_RABBITMQEVH_PACKAGE "janus.eventhandler.rabbitmqevh" |
◆ JANUS_RABBITMQEVH_VERSION
#define JANUS_RABBITMQEVH_VERSION 1 |
◆ JANUS_RABBITMQEVH_VERSION_STRING
#define JANUS_RABBITMQEVH_VERSION_STRING "0.0.1" |
◆ create()
◆ janus_rabbitmqevh_connect()
int janus_rabbitmqevh_connect |
( |
void | | ) |
|
◆ janus_rabbitmqevh_destroy()
void janus_rabbitmqevh_destroy |
( |
void | | ) |
|
◆ janus_rabbitmqevh_get_api_compatibility()
int janus_rabbitmqevh_get_api_compatibility |
( |
void | | ) |
|
◆ janus_rabbitmqevh_get_author()
const char * janus_rabbitmqevh_get_author |
( |
void | | ) |
|
◆ janus_rabbitmqevh_get_description()
const char * janus_rabbitmqevh_get_description |
( |
void | | ) |
|
◆ janus_rabbitmqevh_get_name()
const char * janus_rabbitmqevh_get_name |
( |
void | | ) |
|
◆ janus_rabbitmqevh_get_package()
const char * janus_rabbitmqevh_get_package |
( |
void | | ) |
|
◆ janus_rabbitmqevh_get_version()
int janus_rabbitmqevh_get_version |
( |
void | | ) |
|
◆ janus_rabbitmqevh_get_version_string()
const char * janus_rabbitmqevh_get_version_string |
( |
void | | ) |
|
◆ janus_rabbitmqevh_handle_request()
json_t * janus_rabbitmqevh_handle_request |
( |
json_t * | request | ) |
|
◆ janus_rabbitmqevh_incoming_event()
void janus_rabbitmqevh_incoming_event |
( |
json_t * | event | ) |
|
◆ janus_rabbitmqevh_init()
int janus_rabbitmqevh_init |
( |
const char * | config_path | ) |
|