* [Buildroot] [PATCH 1/1] janus-gateway: add libcurl check.
@ 2017-12-15 13:38 Adam Duskett
2017-12-16 14:49 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Adam Duskett @ 2017-12-15 13:38 UTC (permalink / raw)
To: buildroot
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 <aduskett@gmail.com>
---
package/janus-gateway/Config.in | 6 ++++--
package/janus-gateway/janus-gateway.mk | 4 ++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/package/janus-gateway/Config.in b/package/janus-gateway/Config.in
index 5bd4e9586b..130bb9d57a 100644
--- a/package/janus-gateway/Config.in
+++ b/package/janus-gateway/Config.in
@@ -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
diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk
index bf3e590ac5..ea2ff6fa89 100644
--- a/package/janus-gateway/janus-gateway.mk
+++ b/package/janus-gateway/janus-gateway.mk
@@ -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
--
2.14.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] janus-gateway: add libcurl check.
2017-12-15 13:38 [Buildroot] [PATCH 1/1] janus-gateway: add libcurl check Adam Duskett
@ 2017-12-16 14:49 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-12-16 14:49 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 15 Dec 2017 08:38:49 -0500, Adam Duskett wrote:
> config BR2_PACKAGE_JANUS_STREAMING
> bool "streaming"
> - # SO_REUSEPORT
Why is this removed ?
> 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
This change is unrelated.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-16 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-15 13:38 [Buildroot] [PATCH 1/1] janus-gateway: add libcurl check Adam Duskett
2017-12-16 14:49 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.