Font Size: a A A

WebRTC-based Instant Messaging System Research And Implementation

Posted on:2020-10-23Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhangFull Text:PDF
GTID:2428330590483226Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the continuous development of science and technology,the continuous improvement of Internet communication technology,instant messaging has also produced a variety of forms,and our methods and requirements for communication technology have become higher and higher,and the original communication methods have also reached Not our request.The development of the web-based instant messaging system can adapt to more communication environments,and can provide users with a better communication experience,while reducing development costs and meeting current market demands.This paper proposes a cross-platform instant messaging system based on WebRTC.The server uses Node.js for development.The front-end page is displayed with HTML5 + JavaScript.WebSocket is used for information communication,and user information is stored in MySQL.The system provides various communication modes such as text communication,audio communication,video communication,conference mode,etc.,which can meet most communication requirements,and adopts a simple implementation process,which can be easily integrated into other projects.This paper firstly studies the technical framework and related protocols of WebRTC and Node.js,introduces the differences and commonalities between various signaling mechanisms of WebRTC,and analyzes the advantages and disadvantages.Analyzed the WebRTC module on the audio and video engine.In addition,in order to better adapt to the actual use environment,the communication process is optimized in the project,and the method of first calling and then opening the multimedia collector greatly reduces the pressure on the client during the communication process.At the same time,aiming at the echo cancellation problem of WebRTC in the audio communication process,an echo cancellation method capable of double-end detection is designed.The structure of the dual filter is used to filter the audio and optimize the echo cancellation scheme.Through experimental testing,the instant messaging system can provide stable services,in addition to being able to respond to user requests in a timely manner,and also ensure quality communication.Finally,the original method of WebRTC is compared with this method to verify the feasibility of the system scheme.
Keywords/Search Tags:Instant messaging, WebRTC, Echo cancellation, Web page, Node.js
PDF Full Text Request
Related items