| With the development of technology computer network,people rise the requirement of multime dia information communication to a new standard-real time. From now on, there are mainly two im plementations of the real-time multimedia communication, one is web implementation, the other is client implementation.For the real time communication apps which run on the web,both sides of co mmunication must first installed in the browser plug-ins such as Adobe Flash, Microsoft Sliverlight.Except for the installation and update of inconvenience, the develpoer need to develop the plug-ins and build different versions for different browsers and perating system.For the real time co mmunication apps which run on the client,the developer neet to consider different platforms when d esign the sofeware,and different platform software generally can’t communicate with each other.Suc h as the users of QQ can’t communication with the users of MSM.The communicating parties need t o install the same software,the real time communication apps which run on the client uses a private agreement.WebRTC the real-time communication network technology based Web which has changed the situation. Developers can develop plentiful multimedia applications based browsers without plug-in,and pay no attention to audio and video capturing, encoding and decoding digital signal processing.Developers only need to write a simple Javascript programs.This thesis focuses on the research of WebRTC framework and WebRTC API, and introduced the interface technology, such as Media Stream, RTC Peer Connection, RTC Data Channel and so on. Using these communication technologies, this paper expounds how to get the local lossless audio and video streaming, and how to display on the page real-timely. This paper presents an audio and video chat system, and deploys in the Node.js development platform. At the same time, using WebRTC and WebSocket technology establishes a chat room that runs on the web browser and does not rely on plug-ins. This chat room can support the transmission of text messages, file sharing,video data, audio data and other functions, it also can meet the needs of Online education, video entertainment, business office and so on. |