Janus NoSIP plugin.
More...
#include "plugin.h"
#include <arpa/inet.h>
#include <net/if.h>
#include <sys/socket.h>
#include <netdb.h>
#include <poll.h>
#include <jansson.h>
#include "../debug.h"
#include "../apierror.h"
#include "../config.h"
#include "../mutex.h"
#include "../record.h"
#include "../rtp.h"
#include "../rtpsrtp.h"
#include "../rtcp.h"
#include "../ip-utils.h"
#include "../sdp-utils.h"
#include "../utils.h"
|
janus_plugin * | create (void) |
|
int | janus_nosip_init (janus_callbacks *callback, const char *config_path) |
|
void | janus_nosip_destroy (void) |
|
int | janus_nosip_get_api_compatibility (void) |
|
int | janus_nosip_get_version (void) |
|
const char * | janus_nosip_get_version_string (void) |
|
const char * | janus_nosip_get_description (void) |
|
const char * | janus_nosip_get_name (void) |
|
const char * | janus_nosip_get_author (void) |
|
const char * | janus_nosip_get_package (void) |
|
void | janus_nosip_create_session (janus_plugin_session *handle, int *error) |
|
struct janus_plugin_result * | janus_nosip_handle_message (janus_plugin_session *handle, char *transaction, json_t *message, json_t *jsep) |
|
void | janus_nosip_setup_media (janus_plugin_session *handle) |
|
void | janus_nosip_incoming_rtp (janus_plugin_session *handle, janus_plugin_rtp *packet) |
|
void | janus_nosip_incoming_rtcp (janus_plugin_session *handle, janus_plugin_rtcp *packet) |
|
void | janus_nosip_hangup_media (janus_plugin_session *handle) |
|
void | janus_nosip_destroy_session (janus_plugin_session *handle, int *error) |
|
json_t * | janus_nosip_query_session (janus_plugin_session *handle) |
|
void | janus_nosip_sdp_process (janus_nosip_session *session, janus_sdp *sdp, gboolean answer, gboolean update, gboolean *changed) |
|
char * | janus_nosip_sdp_manipulate (janus_nosip_session *session, janus_sdp *sdp, gboolean answer) |
|
Janus NoSIP 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 NoSIP plugin documentation for more details.
Plugins
#define DEFAULT_RTP_RANGE_MAX 60000 |
#define DEFAULT_RTP_RANGE_MIN 10000 |
#define JANUS_NOSIP_AUTHOR "Meetecho s.r.l." |
#define JANUS_NOSIP_DESCRIPTION "This is a simple RTP bridging plugin that leaves signalling details (e.g., SIP) up to the application." |
#define JANUS_NOSIP_ERROR_INVALID_ELEMENT 444 |
#define JANUS_NOSIP_ERROR_INVALID_JSON 441 |
#define JANUS_NOSIP_ERROR_INVALID_REQUEST 442 |
#define JANUS_NOSIP_ERROR_INVALID_SDP 447 |
#define JANUS_NOSIP_ERROR_IO_ERROR 448 |
#define JANUS_NOSIP_ERROR_MISSING_ELEMENT 443 |
#define JANUS_NOSIP_ERROR_MISSING_SDP 446 |
#define JANUS_NOSIP_ERROR_NO_MESSAGE 440 |
#define JANUS_NOSIP_ERROR_RECORDING_ERROR 449 |
#define JANUS_NOSIP_ERROR_TOO_STRICT 450 |
#define JANUS_NOSIP_ERROR_UNKNOWN_ERROR 499 |
#define JANUS_NOSIP_ERROR_WRONG_STATE 445 |
#define JANUS_NOSIP_NAME "JANUS NoSIP plugin" |
#define JANUS_NOSIP_PACKAGE "janus.plugin.nosip" |
#define JANUS_NOSIP_VERSION 1 |
#define JANUS_NOSIP_VERSION_STRING "0.0.1" |
void janus_nosip_destroy |
( |
void |
| ) |
|
int janus_nosip_get_api_compatibility |
( |
void |
| ) |
|
const char * janus_nosip_get_author |
( |
void |
| ) |
|
const char * janus_nosip_get_description |
( |
void |
| ) |
|
const char * janus_nosip_get_name |
( |
void |
| ) |
|
const char * janus_nosip_get_package |
( |
void |
| ) |
|
int janus_nosip_get_version |
( |
void |
| ) |
|
const char * janus_nosip_get_version_string |
( |
void |
| ) |
|
int janus_nosip_init |
( |
janus_callbacks * |
callback, |
|
|
const char * |
config_path |
|
) |
| |