How configure to handle *30 simultaneous clients* for 2 hours? (online class!)
motion worked great. I love it. I just had a question about optimization. I'd like to use it to teach an online class and have 30 remote clients see my face for 2 hours. I have a laptop with a DSL connection that has 512kpbs max upload rate. I noticed that even having 2 simultaneous clients bogs down my laptop! Someone mentioned using a "Squid cache" but I have no experience with that. I don't know if that will scale to 30 clients. I also have another server I can use to assist but don't know how to outsource the work to that remote server.
I have no experience scaling video to so many clients. Any advice you have would be greatly appreciated.
Hopefully I won't need to purchase 10 remote servers to do this?
Thanks in advance.
Dr. Chris Seberino
P.S. I tried to lower quality of video in my motion.conf below but I doubt that is enough to solve this problem. Any motion.conf advice also appreciated.
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql
| Server OS:
|| Ubuntu 9.04, kernel 2.6.28-17-generic
- 07 Jan 2010
Do you need motion detection or only a streaming solution ?!
If you need only a streaming solution probably is not a good idea use motion but you can use with help of relay :
you ---> your laptop running motion <--------> other computer running apache with mjpegProxyGrab <--- DSL router ---> Clients
You should remove ( disable ) all motion detection , image recording, video recording : despeckle , ffmpeg_cap_new off , ï»¿output_normal off
Increase ï»¿webcam_maxrate to 10 or so and you have to disable motion detection from web ui or console :
- 09 Jan 2010