Module: sems
Branch: 1.2
Commit: 0c50839e57d41b9a768429855bbe857bf545912b
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0c50839e57d41b9a768429855bbe857bf545912b

Author: Stefan Sayer <[email protected]>
Committer: Peter Lemenkov <[email protected]>
Date:   Thu Apr 15 13:01:00 2010 +0000

create RTP stream (AmSession::rtp_str) only if really needed

replace AmSession::rtp_str with AmSession::RTPStream() in your app.

for example for pure signaling B2B calls, no RTP stream instance is
created, which saves a lot of memory (especially because of
the RTP receive buffer)

ref r30371 r30372

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/tr...@1784 
8eb893ce-cfd4-0310-b710-fb5ebe64c474

---

 apps/auth_b2b/AuthB2B.cpp                          |   12 +++---
 apps/call_timer/CallTimer.cpp                      |    4 +-
 apps/callback/CallBack.cpp                         |    4 +-
 apps/conference/Conference.cpp                     |    6 +-
 apps/dsm/mods/mod_conference/ModConference.cpp     |    6 +-
 apps/examples/b2b_connect/b2b_connect.cpp          |    4 +-
 .../pinauthconference/PinAuthConference.cpp        |    2 +-
 apps/examples/serviceline/ServiceLine.cpp          |    2 +-
 .../simple_conference/SimpleConference.cpp         |    2 +-
 apps/gateway/GWSession.cpp                         |    2 +-
 apps/sw_prepaid_sip/SWPrepaidSIP.cpp               |    4 +-
 apps/webconference/WebConferenceDialog.cpp         |    4 +-
 core/AmMediaProcessor.cpp                          |   18 ++++----
 core/AmSession.cpp                                 |   42 ++++++++++---------
 core/AmSession.h                                   |   19 +++++++--
 core/plug-in/echo/Echo.cpp                         |    6 +-
 16 files changed, 75 insertions(+), 62 deletions(-)

Diff:   
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commitdiff;h=0c50839e57d41b9a768429855bbe857bf545912b
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to