Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android SIP/VoIP - No Sound
Forum Updated to NodeBB v4.3 + New Features

Android SIP/VoIP - No Sound

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • metaDomM Offline
    metaDomM Offline
    metaDom
    wrote on last edited by
    #1

    Hi guys,

    I'm using the following native Android code to register a SIP profile on a server and then initiate an audio call. After registration, the call is successfully started and the other client hears the "ring". Sadly there is no sound output on both sides for some reason, any suggestions are welcome:

    Code:
    "Java Code":http://pastebin.com/wHKEBpMG

    Permissions:
    @ <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.USE_SIP"/>
    <uses-permission android:name="android.permission.CONFIGURE_SIP" />
    <uses-permission android:name="android.permission.CALL_PHONE"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-feature android:name="android.hardware.sip.voip" android:required="true"/>
    <uses-feature android:name="android.hardware.wifi" android:required="true"/>
    <uses-feature android:name="android.hardware.microphone" android:required="true"/>
    <uses-feature android:name="android.software.sip" android:required="true" />
    <uses-feature android:name="android.software.sip.voip" android:required="true" />
    <uses-feature android:name="android.hardware.telephony" android:required="false" />@

    1. The code is tested and working on a Nexus5, but on a Galaxy Tab 2 (3G version), it fails. Here aswell, any suggestions are welcome :)

    Thanks in advance and best regards,

    • Dom
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved