JS + Nástroj Flash Webcam detekce

Seznam a webové kamery a mikrofonu přítomnost lze zjistit před načtením komplexní videokonference rozhraní.

To lze provést s JavaScript a malé flash swf (méně než 1kb).

 

Ukázka:

JS + Nástroj Flash Webcam detekce

 

Zobrazit demo zdroj stránky plné JS kód a odkaz na nástroj swf.

Red5 Linux Server optimalizace a nástroje

Some java optimizations to add in red5.sh :

export JAVA_OPTS=”-Xrs -Xms128M -Xmx256M -Dsun.rmi.dgc.client.gcInterval=300000 -Dsun.rmi.dgc.server.gcInterval=360000 -Djava.net.preferIPv4Stack=true -XX:+ExplicitGCInvokesConcurrent -XX:+UseConcMarkSweepGC -Xverify:žádný”

Assuming red5 was installed in /opt/red5/dist admin will often need to restart it or check if it’s running.

Make sure Red5 restarts: restart.sh

#!/bin/bash
#Restart the process
#First see if running
PID=`ps -eo ‘tty pid args’ | grep ‘red5’ | grep -v grep | grep -v restart | tr -s ‘ ‘ | cut -f2 -d‘`
CD /opt/red5/dist
Pokud [ -z “$PID” ]
pak
#not running
ozvěna “Red5 was not running at `date`” >> /opt/red5/dist/run-restart.log
jinak
ozvěna “Red5: $PID”
#shutdown
/opt/red5/dist/red5-shutdown.sh
sleep 6
#Zjisti
kill $PID >> null
sleep 2
Fi
#začátek
/opt/Red5/DIST/Red5.sh >> /opt/red5/dist/red5.log &
ozvěna “On request restarted Red5 at `date`” >> /opt/red5/dist/run-restart.log

Mare sure Red5 process is running, if not start it: running.sh

#!/bin/bash
#set environment
PID=`ps -eo ‘tty pid args’ | grep ‘red5’ | grep -v grep | grep -v running | tr -s ‘ ‘ | cut -f2 -d‘`
Pokud [ -z “$PID” ]
pak
#Restart the process
CD /opt/red5/dist
/opt/Red5/DIST/Red5.sh >> /opt/red5/dist/red5.log &
ozvěna “Restarted Red5 at `date`” >> /opt/red5/dist/run-restart.log
jinak
#do nothing
ozvěna “Red5 is already running with PID=$PID at `date`” >> /opt/red5/dist/run-checked.log
Fi

Red5 služby
Red5 Hosting
Instalace Red5 na VPS & Dedikované servery (Linux / Systém Windows)