]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Made sure RTP timestamp, ssrc and marker bit are transferred from FS to OPAL structure.
authorRobert Joly <rjoly@nortel.com>
Tue, 20 Jan 2009 00:49:48 +0000 (00:49 +0000)
committerRobert Joly <rjoly@nortel.com>
Tue, 20 Jan 2009 00:49:48 +0000 (00:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11303 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_opal/mod_opal.cpp

index 606e4d0e82cb2db339b8bb478daf40ec9197357a..b461ad8dd67cce11aa994d205e71ed1bdf505564 100644 (file)
@@ -1229,6 +1229,9 @@ switch_status_t FSMediaStream::write_frame(const switch_frame_t *frame, switch_i
         RTP_DataFrame rtp;\r
         rtp.SetPayloadType(mediaFormat.GetPayloadType());\r
         rtp.SetPayloadSize(frame->datalen);\r
+        rtp.SetTimestamp(frame->timestamp);\r
+        rtp.SetSyncSource(frame->ssrc);\r
+        rtp.SetMarker(frame->m);\r
         memcpy(rtp.GetPayloadPtr(), frame->data, frame->datalen);\r
         if (GetPatch()->PushFrame(rtp))\r
             return SWITCH_STATUS_SUCCESS;\r