Janus Lua plugin.
More...
#include <jansson.h>
#include "janus_lua_data.h"
#include "janus_lua_extra.h"
|
janus_plugin * | create (void) |
|
int | janus_lua_init (janus_callbacks *callback, const char *config_path) |
|
void | janus_lua_destroy (void) |
|
int | janus_lua_get_api_compatibility (void) |
|
int | janus_lua_get_version (void) |
|
const char * | janus_lua_get_version_string (void) |
|
const char * | janus_lua_get_description (void) |
|
const char * | janus_lua_get_name (void) |
|
const char * | janus_lua_get_author (void) |
|
const char * | janus_lua_get_package (void) |
|
void | janus_lua_create_session (janus_plugin_session *handle, int *error) |
|
struct janus_plugin_result * | janus_lua_handle_message (janus_plugin_session *handle, char *transaction, json_t *message, json_t *jsep) |
|
json_t * | janus_lua_handle_admin_message (json_t *message) |
|
void | janus_lua_setup_media (janus_plugin_session *handle) |
|
void | janus_lua_incoming_rtp (janus_plugin_session *handle, janus_plugin_rtp *packet) |
|
void | janus_lua_incoming_rtcp (janus_plugin_session *handle, janus_plugin_rtcp *packet) |
|
void | janus_lua_incoming_data (janus_plugin_session *handle, janus_plugin_data *packet) |
|
void | janus_lua_data_ready (janus_plugin_session *handle) |
|
void | janus_lua_slow_link (janus_plugin_session *handle, int uplink, int video) |
|
void | janus_lua_hangup_media (janus_plugin_session *handle) |
|
void | janus_lua_destroy_session (janus_plugin_session *handle, int *error) |
|
json_t * | janus_lua_query_session (janus_plugin_session *handle) |
|
janus_lua_session * | janus_lua_lookup_session (janus_plugin_session *handle) |
|
Janus Lua 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
Check the Lua plugin documentation for more details.
Plugins Lua plugin API
◆ JANUS_LUA_AUTHOR
#define JANUS_LUA_AUTHOR "Meetecho s.r.l." |
◆ JANUS_LUA_DESCRIPTION
#define JANUS_LUA_DESCRIPTION "A custom plugin for the Lua framework." |
◆ JANUS_LUA_NAME
#define JANUS_LUA_NAME "Janus Lua plugin" |
◆ JANUS_LUA_PACKAGE
#define JANUS_LUA_PACKAGE "janus.plugin.lua" |
◆ JANUS_LUA_VERSION
#define JANUS_LUA_VERSION 1 |
◆ JANUS_LUA_VERSION_STRING
#define JANUS_LUA_VERSION_STRING "0.0.1" |
◆ janus_lua_async_event
typedef struct janus_lua_async_event janus_lua_async_event |
◆ janus_lua_async_event_type
◆ janus_lua_callback
typedef struct janus_lua_callback janus_lua_callback |
◆ janus_lua_event
◆ janus_lua_rtp_relay_packet
typedef struct janus_lua_rtp_relay_packet janus_lua_rtp_relay_packet |
◆ janus_lua_async_event_type
Enumerator |
---|
janus_lua_async_event_type_none | |
janus_lua_async_event_type_pushevent | |
◆ janus_lua_event
Enumerator |
---|
janus_lua_event_none | |
janus_lua_event_resume | |
janus_lua_event_exit | |
◆ create()
◆ janus_lua_create_session()
◆ janus_lua_data_ready()
◆ janus_lua_destroy()
void janus_lua_destroy |
( |
void | | ) |
|
◆ janus_lua_destroy_session()
◆ janus_lua_get_api_compatibility()
int janus_lua_get_api_compatibility |
( |
void | | ) |
|
◆ janus_lua_get_author()
const char * janus_lua_get_author |
( |
void | | ) |
|
◆ janus_lua_get_description()
const char * janus_lua_get_description |
( |
void | | ) |
|
◆ janus_lua_get_name()
const char * janus_lua_get_name |
( |
void | | ) |
|
◆ janus_lua_get_package()
const char * janus_lua_get_package |
( |
void | | ) |
|
◆ janus_lua_get_version()
int janus_lua_get_version |
( |
void | | ) |
|
◆ janus_lua_get_version_string()
const char * janus_lua_get_version_string |
( |
void | | ) |
|
◆ janus_lua_handle_admin_message()
◆ janus_lua_handle_message()
◆ janus_lua_hangup_media()
◆ janus_lua_incoming_data()
◆ janus_lua_incoming_rtcp()
◆ janus_lua_incoming_rtp()
◆ janus_lua_init()
int janus_lua_init |
( |
janus_callbacks * | callback, |
|
|
const char * | config_path ) |
◆ janus_lua_lookup_session()
◆ janus_lua_query_session()
◆ janus_lua_setup_media()
◆ janus_lua_slow_link()
◆ lua_ids
◆ lua_initialized
volatile gint lua_initialized = 0 |
◆ lua_janus_core
◆ lua_mutex
◆ lua_sessions
◆ lua_sessions_mutex
◆ lua_state
lua_State* lua_state = NULL |
◆ lua_stopping
volatile gint lua_stopping = 0 |