Design and Implementation of Real-Time Voice Communication System Based on Android
- Author
- ZhuLeiJian
- Advisor
- PengHong
- School
- Zhejiang University of Technology
- Major
- Communication and Information System
- Classification
- TN916.5 Long-distance telephone carrier telephone
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 15
- Citations
- 0
Abstract
In the wired network era, IP phone which took advantage of the technology of VoIP was all the rage. Having the advantage of low price, easy to use and stable performance, it accumulated a large amount of users and even shaked the monopoly of the telecom operators in the telephone business. With the development and popularization of3G technology, the mobile network is to gradually replace the traditional wired network’s status. Compared to IP phones in wired network era, IP phones in wireless network era have a huge advantages, it became IP phones that can be used anywhere getting rid of the shackles of the line.This paper describes the research status and development trend of the speech codec algorithm, explore the advantage of development based on the Android system, and do demand analysis for IP phones in mobile network are on these basis above, design an Android-based real-time voice communication system According to demand analysis, using AudioRecord and Audio Track subclass in Android multimedia framework to implement voice capture and playback capabilities, choosing G711and G729as voice codec standards under WIFI network and3G network respectively, using RTP as transmission protocol for real-time voice data, taking advantage of signaling control function of SIP to simulate call answer and hang up action in traditional telephone system During the actual development process, choosing G711and G729codec lib, Jlibrtp and PJSIP to implement voice codec, RTP data sending and signaling control function. At the same time, using two methods to optimize the implementation of G729algorithm to reduce the CPU utilization rate during the encoding and decoding process. Frist one is to make use of NDK to transplant C lib of G729to replace Java lib, in order to improve the efficiency of the algorithm Second one is to increase the search step of the algorithm, in order to reduce complexity and computation. After actual test, this system can meet the needs of real-time voice communication in aspect of function, cost and performance.
Table of contents
Summary 5-6
ABSTRACT 6-9
Chapter 1 Introduction 1.1 9-16
research background and significance 9
1.2 domestic and foreign research status and trends 9-14
1.2.1 Introduction speech coding 9-11
1.2.2 Status and Trends speech coding 11-12
1.2.3 mobile operating system Introduction 12-14
1.2.4 Android voice development status and trends 14
1.3 of this paper is organized as structure 14-16
Chapter 2 real-time voice communications technologies 16-26
2.1 speech coding technology 16-21
2.1.1 G .711 speech coding standard 16-18
2.1.2 G.729 speech coding standard 18-21
2.2 multimedia communication technology 21-23 <br / > 2.2.1 Real-time transport Protocol 21-22
2.2.2 session Initiation Protocol 22-23
2.3 Android development platform 23-25 ??
2.4 Summary overall program 25-26
Chapter 3 Android real-time voice communication system design 26-41
3.1 Requirements Analysis 26-28 <br / > 3.2 overall scheme introduced 28-29
3.3 mobile terminal 29-31 <br nbsp /> 3.3.1 hardware environment ; 29-30
3.3.2 software environmental 30-31
design nbsp 3.4 signaling communication module ; 31-33
3.4.1 SIP session consisting 31-32
3.4.2 SIP messages 32-33
3.5 voice compression algorithm selection 33-37
3.6 data transfer protocol selection 37-40
3.6.1 TCP protocol and UDP protocols 37-38
3.6.2 RTP / RTCP protocol 38-40
3.7 Summary 40-41
Chapter 4 Android real-time voice communication system voice module 41-57
4.1 capture and playback module 42-51
4.1.1 Android audio System review 42-43
all levels 4.1.2 Audio system 43-44
4.1.3 media library Audio frame part 44-45
4.1.4 capture and playback 45-51
4.2 encoding and decoding module 51-54
4.2.1 G.711 codec 51-52
4.2.2 G. 729 codec 52-54
4.3 transmit and receive modules 54-56
4.3.1 Jlibrtp library About 54
4.3.2 based Jlibrtp the RTP transmission and reception achieve 54-56
4.4 Summary optimize 56-57
Chapter 5 G.729 algorithm implemented on the Android platform 57 -67
5.1 G.729 implementation library optimization 57-61
5.2 G.729 search step optimization 61-66
5.2.1 multi-level search optimization principle 61-62
5.2.2 achieve multi-level search optimization 62
5.2.3 fixed codebook search optimization principle 62-64
5.2 .4 fixed codebook search optimization to achieve 64-66
5.3 summary 66-67
Chapter 6 test , summary and Outlook 67-72 <br / > 6.1 Test 67-70
6.1.1 latency and packet loss rate testing 67-69
6.1.2 CPU occupancy rate test 69-70
6.2 summarizes 70-71
6.3 Prospects 71-72
References 72-74
Thanks 74 - 75
studying for a degree to participate in research projects and achievements during 75
Related dissertations
- Design and Realization of Mobile Video Monitoring System Based on3G
- Design and Implementation of an Intelligent Monitoring System Based on Mobile Platform
- The Design and Implementation of the Wireless Transmission System for H264Video Based on Android
- The Research and Design of Remote Voice Monitoring Terminal Based on BF533
- E2C coding algorithm based VOIP system
- Based the OMAP IP network telephone system
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee