mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
janus-gateway: add mqtt to transport section
Signed-off-by: Adam Duskett <aduskett@codeblue.com> [Thomas: propagate paho-mqtt dependencies, use alphabetic ordering.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5dc7252d73
commit
0c14c1f5e6
@ -56,6 +56,15 @@ config BR2_PACKAGE_JANUS_VOICE_MAIL
|
|||||||
|
|
||||||
comment "transports"
|
comment "transports"
|
||||||
|
|
||||||
|
config BR2_PACKAGE_JANUS_MQTT
|
||||||
|
bool "MQTT"
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
select BR2_PACKAGE_PAHO_MQTT_C
|
||||||
|
|
||||||
|
comment "MQTT transport needs a toolchain w/ threads and dynamic library support"
|
||||||
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
config BR2_PACKAGE_JANUS_RABBITMQ
|
config BR2_PACKAGE_JANUS_RABBITMQ
|
||||||
bool "RabbitMQ"
|
bool "RabbitMQ"
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
@ -83,6 +83,13 @@ else
|
|||||||
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
|
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_JANUS_MQTT),y)
|
||||||
|
JANUS_GATEWAY_DEPENDENCIES += paho-mqtt-c
|
||||||
|
JANUS_GATEWAY_CONF_OPTS += --enable-mqtt
|
||||||
|
else
|
||||||
|
JANUS_GATEWAY_CONF_OPTS += --disable-mqtt
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_JANUS_RABBITMQ),y)
|
ifeq ($(BR2_PACKAGE_JANUS_RABBITMQ),y)
|
||||||
JANUS_GATEWAY_DEPENDENCIES += rabbitmq-c
|
JANUS_GATEWAY_DEPENDENCIES += rabbitmq-c
|
||||||
JANUS_GATEWAY_CONF_OPTS += --enable-rabbitmq
|
JANUS_GATEWAY_CONF_OPTS += --enable-rabbitmq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user