Browse Source

TT#146201 remove unused `rtcp_only` flag

Change-Id: I4e8e26661a82c91d3cbfbe80f310cb2f7f38ae43
pull/1682/head
Richard Fuchs 3 years ago
parent
commit
01e3e9b74f
3 changed files with 0 additions and 6 deletions
  1. +0
    -2
      daemon/media_socket.c
  2. +0
    -3
      kernel-module/xt_RTPENGINE.c
  3. +0
    -1
      kernel-module/xt_RTPENGINE.h

+ 0
- 2
daemon/media_socket.c View File

@ -1603,8 +1603,6 @@ output:
handler->out->kernel(&redi->output.encrypt, sink);
redi->output.rtcp_only = sink_handler->attrs.rtcp_only ? 1 : 0;
mutex_unlock(&sink->out_lock);
if (!redi->output.encrypt.cipher || !redi->output.encrypt.hmac) {


+ 0
- 3
kernel-module/xt_RTPENGINE.c View File

@ -1780,9 +1780,6 @@ static int proc_list_show(struct seq_file *f, void *v) {
o->output.pt_output[j].replace_pattern_len);
}
if (o->output.rtcp_only)
seq_printf(f, " option: RTCP only\n");
proc_list_crypto_print(f, &o->encrypt_rtp, &o->output.encrypt, "encryption");
}


+ 0
- 1
kernel-module/xt_RTPENGINE.h View File

@ -140,7 +140,6 @@ struct rtpengine_output_info {
struct rtpengine_pt_output pt_output[RTPE_NUM_PAYLOAD_TYPES]; // same indexes as pt_input
unsigned char tos;
unsigned int rtcp_only:1;
unsigned int ssrc_subst:1;
};


Loading…
Cancel
Save