You can use any database and backend. All you need for video chatting is to exchange identities using a webservice that spits out xml.
Download the sample application
In it you will find a python cgi script. The script is self explanatory on how to configure a web service. It uses SQLite but you can use mysql or any other database.