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