summaryrefslogtreecommitdiff
path: root/anyrtpproxy/options.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-03-17 19:51:49 +0000
committerOthmar Gsenger <otti@anytun.org>2008-03-17 19:51:49 +0000
commit45c4d68df26b5a509d8ce7b0783aacda7afe0ca5 (patch)
tree5afd8d5a56046ed10886b26c4200e9f250e28c28 /anyrtpproxy/options.h
parentfinally added callIdQueue (sorry) (diff)
added port window and port range options
Diffstat (limited to 'anyrtpproxy/options.h')
-rw-r--r--anyrtpproxy/options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/anyrtpproxy/options.h b/anyrtpproxy/options.h
index e47a013..55f3264 100644
--- a/anyrtpproxy/options.h
+++ b/anyrtpproxy/options.h
@@ -83,6 +83,10 @@ public:
Host getControlInterface();
u_int16_t getLocalSyncPort();
Options& setLocalSyncPort(u_int16_t l);
+ u_int16_t getRtpStartPort();
+ Options& setRtpStartPort(u_int16_t l);
+ u_int16_t getRtpEndPort();
+ Options& setRtpEndPort(u_int16_t l);
ConnectToList getConnectTo();
private:
@@ -110,6 +114,8 @@ private:
std::string chroot_dir_;
bool daemonize_;
u_int16_t local_sync_port_;
+ u_int16_t rtp_start_port_;
+ u_int16_t rtp_end_port_;
ConnectToList connect_to_;
Host control_interface_;
};