janus-gateway: bump to version v0.2.1
PATCH v2 1/10 janus-gateway: bump to version v0.2.1
---
v1 -> v2: No changes
package/janus-gateway/janus-gateway.hash | 2 +- package/janus-gateway/janus-gateway.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/janus-gateway/janus-gateway.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 4d341a54d3eae5506c3e2409f4a6e4f5159dc4ece3197aaf077d3eb997e69a10 janus-gateway-v0.1.0.tar.gz +sha256 5d071592faca2a1574b996b4ca07b6c9e02cd42a719b0dbb4bfb5dfde8d55ff3 janus-gateway-v0.2.1.tar.gz
package/janus-gateway/janus-gateway.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -JANUS_GATEWAY_VERSION = v0.1.0 +JANUS_GATEWAY_VERSION = v0.2.1 JANUS_GATEWAY_SITE = $(call github,meetecho,janus-gateway,$(JANUS_GATEWAY_VERSION)) JANUS_GATEWAY_LICENSE = GPLv3 JANUS_GATEWAY_LICENSE_FILES = COPYING
Signature · 1 line
2.9.3
PATCH v2 2/10 janus-gateway: Make sofia-sip a optional dependency.
Currently janus-gateway requires sofia-sip in the build system, however this is unessasary. This patch makes the sip gateway plugin a option. It also creates a menuconfig for janus gateway for the following patches that enable selecting more optional plugins.
---
v1 -> v2: No changes
package/janus-gateway/Config.in | 12 ++++++++++-- package/janus-gateway/janus-gateway.mk | 9 ++++++++- 2 files changed, 18 insertions(+), 3 deletions(-)
package/janus-gateway/Config.in +10 -2
@@ -1,9 +1,8 @@ -config BR2_PACKAGE_JANUS_GATEWAY +menuconfig BR2_PACKAGE_JANUS_GATEWAY bool "janus-gateway" select BR2_PACKAGE_LIBMICROHTTPD select BR2_PACKAGE_JANSSON select BR2_PACKAGE_LIBNICE - select BR2_PACKAGE_SOFIA_SIP select BR2_PACKAGE_LIBSRTP select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_DING_LIBS
@@ -18,6 +17,15 @@ config BR2_PACKAGE_JANUS_GATEWAY https://github.com/meetecho/janus-gateway +if BR2_PACKAGE_JANUS_GATEWAY + +comment "janus-gateway plugins" + +config BR2_PACKAGE_JANUS_PLUGIN_SIP + bool "janus sip gateway plugin" + default n +endif + comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
package/janus-gateway/janus-gateway.mk +8 -1
@@ -11,7 +11,7 @@ JANUS_GATEWAY_LICENSE_FILES = COPYING # ding-libs provides the ini_config library JANUS_GATEWAY_DEPENDENCIES = host-pkgconf libmicrohttpd jansson \ - libnice sofia-sip libsrtp host-gengetopt openssl ding-libs + libnice libsrtp host-gengetopt openssl ding-libs # Straight out of the repository, no ./configure, and we also patch # configure.ac.
@@ -26,6 +26,13 @@ JANUS_GATEWAY_CONF_OPTS = \ --disable-data-channels \ --disable-rabbitmq +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_SIP_GATEWAY),y) +JANUS_GATEWAY_DEPENDENCIES += sofia-sip +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-sip +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-sip +endif + ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) JANUS_GATEWAY_DEPENDENCIES += libwebsockets JANUS_GATEWAY_CONF_OPTS += --enable-websockets
Signature · 1 line
2.9.3
PATCH v2 2/10 janus-gateway: Make sofia-sip a optional dependency.
Hello,
package/janus-gateway/Config.in config BR2_PACKAGE_JANUS_GATEWAY · line 25
Quoted 6 lines · Adam Duskett
package/janus-gateway/Config.in +6
-0+if BR2_PACKAGE_JANUS_GATEWAY + +comment "janus-gateway plugins" + +config BR2_PACKAGE_JANUS_PLUGIN_SIP + bool "janus sip gateway plugin"
You should select the SOFIA_SIP package here, and inherit its dependencies.
package/janus-gateway/Config.in config BR2_PACKAGE_JANUS_GATEWAY · line 26
Quoted 1 line
package/janus-gateway/Config.in +1
-0+ default n
Not needed, this is the default (applies to all other patches).
Also, since you no longer select the SOFIA_SIP package from the top-level janus-gateway option, you may want to double check if all the janus-gateway "depends on" are still necessary.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v2 3/10 janus-gateway: Make audio bridge plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the audio bridge plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the audio bridge plugin a option.
---
v1 -> v2: Fixed patch so that this patch adds the plugin to both the Config.in and the .mk file.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -21,6 +21,10 @@ if BR2_PACKAGE_JANUS_GATEWAY comment "janus-gateway plugins" +config BR2_PACKAGE_JANUS_PLUGIN_AUDIO_BRIDGE + bool "janus audio bridge plugin" + default n + config BR2_PACKAGE_JANUS_PLUGIN_SIP bool "janus sip gateway plugin" default n
package/janus-gateway/janus-gateway.mk +6 -0
@@ -26,6 +26,12 @@ JANUS_GATEWAY_CONF_OPTS = \ --disable-data-channels \ --disable-rabbitmq +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_AUDIO_BRIDGE),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-audiobridge +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-audiobridge +endif + ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_SIP_GATEWAY),y) JANUS_GATEWAY_DEPENDENCIES += sofia-sip JANUS_GATEWAY_CONF_OPTS += --enable-plugin-sip
Signature · 1 line
2.9.3
PATCH v2 3/10 janus-gateway: Make audio bridge plugin optional.
Hello,
Quoted 3 lines · Adam Duskett
Currently janus-gateway is built by default with the audio bridge plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
I'm not sure to understand this config file story. Why does it matter? Are these plugin options only installing a config file, or also a plugin library or something like this?
What is the filesystem size contribution of each plugin? Is it significant enough to justify having all those additional plugin options?
package/janus-gateway/Config.in if BR2_PACKAGE_JANUS_GATEWAY · line 26
Quoted 3 lines
package/janus-gateway/Config.in +3
-0+config BR2_PACKAGE_JANUS_PLUGIN_AUDIO_BRIDGE + bool "janus audio bridge plugin" + default n
Remove "janus" from the prompt: those options are already indented under the main janus option, so there is no point in repeating that.
And remove the "default n", as it's the default.
I'm just wondering if we shouldn't use "default y" instead, in order to preserve backward compatibility. But that kind of violates the general Buildroot rule of "let's build a minimal thing by default". Since I'm not too strict on backward compatibility, I'd say leave them disabled by default (but others might disagree).
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v2 4/10 janus-gateway: Make echo test plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the echo test plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the echo test plugin a option.
---
v1 -> v2: Fixed patch so that this patch only adds the plugin to both the Config.in and the .mk file.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -25,6 +25,10 @@ config BR2_PACKAGE_JANUS_PLUGIN_AUDIO_BRIDGE bool "janus audio bridge plugin" default n +config BR2_PACKAGE_JANUS_PLUGIN_ECHO_TEST + bool "janus echo test plugin" + default n + config BR2_PACKAGE_JANUS_PLUGIN_SIP bool "janus sip gateway plugin" default n
package/janus-gateway/janus-gateway.mk +6 -0
@@ -32,6 +32,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-plugin-audiobridge endif +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_ECHO_TEST),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-echotest +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-echotest +endif + ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_SIP_GATEWAY),y) JANUS_GATEWAY_DEPENDENCIES += sofia-sip JANUS_GATEWAY_CONF_OPTS += --enable-plugin-sip
Signature · 1 line
2.9.3
PATCH v2 5/10 janus-gateway: Make recordplay plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the recordplay plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the recordplay plugin a option.
---
Fixed patch so that this patch actually adds the plugin to both the Config.in and the .mk file.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -29,6 +29,10 @@ config BR2_PACKAGE_JANUS_PLUGIN_ECHO_TEST bool "janus echo test plugin" default n +config BR2_PACKAGE_JANUS_PLUGIN_RECORDPLAY + bool "janus record and play plugin" + default n + config BR2_PACKAGE_JANUS_PLUGIN_SIP bool "janus sip gateway plugin" default n
package/janus-gateway/janus-gateway.mk +6 -0
@@ -38,6 +38,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-plugin-echotest endif +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_RECORDPLAY),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-recordplay +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-recordplay +endif + ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_SIP_GATEWAY),y) JANUS_GATEWAY_DEPENDENCIES += sofia-sip JANUS_GATEWAY_CONF_OPTS += --enable-plugin-sip
Signature · 1 line
2.9.3
PATCH v2 6/10 janus-gateway: Make streaming plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the streaming plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the streaming plugin a option.
---
v1 -> v2: Fixed patch so that this patch only adds the plugin to both the Config.in and the .mk file.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -37,6 +37,10 @@ config BR2_PACKAGE_JANUS_PLUGIN_SIP bool "janus sip gateway plugin" default n +config BR2_PACKAGE_JANUS_PLUGIN_STREAMING + bool "janus streaming plugin" + default n + endif comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
package/janus-gateway/janus-gateway.mk +6 -0
@@ -51,6 +51,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-plugin-sip endif +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_STREAMING),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-streaming +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-streaming +endif + ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) JANUS_GATEWAY_DEPENDENCIES += libwebsockets JANUS_GATEWAY_CONF_OPTS += --enable-websockets
Signature · 1 line
2.9.3
PATCH v2 7/10 janus-gateway: Make text room plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the text room plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the text room plugin a option.
---
v1 -> v2: no changes.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -41,6 +41,10 @@ config BR2_PACKAGE_JANUS_PLUGIN_STREAMING bool "janus streaming plugin" default y +config BR2_PACKAGE_JANUS_PLUGIN_TEXT_ROOM + bool "janus text room plugin" + default n + endif comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
package/janus-gateway/janus-gateway.mk +6 -0
@@ -57,6 +57,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-plugin-streaming endif +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_TEXT_ROOM),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-textroom +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-textroom +endif + ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) JANUS_GATEWAY_DEPENDENCIES += libwebsockets JANUS_GATEWAY_CONF_OPTS += --enable-websockets
Signature · 1 line
2.9.3
PATCH v2 8/10 janus-gateway: Make video call plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the video call plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the video call plugin a option.
---
v1 -> v2: no changes.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -45,6 +45,10 @@ config BR2_PACKAGE_JANUS_PLUGIN_TEXT_ROOM bool "janus text room plugin" default n +config BR2_PACKAGE_JANUS_PLUGIN_VIDEO_CALL + bool "janus video call plugin" + default n + endif comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
package/janus-gateway/janus-gateway.mk +6 -0
@@ -63,6 +63,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-plugin-textroom endif +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_VIDEO_CALL),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-videocall +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videocall +endif + ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) JANUS_GATEWAY_DEPENDENCIES += libwebsockets JANUS_GATEWAY_CONF_OPTS += --enable-websockets
Signature · 1 line
2.9.3
PATCH v2 9/10 janus-gateway: Make video room plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the video room plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the video room plugin a option.
---
v1 -> v2: no changes.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -49,6 +49,10 @@ config BR2_PACKAGE_JANUS_PLUGIN_VIDEO_CALL bool "janus video call plugin" default n +config BR2_PACKAGE_JANUS_PLUGIN_VIDEO_ROOM + bool "janus video room plugin" + default n + endif comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
package/janus-gateway/janus-gateway.mk +6 -0
@@ -69,6 +69,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videocall endif +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_VIDEO_ROOM),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-videoroom +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videoroom +endif + ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) JANUS_GATEWAY_DEPENDENCIES += libwebsockets JANUS_GATEWAY_CONF_OPTS += --enable-websockets
Signature · 1 line
2.9.3
PATCH v2 10/10 janus-gateway: Make voicemail plugin optional.
In reply to Adam DuskettCurrently janus-gateway is built by default with the voicemail plugin. This causes a example config file to be placed on the target filing system that the user may not need or want.
This patch makes the voicemail plugin a option.
---
v1 -> v2: no changes.
package/janus-gateway/Config.in | 4 ++++ package/janus-gateway/janus-gateway.mk | 6 ++++++ 2 files changed, 10 insertions(+)
package/janus-gateway/Config.in +4 -0
@@ -53,6 +53,10 @@ config BR2_PACKAGE_JANUS_PLUGIN_VIDEO_ROOM bool "janus video room plugin" default n +config BR2_PACKAGE_JANUS_PLUGIN_VOICE_MAIL + bool "janus voice mail plugin" + default n + endif comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
package/janus-gateway/janus-gateway.mk +6 -0
@@ -75,6 +75,12 @@ else JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videoroom endif +ifeq ($(BR2_PACKAGE_JANUS_PLUGIN_VOICE_MAIL),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-voicemail +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail +endif + ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) JANUS_GATEWAY_DEPENDENCIES += libwebsockets JANUS_GATEWAY_CONF_OPTS += --enable-websockets
Signature · 1 line
2.9.3
Thomas Petazzoni
AppliedPATCH v2 1/10 janus-gateway: bump to version v0.2.1
In reply to Adam DuskettHello,
Quoted 3 lines · Adam Duskett
Signed-off-by Adam Duskett <[email protected]>---
v1 -> v2: No changes
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com