rtperr.h
资源名称:h323.zip [点击查看]
上传用户:hnnddl
上传日期:2007-01-06
资源大小:3580k
文件大小:1k
源码类别:
IP电话/视频会议
开发平台:
WINDOWS
- /*
- * $Revision: 1.2 $
- * $Date: 1997/11/20 19:24:09 $
- */
- ////////////////////////////////////////////////////////////////
- // Copyright (c) 1996,97 Lucent Technologies //
- // All Rights Reserved //
- // //
- // THIS IS UNPUBLISHED //
- // PROPRIETARY SOURCE //
- // CODE OF Lucent Technologies //
- // AND elemedia //
- // //
- // The copyright notice above does not evidence any //
- // actual or intended publication of such source code//
- ////////////////////////////////////////////////////////////////
- //
- #if !defined(__RTPERR_H__)
- #include "api/apierr.h"
- #define RTP_SUCCESS 0
- // Aliases for general error codes
- #define RTP_MEM_ALLOC_FAILED PROT_CODE_MEM_ALLOC_FAILED
- #define RTP_INVALID_PARAM PROT_CODE_INVALID_PARAM
- // RTP specific error codes
- #define RTP_UNKNOWN_ERROR PROT_CODE_MAX + 1
- #define RTP_SSRC_COLLISION PROT_CODE_MAX + 2
- #define RTP_RECEIVED_BYE PROT_CODE_MAX + 3
- #define RTP_BAD_PACKET PROT_CODE_MAX + 4
- #define RTP_ENDPOINT_IN_PROBATION PROT_CODE_MAX + 5
- #define RTP_OUTOFORDER_RTP_PACKET PROT_CODE_MAX + 6
- #define RTP_BAD_SEQ_NO PROT_CODE_MAX + 7
- #define RTP_ERROR(CODE)
- (ProtReturnCode)PROT_ERR(PROT_FACILITY_CODE_RTP,0,(CODE))
- #endif //__RTPERR_H__