Commit 8a04761b authored by Erwan Croze's avatar Erwan Croze 👋🏻

Add option to build MSWebRTC VAD plugin

parent 25ae2c14
......@@ -29,7 +29,7 @@ endif()
if(ENABLE_CODEC2)
lcb_dependencies("mscodec2")
endif()
if(ENABLE_ISAC OR ENABLE_ILBC OR ENABLE_WEBRTC_AEC OR ENABLE_WEBRTC_AECM)
if(ENABLE_ISAC OR ENABLE_ILBC OR ENABLE_WEBRTC_AEC OR ENABLE_WEBRTC_AECM OR ENABLE_WEBRTC_VAD)
lcb_dependencies("mswebrtc")
endif()
if(ENABLE_SILK)
......
......@@ -35,6 +35,7 @@ lcb_dependencies("ms2")
lcb_cmake_options(
"-DENABLE_ISAC=${ENABLE_ISAC}"
"-DENABLE_ILBC=${ENABLE_ILBC}"
"-DENABLE_VAD=${ENABLE_WEBRTC_VAD}"
"-DENABLE_AEC=${ENABLE_WEBRTC_AEC}"
"-DENABLE_AECM=${ENABLE_WEBRTC_AECM}"
)
......@@ -45,6 +45,7 @@ lcb_add_option("ISAC" "ISAC audio encoding/decoding support." "${DEFAULT_VALUE_
lcb_add_option("OPUS" "OPUS audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_OPUS}")
lcb_add_option("Silk" "Silk audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_SILK}")
lcb_add_option("Speex" "Speex audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_SPEEX}")
lcb_add_option("WebRTC VAD" "WebRTC voice activation detector support." "${DEFAULT_VALUE_ENABLE_WEBRTC_VAD}")
lcb_add_option("BV16" "BroadVoice 16 audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_BV16}")
#video options and codecs
lcb_add_option("Video" "Ability to capture and display video." "${DEFAULT_VALUE_ENABLE_VIDEO}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment