From: Robert Joly Date: Tue, 20 Jan 2009 00:49:48 +0000 (+0000) Subject: Made sure RTP timestamp, ssrc and marker bit are transferred from FS to OPAL structure. X-Git-Tag: v1.0.3~654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61ee3131913e13af38f04904752ad0f92a6dbf3b;p=thirdparty%2Ffreeswitch.git Made sure RTP timestamp, ssrc and marker bit are transferred from FS to OPAL structure. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11303 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_opal/mod_opal.cpp b/src/mod/endpoints/mod_opal/mod_opal.cpp index 606e4d0e82..b461ad8dd6 100644 --- a/src/mod/endpoints/mod_opal/mod_opal.cpp +++ b/src/mod/endpoints/mod_opal/mod_opal.cpp @@ -1229,6 +1229,9 @@ switch_status_t FSMediaStream::write_frame(const switch_frame_t *frame, switch_i 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;