mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 13:28:31 +00:00
windows build update to use more dynamic libs, fix some type issues, and fix jrtp build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@862 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
0673070b11
commit
a2c448e118
39 files changed
+4297
-107
No files matched your search
@@ -45,12 +45,14 @@ typedef enum {
|
||||
#ifndef uint32_t
|
||||
#ifdef WIN32
|
||||
typedef unsigned int uint32_t;
|
||||
typedef unsigned __int16 uint16_t;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
typedef SOCKET jrtp_sock_t;
|
||||
typedef SOCKET jrtp_socket_t;
|
||||
#else
|
||||
typedef int jrtp_socket_t;
|
||||
#endif
|
||||
|
||||
@@ -35,10 +35,8 @@
|
||||
#define RTPCONFIG_H
|
||||
|
||||
#if (defined(WIN32) || defined(_WIN32_WCE))
|
||||
typedef SOCKET jrtp_socket_t;
|
||||
#include "rtpconfig_win.h"
|
||||
#else
|
||||
typedef int jrtp_socket_t;
|
||||
#include "rtpconfig_unix.h"
|
||||
#endif // WIN32
|
||||
|
||||
|
||||
@@ -61,8 +61,8 @@ public:
|
||||
virtual int Create(size_t maxpacksize,const RTPTransmissionParams *transparams) = 0;
|
||||
virtual void Destroy() = 0;
|
||||
|
||||
virtual jrtp_socket_t GetRTPSocket() {}
|
||||
virtual jrtp_socket_t GetRTCPSocket() {}
|
||||
virtual jrtp_socket_t GetRTPSocket() = 0;
|
||||
virtual jrtp_socket_t GetRTCPSocket() = 0;
|
||||
|
||||
// The user MUST delete the returned instance when it is no longer needed
|
||||
virtual RTPTransmissionInfo *GetTransmissionInfo() = 0;
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
|
||||
#if ! (defined(WIN32) || defined(_WIN32_WCE))
|
||||
#include "rtptypes_unix.h"
|
||||
typedef int jrtp_socket_t;
|
||||
#else
|
||||
#include "rtptypes_win.h"
|
||||
typedef SOCKET jrtp_socket_t;
|
||||
#endif // WIN32
|
||||
Reference in new issue
Block a user