diff options
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia.h | 4 | ||||
-rw-r--r-- | pjmedia/include/pjmedia/errno.h | 19 | ||||
-rw-r--r-- | pjmedia/include/pjmedia/session.h | 2 | ||||
-rw-r--r-- | pjmedia/include/pjmedia/types.h | 3 |
4 files changed, 5 insertions, 23 deletions
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 <pjmedia/errno.h> #include <pjmedia/codec.h> #include <pjmedia/jbuf.h> -#include <pjmedia/mediamgr.h> +#include <pjmedia/endpoint.h> #include <pjmedia/rtcp.h> #include <pjmedia/rtp.h> -//#include <pjmedia/session.h> +#include <pjmedia/session.h> #include <pjmedia/sound.h> #include <pjmedia/sdp.h> #include <pjmedia/sdp_neg.h> 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 @@ -25,25 +25,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. */ #define PJMEDIA_ERRNO_START (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE) 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; |