glib was dropped from libortp, and paraslash does not need it
either. So kill the check for glib in configure.ac and no longer
link para_server, para_recv, and para_audiod gainst glib. Moreover,
change guint32 to uint32_t in ortp_recv.c and ortp_send.c.
o compress filter speed improvements
o compress filter speed improvements
+ o update to libortp-0.9.1
+
+
0.2.11 (2006-03-11) "atomic duality"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0.2.11 (2006-03-11) "atomic duality"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
########################################################################### ortp
have_ortp="yes"
########################################################################### ortp
have_ortp="yes"
-pkg_modules="glib-2.0 >= 2.0.4"
-PKG_CHECK_MODULES(GLIB, [$pkg_modules], [], [
- have_ortp="no"
-])
-CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
AC_CHECK_HEADERS([ortp/ortp.h], [], [
have_ortp="no"
])
AC_CHECK_HEADERS([ortp/ortp.h], [], [
have_ortp="no"
])
server_errlist_objs="$server_errlist_objs ortp_send"
server_errlist_objs="$server_errlist_objs ortp_send"
- recv_ldflags="$recv_ldflags $GLIB_LIBS -lortp"
- server_ldflags="$server_ldflags $GLIB_LIBS -lortp"
- audiod_ldflags="$audiod_ldflags $GLIB_LIBS -lortp"
+ recv_ldflags="$recv_ldflags -lortp"
+ server_ldflags="$server_ldflags -lortp"
+ audiod_ldflags="$audiod_ldflags -lortp"
AC_DEFINE(HAVE_ORTP, 1, [define to 1 to turn on ortp support])
else
AC_DEFINE(HAVE_ORTP, 1, [define to 1 to turn on ortp support])
else
*/
/** \file ortp_recv.c paraslash's ortp receiver */
*/
/** \file ortp_recv.c paraslash's ortp receiver */
#include "ortp.h"
#include "recv.h"
#include "ortp.h"
#include "recv.h"
#define CHUNK_SIZE 128 * 1024
#define CHUNK_SIZE 128 * 1024
-extern gint msg_to_buf(mblk_t *, char *, gint);
+extern int msg_to_buf(mblk_t *, char *, int);
/**
* data specific to the ortp receiver
/**
* data specific to the ortp receiver
/** number of consecutive bad chunks */
int c_bad;
/** the current timestamp which is passed to the receiving function of libortp */
/** number of consecutive bad chunks */
int c_bad;
/** the current timestamp which is passed to the receiving function of libortp */
/** \a timestamp increases by this amount */
/** \a timestamp increases by this amount */
r->parse_config = ortp_recv_parse_config;
ortp_init();
r->parse_config = ortp_recv_parse_config;
ortp_init();
- ortp_set_debug_file("oRTP", NULL);
/** \file ortp_send.c para_server's ortp sender */
/** \file ortp_send.c para_server's ortp sender */
#include "server.cmdline.h"
#include "server.h"
#include "afs.h"
#include "send.h"
#include "list.h"
#include "server.cmdline.h"
#include "server.h"
#include "afs.h"
#include "send.h"
#include "list.h"
#include "ortp.h"
#include "string.h"
#include "ortp.h"
#include "string.h"
void ortp_send_init(struct sender *s)
{
ortp_init();
void ortp_send_init(struct sender *s)
{
ortp_init();
- ortp_set_debug_file("oRTP", NULL);
INIT_LIST_HEAD(&targets);
s->info = ortp_info;
s->help = ortp_help;
INIT_LIST_HEAD(&targets);
s->info = ortp_info;
s->help = ortp_help;