hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
menuconfig BR2_PACKAGE_JANUS_GATEWAY
   bool "janus-gateway"
   depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
   depends on BR2_USE_WCHAR # libnice -> libglib2
   depends on BR2_USE_MMU # libnice
   depends on !BR2_STATIC_LIBS # dlopen
   select BR2_PACKAGE_JANSSON
   select BR2_PACKAGE_LIBGLIB2
   select BR2_PACKAGE_LIBNICE
   select BR2_PACKAGE_LIBSRTP
   select BR2_PACKAGE_OPENSSL
   help
     Janus is an open source, general purpose, WebRTC gateway
     designed and developed by Meetecho.
 
     https://github.com/meetecho/janus-gateway
 
if BR2_PACKAGE_JANUS_GATEWAY
 
comment "plugins"
 
config BR2_PACKAGE_JANUS_AUDIO_BRIDGE
   bool "audio bridge"
   select BR2_PACKAGE_OPUS
 
config BR2_PACKAGE_JANUS_ECHO_TEST
   bool "echo test"
 
config BR2_PACKAGE_JANUS_RECORDPLAY
   bool "record and play"
 
config BR2_PACKAGE_JANUS_SIP_GATEWAY
   bool "sip gateway"
   select BR2_PACKAGE_SOFIA_SIP
 
config  BR2_PACKAGE_JANUS_STREAMING
   bool "streaming"
   # SO_REUSEPORT
   depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
 
comment "streaming plugin needs a toolchain w/ headers >= 3.9"
   depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9
 
config BR2_PACKAGE_JANUS_TEXT_ROOM
   bool "text room"
 
config BR2_PACKAGE_JANUS_VIDEO_CALL
   bool "video call"
 
config BR2_PACKAGE_JANUS_VIDEO_ROOM
   bool "video room"
 
config BR2_PACKAGE_JANUS_VOICE_MAIL
   bool "voice mail"
   select BR2_PACKAGE_LIBOGG
 
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
   bool "RabbitMQ"
   depends on BR2_TOOLCHAIN_HAS_THREADS
   select BR2_PACKAGE_RABBITMQ_C
 
comment "RabbitMQ transport needs a toolchain w/ threads"
   depends on !BR2_TOOLCHAIN_HAS_THREADS
 
config BR2_PACKAGE_JANUS_REST
   bool "REST (HTTP/HTTPS)"
   depends on BR2_TOOLCHAIN_HAS_THREADS
   select BR2_PACKAGE_LIBMICROHTTPD
 
comment "REST transport needs a toolchain w/ threads"
   depends on !BR2_TOOLCHAIN_HAS_THREADS
 
config BR2_PACKAGE_JANUS_UNIX_SOCKETS
   bool "Unix Sockets"
   default y
 
config BR2_PACKAGE_JANUS_WEBSOCKETS
   bool "WebSockets"
   depends on BR2_USE_MMU
   select BR2_PACKAGE_LIBWEBSOCKETS
 
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