With the advent of the Internet users and the mobile phone browser users increasing, studying networking phone based on Web has a very big market. The interaction of signaling and media data is achieved browers users installed the plug-in unit of Flash and the sip users.The Flash phone client supports web, it accomplishes the soft phone and the function of audio and video communication.it does not require users to install some software products, so it reduces the difficulty of using.Firstly, the key technologies in the process of realizing Flash phone client are analysised in detail in the paper.The RTMP protocol used as the commnocation between client and server is studied in depth. The RTMP is Adobe’s proprietary protocol, which can transfer signaling and media data. Signaling includes some command messages, media data includes audio and video data.On the functional requirements of the soft phone system,the entire Flash telephone system is given.Then the system is divided into five modules on demand, there are peripheral frame module, login module, phone module, chat module, audio and video modules. In the peripheral frame module, questions about the loading of the XML file and the design of web interface are solved.Login module is the basis of the system which is mainly used to complete the process that is user registers to the SIP server.Phone module includes call and callee, the function of calling to other user is achieved in the call and the function of answering the phone is achieved in the callee.Chat module’s main function is the exchange of text messages between users. Audio and video module is the core module of the whole system.In the module, the function of the communication through audio and video between users is achieved.The audio codec is the same as the sip client, thereby the burden on server is reduced and the real time is improved. In order to handle the received events better and make the code of client orderly, the Cairngorm framework is added to the implemention of system.All the functional parameters of the basic performance are tested and analyzed in the last. The test for system indicates that the function of phone is achived and the communication of text information is achieved and the communication of audio/video is achived well. |