[asterisk-scf-commits] asterisk-scf/integration/media_rtp_pjmedia.git branch "rtcp" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Jul 11 19:00:49 CDT 2011
branch "rtcp" has been updated
via 6c03dccea7ab9653a2814428ef9670edff0b441d (commit)
from 46db38a456e824b4e1be7b26f5eff3888b2de8ff (commit)
Summary of changes:
src/RTPSession.cpp | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 6c03dccea7ab9653a2814428ef9670edff0b441d
Author: Joshua Colp <jcolp at digium.com>
Date: Mon Jul 11 21:01:29 2011 -0300
Initialize the RTCP session to a default state upon creation.
diff --git a/src/RTPSession.cpp b/src/RTPSession.cpp
index 976100c..e145bfc 100644
--- a/src/RTPSession.cpp
+++ b/src/RTPSession.cpp
@@ -151,7 +151,14 @@ public:
const AsteriskSCF::Discovery::SmartProxy<RtpStateReplicatorPrx>& stateReplicator) :
mAdapter(adapter), mFormats(formats),
mSessionStateItem(new RtpSessionStateItem()),
- mReplicaService(replicaService), mStateReplicator(stateReplicator) { };
+ mReplicaService(replicaService), mStateReplicator(stateReplicator)
+ {
+ pjmedia_rtcp_session_setting defaults;
+
+ pjmedia_rtcp_session_setting_default(&defaults);
+ pjmedia_rtcp_init2(&mRtcpSession, &defaults);
+ }
+
~RTPSessionImplPriv();
/**
-----------------------------------------------------------------------
--
asterisk-scf/integration/media_rtp_pjmedia.git
More information about the asterisk-scf-commits
mailing list