git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1107 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West
2006-04-10 18:09:02 +00:00
parent e907575bb3
commit e28a9ee83b
2 changed files with 22 additions and 10 deletions
+4 -1
View File
@@ -585,7 +585,10 @@ static switch_status exosip_read_frame(switch_core_session *session, switch_fram
now = switch_time_now();
tech_pvt->read_frame.flags = 0;
tech_pvt->read_frame.datalen = switch_rtp_zerocopy_read(tech_pvt->rtp_session, &tech_pvt->read_frame.data, &payload, &tech_pvt->read_frame.flags);
if (tech_pvt->read_frame.datalen < 0) {
return SWITCH_STATUS_FALSE;
}
if (timeout > -1) {
elapsed = (unsigned int)((switch_time_now() - started) / 1000);