[commit] r11303 - freeswitch/trunk/src/mod/endpoints/mod_opal
Author: robertj Date: Mon Jan 19 18:49:48 2009 New Revision: 11303 Log: Made sure RTP timestamp, ssrc and marker bit are transferred from FS to OPAL structure. Modified: freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp Modified: freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp (original) +++ freeswitch/trunk/src/mod/endpoints/mod_opal/mod_opal.cpp Mon Jan 19 18:49:48 2009 @@ -1229,6 +1229,9 @@ RTP_DataFrame rtp; rtp.SetPayloadType(mediaFormat.GetPayloadType()); rtp.SetPayloadSize(frame->datalen); + rtp.SetTimestamp(frame->timestamp); + rtp.SetSyncSource(frame->ssrc); + rtp.SetMarker(frame->m); memcpy(rtp.GetPayloadPtr(), frame->data, frame->datalen); if (GetPatch()->PushFrame(rtp)) return SWITCH_STATUS_SUCCESS;
participants (1)
-
FreeSWITCH SVN