From 1a7571f62112ae25317663cba5df39c8ff1690c7 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 9 Feb 2006 00:13:40 +0000 Subject: Integration of pjmedia and pjsip error subsystem to pjlib git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@162 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/include/pjmedia.h | 4 ++-- pjmedia/include/pjmedia/errno.h | 19 ------------------- pjmedia/include/pjmedia/session.h | 2 +- pjmedia/include/pjmedia/types.h | 3 ++- 4 files changed, 5 insertions(+), 23 deletions(-) (limited to 'pjmedia/include') diff --git a/pjmedia/include/pjmedia.h b/pjmedia/include/pjmedia.h index 7587b73e..2f160601 100644 --- a/pjmedia/include/pjmedia.h +++ b/pjmedia/include/pjmedia.h @@ -23,10 +23,10 @@ #include #include #include -#include +#include #include #include -//#include +#include #include #include #include diff --git a/pjmedia/include/pjmedia/errno.h b/pjmedia/include/pjmedia/errno.h index 8d1f6e14..d57a23b6 100644 --- a/pjmedia/include/pjmedia/errno.h +++ b/pjmedia/include/pjmedia/errno.h @@ -24,25 +24,6 @@ PJ_BEGIN_DECL -/** - * Guidelines on error message length. - */ -#define PJMEDIA_ERR_MSG_SIZE 64 - -/** - * Get error message for the specified error code. - * - * @param status The error code. - * @param buffer The buffer where to put the error message. - * @param bufsize Size of the buffer. - * - * @return The error message as NULL terminated string, - * wrapped with pj_str_t. - */ -PJ_DECL(pj_str_t) pjmedia_strerror( pj_status_t status, char *buffer, - pj_size_t bufsize); - - /** * Start of error code relative to PJ_ERRNO_START_USER. */ diff --git a/pjmedia/include/pjmedia/session.h b/pjmedia/include/pjmedia/session.h index f6a9fc11..cbef4424 100644 --- a/pjmedia/include/pjmedia/session.h +++ b/pjmedia/include/pjmedia/session.h @@ -40,7 +40,7 @@ PJ_BEGIN_DECL /** * Create new session offering based on the local and remote SDP. - * The session initially will be inactive. + * The session will start immediately. * * @param endpt The PJMEDIA endpoint instance. * @param stream_cnt Maximum number of streams to be created. This diff --git a/pjmedia/include/pjmedia/types.h b/pjmedia/include/pjmedia/types.h index 6dd44bf7..726a33ec 100644 --- a/pjmedia/include/pjmedia/types.h +++ b/pjmedia/include/pjmedia/types.h @@ -133,8 +133,9 @@ typedef struct pjmedia_sock_info { pj_sock_t rtp_sock; - pj_sock_t rtcp_sock; pj_sockaddr_in rtp_addr_name; + pj_sock_t rtcp_sock; + pj_sockaddr_in rtcp_addr_name; } pjmedia_sock_info; -- cgit v1.2.3