I’m using janus for SIP audio calls only, which works fine…
In the server logs i see thta janus is trying to load all plugins.
But which plugins should be used in a SIP audio call only scenario? (besides the wss and https ofcourse)
Thanks!
I’m using janus for SIP audio calls only, which works fine…
In the server logs i see thta janus is trying to load all plugins.
But which plugins should be used in a SIP audio call only scenario? (besides the wss and https ofcourse)
Thanks!
The AudioBridge plugin has nothing to do with the SIP plugin: each plugin is completely independent of each other. If you only use the SIP plugin, you can disable all others. If you do see others at startup, it means you compiled all of them (you didn’t disable them in the configure script), and so the core finds them and loads them: you can still prevent them from loading by editing the janus.jcfg configuration file (see towards the end).
Edit: of course, by “disable all others” I mean media plugins: as you pointed out, you still need the HTTP and/or WS transport plugins enabled.
Thanks Lorenzo,
i used this now:
./configure --prefix=/opt/janus --disable-rabbitmq --disable-mqtt --disable-unix-sockets --disable-plugin-echotest --disable-plugin-audiobridge --disable-plugin-recordplay --disable-plugin-nosip --disable-plugin-streaming --disable-plugin-textroom --disable-plugin-videocall --disable-plugin-videoroom
results in:
Compiler: gcc
libsrtp version: 2.x
SSL/crypto library: OpenSSL
DTLS set-timeout: not available
Mutex implementation: GMutex (native futex on Linux)
DataChannels support: no
Recordings post-processor: no
TURN REST API client: yes
Doxygen documentation: no
Transports:
REST (HTTP/HTTPS): yes
WebSockets: yes
RabbitMQ: no
MQTT: no
Unix Sockets: no
Nanomsg: no
Plugins:
Echo Test: no
Streaming: no
Video Call: no
SIP Gateway: yes
NoSIP (RTP Bridge): no
Audio Bridge: no
Video Room: no
Record&Play: no
Text Room: no
Lua Interpreter: no
Duktape Interpreter: no
Event handlers:
Sample event handler: yes
WebSocket ev. handler: yes
RabbitMQ event handler:no
MQTT event handler: no
Nanomsg event handler: no
GELF event handler: yes
External loggers:
JSON file logger: no
JavaScript modules: no
Can i also disable the 3 event handlers?
so i’ve disabled the event handlers (rtfm)…
./configure --prefix=/opt/janus --disable-rabbitmq --disable-mqtt --disable-unix-sockets --disable-plugin-echotest --disable-plugin-audiobridge --disable-plugin-recordplay --disable-plugin-nosip --disable-plugin-streaming --disable-plugin-textroom --disable-plugin-videocall --disable-plugin-videoroom --disable-websockets-event-handler --disable-mqtt-event-handler --disable-rabbitmq-event-handler --disable-sample-event-handler --disable-nanomsg-event-handler --disable-gelf-event-handler
i love the way janus can be configured to it’s absolute minimum.
Notice that if you’re installing in the same folder as before, the plugins that were there before will not be removed, it’s up to you to clean those up in case.
PS: there’s also --disable-all-plugins --disable-all-transports --disable-all-handlers as a shortcut, so that you can disable everything and then only enable what you want (e.g., --enable-plugin-sip --enable-rest --enable-websockets)
Thanks, next i build it i wil use these shortcuts. I also found out that, as you mentioned, a cleanup of the folders was needed.