Android SIP/VoIP - No Sound



  • 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

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.