srtp: basic implementation based on libsrtp2
Type: feature
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ic5e99938a5f130e83de6d590d2f89252d055bceb
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index e82c1d6..56a1fd7 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -1966,7 +1966,7 @@
smm->evt_qs_segment_size = 1 << 20;
#endif
- smm->last_transport_proto_type = TRANSPORT_PROTO_DTLS;
+ smm->last_transport_proto_type = TRANSPORT_PROTO_SRTP;
return 0;
}
diff --git a/src/vnet/session/transport_types.h b/src/vnet/session/transport_types.h
index 75fd1b8..9fabac5 100644
--- a/src/vnet/session/transport_types.h
+++ b/src/vnet/session/transport_types.h
@@ -163,7 +163,8 @@
_ (NONE, "ct", "C") \
_ (TLS, "tls", "J") \
_ (QUIC, "quic", "Q") \
- _ (DTLS, "dtls", "D")
+ _ (DTLS, "dtls", "D") \
+ _ (SRTP, "srtp", "R")
typedef enum _transport_proto
{