From 45c4d68df26b5a509d8ce7b0783aacda7afe0ca5 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Mon, 17 Mar 2008 19:51:49 +0000 Subject: added port window and port range options --- anyrtpproxy/options.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'anyrtpproxy/options.h') 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_; }; -- cgit v1.2.3