Changeset 1712
- Timestamp:
- Jan 19, 2008 1:36:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/users/nanang/pjmedia/src/pjmedia/errno.c
r1710 r1712 25 25 26 26 #if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) 27 pj_str_t srtp_transport_getliberrstr(int err);27 const char* get_libsrtp_errstr(int err); 28 28 #endif 29 29 … … 155 155 PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPINCRYPTOTAG, "Invalid SRTP crypto tag" ), 156 156 PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPINTRANSPORT, "Invalid SDP media transport for SRTP" ), 157 PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPREQCRYPTO, "SRTP crypto attribute required in SDP" ),157 PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPREQCRYPTO, "SRTP crypto attribute required" ), 158 158 PJ_BUILD_ERR( PJMEDIA_SRTP_ESDPREQSECTP, "Secure transport required in SDP media descriptor" ) 159 159 }; … … 201 201 pj_str_t msg; 202 202 203 msg = srtp_transport_getliberrstr(err); 204 205 errstr.ptr = buf; 203 msg = pj_str((char*)get_libsrtp_errstr(err)); 204 206 205 pj_strncpy_with_null(&errstr, &msg, bufsize); 207 206 return errstr;
Note: See TracChangeset
for help on using the changeset viewer.