The xmpp protocol is a good start. There are many server implementations where some support video conferencing. There is a lot of support for various languages, including ruby, java, and even the base implementation for node (http://github.com/astro/node -xmpp) if this is your thing.
http://www.xmpp.org
source share