Fork me on GitHub
Data Structures | Macros | Typedefs | Functions
janus_echotest.c File Reference

Janus EchoTest plugin. More...

#include "plugin.h"
#include <jansson.h>
#include "../debug.h"
#include "../apierror.h"
#include "../config.h"
#include "../mutex.h"
#include "../record.h"
#include "../rtp.h"
#include "../rtcp.h"
#include "../sdp-utils.h"
#include "../utils.h"
Include dependency graph for janus_echotest.c:

Data Structures

struct  janus_echotest_message
struct  janus_echotest_session


#define JANUS_ECHOTEST_DESCRIPTION   "This is a trivial EchoTest plugin for Janus, just used to showcase the plugin interface."
#define JANUS_ECHOTEST_NAME   "JANUS EchoTest plugin"
#define JANUS_ECHOTEST_AUTHOR   "Meetecho s.r.l."
#define JANUS_ECHOTEST_PACKAGE   "janus.plugin.echotest"


typedef struct janus_echotest_message janus_echotest_message
typedef struct janus_echotest_session janus_echotest_session


janus_plugincreate (void)
int janus_echotest_init (janus_callbacks *callback, const char *config_path)
void janus_echotest_destroy (void)
int janus_echotest_get_api_compatibility (void)
int janus_echotest_get_version (void)
const char * janus_echotest_get_version_string (void)
const char * janus_echotest_get_description (void)
const char * janus_echotest_get_name (void)
const char * janus_echotest_get_author (void)
const char * janus_echotest_get_package (void)
void janus_echotest_create_session (janus_plugin_session *handle, int *error)
struct janus_plugin_resultjanus_echotest_handle_message (janus_plugin_session *handle, char *transaction, json_t *message, json_t *jsep)
json_tjanus_echotest_handle_admin_message (json_t *message)
void janus_echotest_setup_media (janus_plugin_session *handle)
void janus_echotest_incoming_rtp (janus_plugin_session *handle, int video, char *buf, int len)
void janus_echotest_incoming_rtcp (janus_plugin_session *handle, int video, char *buf, int len)
void janus_echotest_incoming_data (janus_plugin_session *handle, char *label, char *buf, int len)
void janus_echotest_slow_link (janus_plugin_session *handle, int uplink, int video)
void janus_echotest_hangup_media (janus_plugin_session *handle)
void janus_echotest_destroy_session (janus_plugin_session *handle, int *error)
json_tjanus_echotest_query_session (janus_plugin_session *handle)

Detailed Description

Janus EchoTest plugin.

Lorenzo Miniero

Check the EchoTest plugin documentation for more details.


Macro Definition Documentation

#define JANUS_ECHOTEST_AUTHOR   "Meetecho s.r.l."
#define JANUS_ECHOTEST_DESCRIPTION   "This is a trivial EchoTest plugin for Janus, just used to showcase the plugin interface."
#define JANUS_ECHOTEST_NAME   "JANUS EchoTest plugin"
#define JANUS_ECHOTEST_PACKAGE   "janus.plugin.echotest"

Typedef Documentation

Function Documentation

janus_plugin* create ( void  )
void janus_echotest_create_session ( janus_plugin_session handle,
int *  error 
void janus_echotest_destroy ( void  )
void janus_echotest_destroy_session ( janus_plugin_session handle,
int *  error 
int janus_echotest_get_api_compatibility ( void  )
const char * janus_echotest_get_author ( void  )
const char * janus_echotest_get_description ( void  )
const char * janus_echotest_get_name ( void  )
const char * janus_echotest_get_package ( void  )
int janus_echotest_get_version ( void  )
const char * janus_echotest_get_version_string ( void  )
json_t * janus_echotest_handle_admin_message ( json_t message)
struct janus_plugin_result * janus_echotest_handle_message ( janus_plugin_session handle,
char *  transaction,
json_t message,
json_t jsep 
void janus_echotest_hangup_media ( janus_plugin_session handle)
void janus_echotest_incoming_data ( janus_plugin_session handle,
char *  label,
char *  buf,
int  len 
void janus_echotest_incoming_rtcp ( janus_plugin_session handle,
int  video,
char *  buf,
int  len 
void janus_echotest_incoming_rtp ( janus_plugin_session handle,
int  video,
char *  buf,
int  len 
int janus_echotest_init ( janus_callbacks callback,
const char *  config_path 
json_t * janus_echotest_query_session ( janus_plugin_session handle)
void janus_echotest_setup_media ( janus_plugin_session handle)
void janus_echotest_slow_link ( janus_plugin_session handle,
int  uplink,
int  video