The design and Realization of the system of Android based on mobile VoIP HD video call

Author
CaoJianLong
Advisor
GuoZuo , WuYiFei , YuZhou
School
Nanjing University of Technology and Engineering
Major
Control Engineering
Classification
TN929.5 Mobile Communications
Degree
Master's thesis
Year
2013
Downloads
319
Citations
0

Request the full text

Abstract

With the development of mobile networks and the popularity of smart phone in recent years, VoIP services which based on smart operation system(OS) are gaining increasing concern by many carriers and corporations. Compared with traditional VoIP services, mobile VoIP in support of smart mobile terminal, could provide more complex multimedia services, users also want to enjoy the convenience and fun services like smooth video, instant messaging, Hi-Fi calls, etc. Therefore, in view of the current demand, the study of VoIP applications based on smart OS has a very important significance.An Android VoIP application of high-definition video phone is designed and imple-mented, the application supports instant messaging(IM), online notification Hi-Fi voice calls, HD video, and contacts. With the Android application development technology, system is in collaboration with a variety of network protocols; supports a variety of speech coding standard and H.264video coding standard; deals with the voice problems caused by characteristics of wireless network to assure good voice quality; designs a beautiful user interface with the consideration of user experience and habits of operation.The SIP Stack Android built in hasn’t open enough interface for development, so the third-party SIP stack Jain-Sip has been transplanted and helps to implement IM, video phone and other scalable SIP service with its full interface for sip service.To cancel the acoustic echo in IP phone, Speex Echo Cancellation(EC) Library has been transplanted and uses prefetch with the Android NDK technology. To make play and record thread be synchronized, a prefech variable method is taken and enhances the EC effect.Based on the research of video encode/decode solutions, with the help of Android OpenCore media framework and UNIX domain protocol socket, the H.264data which encoded by hardware could be captured in consideration of high power consumption and more CPU resources occupation by software encode. As for video decoder, the tailored FFmpeg library has been transplanted to decode video by H.264codec.Application has reached the aim of wireless real-time HD video call and also has a good test report at packet loss rate, voice quality, video fluency, etc. The design of the application could be a reference for other Android VoIP application developers.

Table of contents

Summary 3-4 Abstract 4-8 1 Introduction 8-14 1.1 Background and Significance 8-10 1.2 development home and abroad 10-11 1.3 The main work 11-12 1.4 papers structural arrangements 12-14 2 HD video calls mobile VoIP technology and protocol analysis system critical 14-28 2.1 Android application development technology 14-17 2.1.1 Android system framework 14 - 15 2.1.2 Android application development 15-16 2.1.3 Ubuntu system deployment Android development environment 16-17 network communication protocol analysis system uses 2.2 17-23 2.2.1 session Initiation Protocol SIP 17-19 2.2.2 session Description Protocol SDP protocol 19 2.2.3 Real-time transport Protocol RTP 19-20 2.2.4 Real Time Streaming Protocol RTSP 20-21 2.2.5 NAT traversal protocol STUN 21-22 <br / > 2.2.6 online notification protocol ONP multimedia codecs 22-23 2.3 system using standard analytical 23-28 2.3.1 voice codec technology 23-24 2.3.2 video codec technology 24-25 2.3.3 narrowband speech coding standard G.711 25 2.3.4 wideband speech coding standard G.722 25 2.3.5 open source speech coding standard Speex 25 2.3.6 HD video coding standard H.264 25-28 <br / > 3 mobile VoIP HD video calling system design 28-34 3.1 system functional requirements 28-29 3.2 overall system design 29-31 <br / > 3.2.1 user Interface 29-30 3.2.2 core control 30 3.2.3 service 30-31 3.2.4 voice quality assurance 31 3.3 difficult issues analysis 31-34 3.3.1 SIP protocol stack solutions 31-32 3.3.2 echo cancellation solution 32 3.3.3 video Codec program 4 video calls mobile VoIP subsystem design and implementation nbsp 32-34 ; 34-58 4.1 users design and implementation of the interface 34-38 4.1.1 based ActionBar title bar design 34-36 4.1.2 ListFragment contacts based interface design 36-37 4.1.3 Fragment -based multi- session interface design 37-38 4.1.4 landing and set the interface design 38 4.2 core control unit design and Implementation 38-40 4.2.1 core engine 39-40 4.2.2 messaging mechanism 40 4.3 underlying service module design and implementation 40-58 4.3.1 session Control module 41-43 4.3.2 live streaming module 43-44 4.3. 3 NAT traversal module 44-46 4.3.4 online notification module 46-48 4.3.5 database module 48-49 4.3. 6 speech coding module 49-52 4.3.7 H.264 encoding module 52-55 4.3.8 H.264 decoding module 55-57 4.3.9 video display module 57-58 5 mobile video call VoIP voice quality assurance system design 58-64 5.1 mobile VoIP in the factors affecting voice quality 58 5.2 silence detection 58-59 5.3 loss treatment 59-61 5.4 echo cancellation 61-64 <br / > 5.4.1 echo problem 61-62 5.4.2 Speex -based echo cancellation to achieve 62-64 6 system debugging and testing 64-72 nbsp 6.1 test environment ; 64-65 6.2 functional Test 65-68 6.3 performance test 68-72 7 summary and Outlook 72-74 Thanks 74-76 References 76-78

Related dissertations

  1. Design and Implementation of Voice and Video Communication System in the Elderly Community Based on Android
    HuFen ·Wuhan University of Technology ·2012 ·Master's thesis
  2. The Study and Implementation of an Android Voip Voice Terminal Based on SIP
    LinHui ·South China University of Technology ·2012 ·Master's thesis
  3. The Design and Implementation of Video Phone Based on SIP Protocol
  4. Research and Implementation of IP Phone Based on SIP
    GaoWei ·Southwest Jiaotong University ·2007 ·Master's thesis
  5. Design and implementation of Android system based on mobile phone video calling software
    LiuJia ·Northwestern University ·2013 ·Master's thesis
  6. The Design and Development of Distributed Call Centerbased on VOIP
    MengXianXing ·Shandong University ·2013 ·Master's thesis
  7. Design of Remote Mobile Video Monitoring System
  8. Remote Video Monitoring System Based on RTP and H.264Technology
  9. The Research of Intelligent Mobile Phone Video Surveillance System Based on3G Network
    LiuShuangLin ·Ningxia University ·2014 ·Master's thesis
  10. The Design and Implementation of Voice Communication Subsystem of Mesh Emergency Network in Mines
    ZhangJiangGui ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. The Design and Implementation of Screen Sharing System Based on Android Terminal
  12. The Design and Implementation of the Wireless Transmission System for H264Video Based on Android
    Zhou ·Anhui University ·2014 ·Master's thesis
  13. Research and Implementation of SIP Protocol Based on Android Operation System
    HeZuoYi ·Hunan University ·2013 ·Master's thesis
  14. Research and Realization of Embedded VOIP Terminal Based on the SIP Protocol
    ChenZuo ·Hubei University of Technology ·2013 ·Master's thesis
  15. Research of Android and SIP Based Softphone System
    ChenKeWen ·South China University of Technology ·2013 ·Master's thesis
  16. The design of mobile real-time monitoring system based on Android platform
    XiaoFangYang ·Jiangxi University of Technology ·2012 ·Master's thesis
  17. Design and Implementation of Network Video Surveillance Terminal Based on DM365
    DaiPengJun ·Zhejiang University of Technology ·2012 ·Master's thesis
  18. Design and Implementation of Mobile Video Surveillance System
    ZuoWei ·Zhejiang University of Technology ·2012 ·Master's thesis
  19. Design and Implementation of UC Client Platform Based on SIP and XMPP Protocol
  20. Design and Realization of High-definition Video Surveillance System Based on Session Initiation Protocol