Real Time Collaboration 301
By Warren Baird on Sep 17, 2010
As promised, here is some example code showing how to hook up AutoVue's RTC into a portal. The example code here is stock HTML for the portal, plus a python CGI for the launcher - although the launcher is pretty easy, so you should be able to follow it even if you don't understand python.
The usage flow is this:
- The host opens the file they want to collaborate on in AutoVue and starts an RTC session manually
- The host opens the 'Session information' dialog, gets the session id and distributes it to the attendees - over the phone, over IM, email, etc. She also gives them the URL to the server to use - http://rtc.acme.com or something like that.
- The attendees go to the URL, and are prompted for their session ID and user name. They enter the information, and then the launcher CGI script will start AutoVue for them, and automatically connect them to the RTC session.
The login page can be pretty much anything, as long as it has the ability to launch actions. For this example, I'm just going to use stock HTML with a simple form:
<html> <head> <title> Oracle AutoVue Web Conferencing</title> <body> <form id="joinMeeting" name="joinMeeting" style="margin: 0px;" method="post" action="startrtc.py"> Conference ID: <input id="M__Id" class="xh" onkeypress="return _submitOnEnter(event, 'joinMeeting');" name="mID" size="11" type="text"> <br> Name: <input id="M__Idb" class="xh" name="displayName" size="11" type="text"> <br> <input type="submit" value="Join Conference" /> </form> </body>
When the user clicks on 'Join Conference', it'll launch the 'startrtc.py' python script. This creates a block of HTML that will create the AutoVue applet, and register an initialization function called 'joinSession', so that once AutoVue has started up, it'll connect to the RTC Session
If you aren't already familiar with creating an AutoVue applet, I'd recommend that you look in the "Install and Administration" guide for AutoVue - it has more details on the various parameters and how to use them - you will need to fix the classpath and the JVUESERVER url if you want to get this working.
This is a lot more technical than most of our posts - was it useful to you? If you'd like to see more technical content like this, let us know in the comments
Here's the python script to launch AutoVue :