MT#56521 add reference to plain RTP protocol

For each SRTP protocol known, add a reference to the matching plain RTP
protocol,

Change-Id: I07da626f9ba80bac009deff2f30459c0998b1ef6
pull/1614/head
Richard Fuchs 3 years ago
parent 99230b9a93
commit 8db4d64b84

@ -121,6 +121,7 @@ const struct transport_protocol transport_protocols[] = {
.avpf_proto = PROTO_RTP_SAVPF,
.rtp = 1,
.srtp = 1,
.rtp_proto = PROTO_RTP_AVP,
.avpf = 0,
.tcp = 0,
},
@ -138,6 +139,7 @@ const struct transport_protocol transport_protocols[] = {
.name = "RTP/SAVPF",
.rtp = 1,
.srtp = 1,
.rtp_proto = PROTO_RTP_AVPF,
.avpf = 1,
.tcp = 0,
},
@ -147,6 +149,7 @@ const struct transport_protocol transport_protocols[] = {
.avpf_proto = PROTO_UDP_TLS_RTP_SAVPF,
.rtp = 1,
.srtp = 1,
.rtp_proto = PROTO_RTP_AVP,
.avpf = 0,
.tcp = 0,
},
@ -155,6 +158,7 @@ const struct transport_protocol transport_protocols[] = {
.name = "UDP/TLS/RTP/SAVPF",
.rtp = 1,
.srtp = 1,
.rtp_proto = PROTO_RTP_AVPF,
.avpf = 1,
.tcp = 0,
},
@ -172,6 +176,7 @@ const struct transport_protocol transport_protocols[] = {
.avpf_proto = PROTO_RTP_SAVPF_OSRTP,
.rtp = 1,
.srtp = 1,
.rtp_proto = PROTO_RTP_AVP,
.osrtp = 1,
.avpf = 0,
.tcp = 0,
@ -181,6 +186,7 @@ const struct transport_protocol transport_protocols[] = {
.name = "RTP/AVPF",
.rtp = 1,
.srtp = 1,
.rtp_proto = PROTO_RTP_AVPF,
.osrtp = 1,
.avpf = 1,
.tcp = 0,

@ -48,6 +48,7 @@ struct transport_protocol {
const char *name;
enum transport_protocol_index avpf_proto;
enum transport_protocol_index osrtp_proto;
enum transport_protocol_index rtp_proto;
unsigned int rtp:1; /* also set to 1 for SRTP */
unsigned int srtp:1;
unsigned int osrtp:1;

Loading…
Cancel
Save