summaryrefslogtreecommitdiff
path: root/rtpSessionTable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rtpSessionTable.cpp')
-rw-r--r--rtpSessionTable.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/rtpSessionTable.cpp b/rtpSessionTable.cpp
index 1556752..8b361a4 100644
--- a/rtpSessionTable.cpp
+++ b/rtpSessionTable.cpp
@@ -107,6 +107,16 @@ RtpSession& RtpSessionTable::getSession(const std::string & call_id)
throw std::runtime_error("session not found");
}
+RtpSessionMap::iterator RtpSessionTable::getBeginUnlocked()
+{
+ return map_.begin();
+}
+
+RtpSessionMap::iterator RtpSessionTable::getEndUnlocked()
+{
+ return map_.end();
+}
+
void RtpSessionTable::clear()
{
Lock lock(mutex_);