/**********************************************************************
*   Copyright	: (C) 2006 Video Surveillance(China) Co. Ltd. 
*   Source File  : rtplib.h
*   Product	  : VS
*   Component	: Streaming Server
*   Version	  : 1.0.0.1
*   Author	   : Lance Li
*   Date		 : 2007-3-21 11:53:08
*   Description  : interface for RtpStack
*   Modification :
*   ------------------------------------------------------------------
*   No.	Date	 Author	  Comment
*   ------------------------------------------------------------------
*   1)  Mar/21/2007 Lance Li	new
***********************************************************************/
#ifndef RTPLIB_H
#define RTPLIB_H

#include "rtpsession.h"
#include "rtppacket.h"
#include "rtpudpv4transmitter.h"
#include "rtpipv4address.h"
#include "rtpsessionparams.h"
#include "rtperrors.h"
#include "jmutex.h"

#ifndef WIN32
	#include <netinet/in.h>
	#include <arpa/inet.h>
#else
	#include <winsock2.h>
#endif // WIN32

inline void RtpSocketInit(void)
{
#ifdef WIN32
	WSADATA dat;
	WSAStartup(MAKEWORD(2,2),&dat);
#endif // WIN32
}

inline void RtpSocketClean(void)
{
#ifdef WIN32
	WSACleanup();
#endif // WIN32
}

#endif /* RTPLIB_H */

