janus-gateway: add libcurl check.
PATCH 1/1 janus-gateway: add libcurl check.
The streaming protocol works without libcurl via RTP, but if a user wishes to stream via RTSP or use the turn-rest api, libcurl must be built first.
Signed-off-by Adam Duskett <[email protected]>
--- package/janus-gateway/Config.in | 6 ++++-- package/janus-gateway/janus-gateway.mk | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-)
package/janus-gateway/Config.in +4 -2
@@ -35,8 +35,10 @@ config BR2_PACKAGE_JANUS_SIP_GATEWAY config BR2_PACKAGE_JANUS_STREAMING bool "streaming" - # SO_REUSEPORT depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + help + Enable streaming plugin. + Note: For RTSP streaming support, libcurl must be selected. comment "streaming plugin needs a toolchain w/ headers >= 3.9" depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
@@ -90,7 +92,7 @@ config BR2_PACKAGE_JANUS_WEBSOCKETS depends on BR2_USE_MMU select BR2_PACKAGE_LIBWEBSOCKETS -endif +endif #BR2_PACKAGE_JANUS_GATEWAY comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar" depends on BR2_USE_MMU
package/janus-gateway/janus-gateway.mk +4 -0
@@ -26,6 +26,10 @@ JANUS_GATEWAY_CONF_OPTS = \ --disable-data-channels \ --disable-sample-event-handler +ifeq ($(BR2_PACKAGE_LIBCURL),y) +JANUS_GATEWAY_DEPENDENCIES += libcurl +endif + ifeq ($(BR2_PACKAGE_JANUS_AUDIO_BRIDGE),y) JANUS_GATEWAY_DEPENDENCIES += opus JANUS_GATEWAY_CONF_OPTS += --enable-plugin-audiobridge
Signature · 1 line
2.14.3
PATCH 1/1 janus-gateway: add libcurl check.
Hello,
package/janus-gateway/Config.in config BR2_PACKAGE_JANUS_SIP_GATEWAY · line 38
Quoted 3 lines · Adam Duskett
config
BR2_PACKAGE_JANUS_STREAMINGpackage/janus-gateway/Config.in +0
-1bool "streaming" - # SO_REUSEPORT
Why is this removed ?
package/janus-gateway/Config.in config BR2_PACKAGE_JANUS_WEBSOCKETS · line 95
Quoted 13 lines
package/janus-gateway/Config.in +4
-1depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + help + Enable streaming plugin. + Note: For RTSP streaming support, libcurl must be selected. comment "streaming plugin needs a toolchain w/ headers >= 3.9" depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9@@ -90,7 +92,7 @@ config BR2_PACKAGE_JANUS_WEBSOCKETS depends on BR2_USE_MMU select BR2_PACKAGE_LIBWEBSOCKETS -endif +endif #BR2_PACKAGE_JANUS_GATEWAY
This change is unrelated.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com