Thursday, 11 August 2016

Linphone Customization Android & iOS

Linphone is an open source SIP Phone, available on mobile and desktop environments (iOS, Android, Windows Phone 8, Linux, Windows Desktop, MAC OSX) and on web browsers.







Linphone has inside a separation between the user interfaces and the core engine, allowing to create various kinds of user interface on top of the same functionalities.
  • The user interface frontends:
    • Gtk+ interface for windows, mac and linux
    • The console interface (linphonec, linphonecsh)
    • The iPhone application built in objective C
    • The Android application running in java
    • The Windows Phone application written in C#
  • Liblinphone, the core engine: this is the library that implements all the functionalities of Linphone.
    Liblinphone is a powerful SIP VoIP video SDK that anyone can use to add audio or video call capabilities to an application. It provides a high level api to initiate, receive, terminate audio & video calls.
  • Liblinphone relies on the following software components:
    • Mediastreamer2, a powerful multimedia SDK to make audio/video streaming and processing.
    • oRTP, a simple RTP library.
    • belle-sip the SIP library.
    Liblinphone and all its dependencies are written in pure C.

  • Mobile versions

           COMMON FEATURES

                     Main features:
    • Audio & video calls
    • Multiple calls management
    • Call transfer, pause and resume
    • Audio conferencing (merge calls into a conference)
    • Instant Messaging
    • Pictures and files sharing
    • Address Book
    • Call History
    • Display of advanced call statistics
    • Echo Cancellation
    • Quality of Service
    • Secure communications: zRTP, TLS, SRTP
    • Bluetooth headset support
    • Languages: English, French, Japanese, Arabic
    • Account creation assistant
    • Dedicated tablet user interface
                  Advanced features:
      • Audio codecs:  OPUS, SILK, SPEEX, G722, AMR-WB (G722.2), GSM 6.10, AMR-NB, ILBC, G729, G711
      • Video codecs: VP8, H264, MPEG4
      • HD video support
      • Integration with push notification (requires compatible SIP server, linphone.org sip service has push enabled)
      • ICE support (RFC5246) to allow peer to peer audio & video connections without media relay server
      • Low bandwidth mode for audio calls over 2G networks

    • ANDROID ADDITIONAL FEATURES

      • Multiple SIP accounts support
      • ARM v5 to v7, x86 support
      • Android 4 to 6 support (32 and 64 bits)
      • AAC-ELD support

    • IOS ADDITIONAL FEATURES

      • Xcode 7/ iOS 6 to 9 Support
      • ARM v7 and ARM64 Support
      • Blind Accessibility
      • AAC-ELD Support

How to import Linphone source code in Android-Studio

Step 1 :Click on file menu -> New -> Import Project

Step 2 :Select linphone source code folder and click on button
             Gradle Sync Issue.

Click on fix plugin version and sync project
Step 3 :Click Run button 

Step 4 :Waiting for adb

Step 5 :Choose a running device and click on Ok button