資源描述:
《基于rtp的linux實(shí)時語音通信系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、畢業(yè)論文(設(shè)計(jì))題目:基于RTP的linux實(shí)時語音通信系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)II摘要隨著信息社會的高速發(fā)展,Internet已經(jīng)成為很多人生活不可缺少的一部分。當(dāng)前Internet中流動的“比特”所代表的內(nèi)容已從原來的數(shù)據(jù)逐漸向?qū)崟r多媒體數(shù)據(jù)演變,它們的特點(diǎn)是對實(shí)時性要求非常高。但是,Internet是建立在TCP/IP之上的計(jì)算機(jī)網(wǎng)絡(luò),最初設(shè)計(jì)時的定位決定了它不適合實(shí)時數(shù)據(jù)的傳輸。因此,1996年1月IETF音視頻傳輸工作頒布了針對實(shí)時應(yīng)用的實(shí)時傳輸協(xié)議RTP/RTCP。RTP/RTCP使Internet從理論上具備了處理實(shí)時業(yè)務(wù)的能力,解決了媒體同步問題和滿足了多媒體通信業(yè)務(wù)
2、的要求,現(xiàn)在在IP電話、網(wǎng)絡(luò)多媒體會議、遠(yuǎn)程網(wǎng)絡(luò)教學(xué)和遠(yuǎn)程網(wǎng)絡(luò)診斷等領(lǐng)域都有著重大的應(yīng)用。本文結(jié)合RTP/RTCP高實(shí)時性的特點(diǎn),主要針對局域網(wǎng),提出了音頻數(shù)據(jù)采用G729a壓縮,傳輸數(shù)據(jù)采用ortp庫,在linux平臺下開發(fā)的實(shí)時語音通信系統(tǒng)。本文首先介紹了實(shí)時傳輸協(xié)議的簡單應(yīng)用后,詳細(xì)分析了RTP/RTCP協(xié)議;接著介紹系統(tǒng)的具體實(shí)現(xiàn),主要分三個部分:音頻數(shù)據(jù)的采集和播放,音頻數(shù)據(jù)的解碼和編碼以及音頻數(shù)據(jù)包的發(fā)送和接收。最后簡單闡述了本系統(tǒng)在其他領(lǐng)域的可擴(kuò)展性及前景。【關(guān)鍵詞】實(shí)時性,音頻傳輸,RTP/RTCP,音頻壓縮IIAbstractWiththerapiddeve
3、lopmentofinformationsociety,theInternethasbecomeanindispensablepartofalotofpeoplelife.ThecurrentflowsthroughtheInternet"bits"representedbythecontentsofwhichhavebeengraduallyfromtheoriginaldatatoreal-timemultimediadata,thecharacteristicofthemisveryhighdemandforreal-time.However,theInternetis
4、basedonTCP/IPcomputernetworks,theinitialdesignoflocationdeterminesitisnotsuitableforreal-timedatatransmission.Therefore,IETFaudioandvideotransmissionworkinJanuary1996issuedforreal-timeapplicationofreal-timetransmissionprotocolRTP/RTCP.RTP/RTCPmakeInternettheoreticallywiththereal-timeability
5、ofthebusiness,themediasynchronizationproblemsandmeettherequirementsofthemultimediacommunicationservice,theIPtelephone,network,multimediaconference,remotenetworkteachingandremotediagnosis,etcallhaveimportantapplications.Inthispaper,combiningwiththecharacteristicsofRTP/RTCPhighreal-timeperfor
6、mance,mainlyforlocalareanetwork(LAN),isputforwardusingG729aaudiodatacompression,datatransmissionusingortplibrary,developmentofreal-timevoicecommunicationsystemontheLinuxplatform.Thispaperfirstintroducesthesimpleapplicationofreal-timetransportprotocol,RTP/RTCPprotocolareanalyzedindetail.Then
7、thispaperintroducestheimplementationofsystem,mainlydividedintothreeparts:audiodataacquisitionandplayback,audiodatadecodingandencodingandaudiopacketssentandreceived.Thelastsimplyexpoundsthesystemscalabilityandprospectsinotherareas.【Keywords】Realtimeaudiot