|
@@ -22,6 +22,13 @@ JANUS_GATEWAY_CONF_OPTS = \
|
|
--disable-data-channels \
|
|
--disable-data-channels \
|
|
--disable-sample-event-handler
|
|
--disable-sample-event-handler
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_DEMOS),)
|
|
|
|
+define JANUS_GATEWAY_REMOVE_DEMOS
|
|
|
|
+ $(RM) -fr $(TARGET_DIR)/usr/share/janus/demos/
|
|
|
|
+endef
|
|
|
|
+JANUS_GATEWAY_POST_INSTALL_TARGET_HOOKS += JANUS_GATEWAY_REMOVE_DEMOS
|
|
|
|
+endif
|
|
|
|
+
|
|
ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE),y)
|
|
ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE),y)
|
|
JANUS_GATEWAY_DEPENDENCIES += opus
|
|
JANUS_GATEWAY_DEPENDENCIES += opus
|
|
JANUS_GATEWAY_CONF_OPTS += --enable-plugin-audiobridge
|
|
JANUS_GATEWAY_CONF_OPTS += --enable-plugin-audiobridge
|