Note that there are some explanatory texts on larger screens.

plurals
  1. PONo audio using native android sip library
    text
    copied!<p>So I'm using the native sip library, and I can connect and register with the server just fine. And when I make the call, it hits a proxy that routes it to a regular phone call, then calls the number inputed. It will connect fine, and the phone on the other end receives the call, but there is no audio. I know the proxy can handle audio because there is an iPhone app hitting the same server and it connects just fine.</p> <p>Here's my code for making the call :</p> <pre><code>public void makeCall(String s) { SipAudioCall.Listener listener = new SipAudioCall.Listener() { @Override public void onCallEstablished(SipAudioCall call) { Log.d(TAG, "Call Established"); call.startAudio(); //I've tried with speaker mode on and off call.setSpeakerMode(true); } @Override public void onCallEnded(SipAudioCall call) { Log.d(TAG, "Call Ended"); } }; if (sipManager != null &amp;&amp; sipProfile != null) { try { Log.d(TAG, "Make call"); sipManager.makeAudioCall(sipProfile.getUriString(), app.sipToUri(s, sipProfile.getProxyAddress()), listener, 30); } catch (SipException e) { e.printStackTrace(); } } } </code></pre> <p>In my manifest I have </p> <pre><code>&lt;uses-permission android:name="android.permission.USE_SIP"/&gt; &lt;uses-permission android:name="android.permission.INTERNET"/&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/&gt; &lt;uses-feature android:name="android.hardware.sip.voip" android:required="true" /&gt; &lt;uses-feature android:name="android.hardware.wifi" android:required="true" /&gt; &lt;uses-feature android:name="android.hardware.microphone" android:required="true" /&gt; </code></pre> <p>And I'm using a sip enabled tablet as well as a sip enabled note 2 to test.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload