[asterisk-scf-commits] asterisk-scf/integration/media_rtp_pjmedia.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Aug 16 08:39:48 CDT 2010


branch "master" has been updated
       via  3884a3beaf955ed11e9bab7056048bfce36e1a42 (commit)
       via  fccd4fa7aa7b6aa5fe8d4d16bd97c828baa0b87b (commit)
      from  9d160adc44a5e9ec90d90ce62053816eba05e382 (commit)

Summary of changes:
 .gitmodules     |    4 ++--
 src/RTPSink.cpp |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 3884a3beaf955ed11e9bab7056048bfce36e1a42
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Aug 16 10:51:57 2010 -0300

    Update submodules with new locations.

diff --git a/.gitmodules b/.gitmodules
index b35270a..4efe8ad 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,6 @@
 [submodule "cmake"]
 	path = cmake
-	url = git at git.asterisk.org:hydra/cmake
+	url = git at git.asterisk.org:asterisk-scf/release/cmake
 [submodule "slice"]
 	path = slice
-	url = git at git.asterisk.org:hydra/slice
+	url = git at git.asterisk.org:asterisk-scf/integration/slice

commit fccd4fa7aa7b6aa5fe8d4d16bd97c828baa0b87b
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Aug 16 10:28:21 2010 -0300

    Copy frame payload to the RTP packet.

diff --git a/src/RTPSink.cpp b/src/RTPSink.cpp
index 3992027..cd02983 100644
--- a/src/RTPSink.cpp
+++ b/src/RTPSink.cpp
@@ -113,6 +113,7 @@ void StreamSinkRTPImpl::write(const Hydra::Media::V1::FrameSeq& frames, const Ic
 		pj_memcpy(packet, (const pjmedia_rtp_hdr*)header, header_len);
 
 		/* Now the actual payload */
+		pj_memcpy(packet + header_len, &(*frame)->payload[0], (*frame)->payload.size());
 
 		/* All done, transmission can now occur */
 		status = pjmedia_transport_send_rtp(mImpl->mSession->getTransport(), packet, (*frame)->payload.size() + header_len);

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/media_rtp_pjmedia.git



More information about the asterisk-scf-commits mailing list