Code example for SipAudioCall

Methods: setSpeakerModestartAudio

0
					callStartTime = new Date().getTime();
					 
					timer = new Timer();
					timer.scheduleAtFixedRate(new CallTimeTask(), 10000, 10000); 
					 
					call.startAudio();
					call.setSpeakerMode(true);
				} 
 
				@Override 
				public void onCallEnded (SipAudioCall call) {
					Log.e("SIP", "onCallEnded");
					 
					if (mProximityWakeLock.isHeld()) {
						mProximityWakeLock.release();
					} 
					 
					timer.cancel();
					 
					handler.post(new Runnable(){
Contextual code suggestions in your IDE  Get Codota for Java