mostly Red5 corrections.
Red5 doco.