diff options
author | glenvt18 <glenvt18@gmail.com> | 2017-11-02 21:36:01 +0300 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-11-02 19:36:01 +0100 |
commit | 1174f976113306b1e77736bfe9bd5ac9dab598a8 (patch) | |
tree | b74416742189a2c627e7ce8707687d58e6873331 /modules/gzrtp/module.mk | |
parent | fb79d1c1712a38af087f610dcdefbd58b67e3769 (diff) |
modules/gzrtp: move SRTP processing to a separate class (#319)
Add an option to use libre SRTP processing stuff instead of the
one provided by ZRTPCPP (-DGZRTP_USE_RE_SRTP).
Diffstat (limited to 'modules/gzrtp/module.mk')
-rw-r--r-- | modules/gzrtp/module.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/gzrtp/module.mk b/modules/gzrtp/module.mk index b95b61d..42e408e 100644 --- a/modules/gzrtp/module.mk +++ b/modules/gzrtp/module.mk @@ -22,7 +22,7 @@ ZRTP_PATH ?= ../ZRTPCPP ZRTP_LIB := $(shell find $(ZRTP_PATH) -name libzrtpcppcore.a) MOD := gzrtp -$(MOD)_SRCS += gzrtp.cpp session.cpp stream.cpp messages.cpp +$(MOD)_SRCS += gzrtp.cpp session.cpp stream.cpp messages.cpp srtp.cpp $(MOD)_LFLAGS += $(ZRTP_LIB) -lstdc++ $(MOD)_CXXFLAGS += \ -I$(ZRTP_PATH) \ @@ -31,4 +31,8 @@ $(MOD)_CXXFLAGS += \ $(MOD)_CXXFLAGS += -O2 -Wall -fPIC +# Uncomment this if you want to use libre SRTP facilities instead of the ones +# provided by ZRTPCPP. In this case only standard ciphers (AES) are supported. +#$(MOD)_CXXFLAGS += -DGZRTP_USE_RE_SRTP=1 + include mk/mod.mk |