Should I leave Janus running or kill it when I'm not using it?

32 views
Skip to first unread message

my.am...@gmail.com

unread,
Apr 9, 2017, 9:04:51 PM4/9/17
to meetecho-janus
Hi all,

I have a potentially silly question..

I have bought a new Linode server which has NGinx on it. Right now, when I want to start a video stream, I run 1) the gstreamer commands on my Raspberry Pi 2) run '/opt/janus/bin/janus -F /opt/janus/etc/janus' on the server. 

When I'm finished streaming, I kill both processes.

For simplicity's sake, I'd rather keep the process '/opt/janus/bin/janus -F /opt/janus/etc/janus' running indefinitely, and just start/stop the gstreamer command on my Pi when I wanted to turn the stream on and off. 

Would it be costly on my server to have Janus running all the time? Is it best practice to run Janus only when needed?

-C

Mirko Brankovic

unread,
Apr 10, 2017, 3:19:52 AM4/10/17
to meetecho-janus
I guess it depends on the project, but if you don't need it and you manage to control it from application then i guess it is ok.
Make sure you disable all plugins and transports you don't use, and that will speed up startup quite much

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages