Janus WebSockets EventHandler plugin.
More...
#include "eventhandler.h"
#include <math.h>
#include <libwebsockets.h>
#include "../debug.h"
#include "../config.h"
#include "../mutex.h"
#include "../utils.h"
#include "../events.h"
Janus WebSockets EventHandler 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 WebSockets event handler plugin for Janus
Event handlers documentation
◆ CASE_STR
#define CASE_STR |
( |
| name | ) |
case name: return #name |
◆ JANUS_WSEVH_AUTHOR
#define JANUS_WSEVH_AUTHOR "Meetecho s.r.l." |
◆ JANUS_WSEVH_DESCRIPTION
#define JANUS_WSEVH_DESCRIPTION "This is a trivial WebSockets event handler plugin for Janus." |
◆ JANUS_WSEVH_ERROR_INVALID_ELEMENT
#define JANUS_WSEVH_ERROR_INVALID_ELEMENT 413 |
◆ JANUS_WSEVH_ERROR_INVALID_REQUEST
#define JANUS_WSEVH_ERROR_INVALID_REQUEST 411 |
◆ JANUS_WSEVH_ERROR_MISSING_ELEMENT
#define JANUS_WSEVH_ERROR_MISSING_ELEMENT 412 |
◆ JANUS_WSEVH_ERROR_UNKNOWN_ERROR
#define JANUS_WSEVH_ERROR_UNKNOWN_ERROR 499 |
◆ JANUS_WSEVH_MAX_RETRY_SECS
#define JANUS_WSEVH_MAX_RETRY_SECS 8 |
◆ JANUS_WSEVH_NAME
#define JANUS_WSEVH_NAME "JANUS WebSocketsEventHandler plugin" |
◆ JANUS_WSEVH_PACKAGE
#define JANUS_WSEVH_PACKAGE "janus.eventhandler.wsevh" |
◆ JANUS_WSEVH_VERSION
#define JANUS_WSEVH_VERSION 1 |
◆ JANUS_WSEVH_VERSION_STRING
#define JANUS_WSEVH_VERSION_STRING "0.0.1" |
◆ lws_sorted_usec_list_t
#define lws_sorted_usec_list_t void |
◆ WS_LIST_TERM
#define WS_LIST_TERM 0, NULL, 0 |
◆ janus_wsevh_client
typedef struct janus_wsevh_client janus_wsevh_client |
◆ create()
◆ janus_wsevh_destroy()
void janus_wsevh_destroy |
( |
void | | ) |
|
◆ janus_wsevh_get_api_compatibility()
int janus_wsevh_get_api_compatibility |
( |
void | | ) |
|
◆ janus_wsevh_get_author()
const char * janus_wsevh_get_author |
( |
void | | ) |
|
◆ janus_wsevh_get_description()
const char * janus_wsevh_get_description |
( |
void | | ) |
|
◆ janus_wsevh_get_name()
const char * janus_wsevh_get_name |
( |
void | | ) |
|
◆ janus_wsevh_get_package()
const char * janus_wsevh_get_package |
( |
void | | ) |
|
◆ janus_wsevh_get_version()
int janus_wsevh_get_version |
( |
void | | ) |
|
◆ janus_wsevh_get_version_string()
const char * janus_wsevh_get_version_string |
( |
void | | ) |
|
◆ janus_wsevh_handle_request()
◆ janus_wsevh_incoming_event()
void janus_wsevh_incoming_event |
( |
json_t * | event | ) |
|
◆ janus_wsevh_init()
int janus_wsevh_init |
( |
const char * | config_path | ) |
|