Skip to content

Commit c5837dd

Browse files
committed
control: drop receiver-port
Used by CoUniverse, no signs that used otherwise (but a notice kept for the case someone is using that).
1 parent 1b2d778 commit c5837dd

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

src/video_rxtx/rtp.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ struct rtp_rxtx_common_priv_state {
8080
struct module m_rtp_sender_mod;
8181
};
8282

83+
static struct rtp *initialize_network(const char *addr, int recv_port,
84+
int send_port, struct pdb *participants,
85+
int force_ip_version,
86+
const char *mcast_if, int ttl);
87+
static void destroy_rtp_device(struct rtp *network_device);
88+
8389
static struct response *
8490
rtp_process_sender_message(struct rtp_rxtx_common *s, struct msg_sender *msg)
8591
{
@@ -322,7 +328,7 @@ void display_buf_increase_warning(int size)
322328
#undef SYSCTL_ENTRY
323329
}
324330

325-
struct rtp *
331+
static struct rtp *
326332
initialize_network(const char *addr, int recv_port, int send_port,
327333
struct pdb *participants, int force_ip_version,
328334
const char *mcast_if, int ttl)
@@ -361,7 +367,7 @@ initialize_network(const char *addr, int recv_port, int send_port,
361367
return device;
362368
}
363369

364-
void
370+
static void
365371
destroy_rtp_device(struct rtp *network_device)
366372
{
367373
rtp_done(network_device);

src/video_rxtx/rtp.hpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,7 @@
5050

5151
#define INITIAL_VIDEO_SEND_BUFFER_SIZE (1024*1024)
5252

53-
struct rtp;
54-
struct fec;
55-
56-
struct rtp *initialize_network(const char *addr, int recv_port, int send_port,
57-
struct pdb *participants, int force_ip_version,
58-
const char *mcast_if, int ttl);
59-
void destroy_rtp_device(struct rtp *network_device);
60-
void display_buf_increase_warning(int size);
53+
void display_buf_increase_warning(int size);
6154

6255
struct rtp_rxtx_common {
6356
struct rtp *network_device;

0 commit comments

Comments
 (0)