| The traditional Istant Message applications have developed for many years. From the first popular Instant message application ICQ (I Seek You), they have been developing along the way. At first, users chat to each other through plain text, now they chat through audio and video. But these applications are running on a special operation system. If someone wants to use these services, he has to download and install the applciation on a special operating system.With the development of the Web, people want instant messaging software to eliminates the trouble of installing and the restrictions of a specific platform, and have audio and video chat directly on a web page. Today, there are only a few applications that can have web audio and video chat, and they used the browser plug-ins to achieve this. The implementation is neither uniform, nor open.Because of the difficulties and inconveniences for the users and developers, the W3C published a new draft "WebRTC1.0:Real-time Communication Between Browsers" on October27,2011.This draft is part of HTML5standard. This draft defines a series of video conferencing JavaScript programming interface. By calling these standard interfaces, developers can easily develop web-based real-time communications applications.The system in this paper is such a Web real-time communication system that uses the WebRTC standard. It is an early example in this field. It can be used by people for real-time communication conveniently on the web page. It can also used by web real-time communication application developers for reference. It uses the open the XMPP (Extensible Messaging and Presence Protocol) protocol. It uses a widly used XMPP Server, that is Openfire. In the client end, it uses an XMPP library called Strophe.js, combined with the latest HTML5, CSS3and JavaScript technology. Now the system has completed implementing all the basic functions like account managemeng, contacts management, text chat, audio and video chat... |