update jrtp to 3.4.0 version with our mods. Pending: Autotools rerun on this.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@868 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2006-03-17 19:57:18 +00:00
parent d86231404d
commit fe9ec23f9b
96 changed files with 3280 additions and 1548 deletions
+11 -11
View File
@@ -47,8 +47,8 @@ protected:
if (dat->IsOwnSSRC())
return;
u_int32_t ip;
u_int16_t port;
uint32_t ip;
uint16_t port;
if (dat->GetRTPDataAddress() != 0)
{
@@ -58,7 +58,7 @@ protected:
}
else if (dat->GetRTCPDataAddress() != 0)
{
const RTPIPv4Address *addr = (const RTPIPv4Address *)(dat->GetRTPDataAddress());
const RTPIPv4Address *addr = (const RTPIPv4Address *)(dat->GetRTCPDataAddress());
ip = addr->GetIP();
port = addr->GetPort()-1;
}
@@ -78,8 +78,8 @@ protected:
if (dat->IsOwnSSRC())
return;
u_int32_t ip;
u_int16_t port;
uint32_t ip;
uint16_t port;
if (dat->GetRTPDataAddress() != 0)
{
@@ -89,7 +89,7 @@ protected:
}
else if (dat->GetRTCPDataAddress() != 0)
{
const RTPIPv4Address *addr = (const RTPIPv4Address *)(dat->GetRTPDataAddress());
const RTPIPv4Address *addr = (const RTPIPv4Address *)(dat->GetRTCPDataAddress());
ip = addr->GetIP();
port = addr->GetPort()-1;
}
@@ -111,8 +111,8 @@ protected:
if (dat->ReceivedBYE())
return;
u_int32_t ip;
u_int16_t port;
uint32_t ip;
uint16_t port;
if (dat->GetRTPDataAddress() != 0)
{
@@ -122,7 +122,7 @@ protected:
}
else if (dat->GetRTCPDataAddress() != 0)
{
const RTPIPv4Address *addr = (const RTPIPv4Address *)(dat->GetRTPDataAddress());
const RTPIPv4Address *addr = (const RTPIPv4Address *)(dat->GetRTCPDataAddress());
ip = addr->GetIP();
port = addr->GetPort()-1;
}
@@ -150,8 +150,8 @@ int main(void)
#endif // WIN32
MyRTPSession sess;
u_int16_t portbase,destport;
u_int32_t destip;
uint16_t portbase,destport;
uint32_t destip;
std::string ipstr;
int status,i,num;